geoff 2004/06/01 11:21:11
Modified: perl-framework/Apache-Test/lib/Apache Test.pm
Log:
reset @SkipReasons when exiting. otherwise, @SkipReasons will bleed into
the next call, which goes unnoticed most of the time but is readily apparent
if two tests that call under_construction() are next to eachother
Revision Changes Path
1.83 +1 -0 httpd-test/perl-framework/Apache-Test/lib/Apache/Test.pm
Index: Test.pm
===================================================================
RCS file: /home/cvs/httpd-test/perl-framework/Apache-Test/lib/Apache/Test.pm,v
retrieving revision 1.82
retrieving revision 1.83
diff -u -r1.82 -r1.83
--- Test.pm 27 May 2004 17:12:57 -0000 1.82
+++ Test.pm 1 Jun 2004 18:21:11 -0000 1.83
@@ -165,6 +165,7 @@
my $reason = join ', ',
@SkipReasons ? @SkipReasons : "no reason given";
print "1..0 # skipped: $reason\n";
+ @SkipReasons = (); # reset
exit; #XXX: Apache->exit
}
}