> Borked by my own patch. Serves me right. :-)
> I shouldn't have assume $self->{'test'} was a hashref..
>
> Now I guess the other quesiton is what it is now..
blarg, I was just bitten by this. please try this patch and make sure that
whatever you were trying to fix still works.
--Geoff
Index: lib/Apache/TestMM.pm
===================================================================
--- lib/Apache/TestMM.pm (revision 350009)
+++ lib/Apache/TestMM.pm (working copy)
@@ -53,8 +53,13 @@
sub test {
my $self = shift;
my $env = Apache::TestConfig->passenv_makestr();
- my $tests = 'TEST_FILES = ' . (exists $self->{'test'} ? $self->{'test'}->{'TESTS'} : '') . "\n";
+ my $tests = "TEST_FILES =\n";
+
+ if (ref $self && exists $self->{'test'}) {
+ $tests = 'TEST_FILES = ' . $self->{'test'}->{'TESTS'} . "\n";
+ }
+
my $preamble = Apache::TestConfig::WIN32 ? "" : <<EOF;
PASSENV = $env
EOF