You are viewing a plain text version of this content. The canonical link for it is here.
Posted to test-cvs@httpd.apache.org by st...@apache.org on 2004/03/10 08:09:24 UTC
cvs commit: httpd-test/perl-framework/Apache-Test/lib/Apache TestRun.pm
stas 2004/03/09 23:09:24
Modified: perl-framework/Apache-Test/lib/Apache TestRun.pm
Log:
restore %INC before returning
Revision Changes Path
1.159 +1 -1 httpd-test/perl-framework/Apache-Test/lib/Apache/TestRun.pm
Index: TestRun.pm
===================================================================
RCS file: /home/cvs/httpd-test/perl-framework/Apache-Test/lib/Apache/TestRun.pm,v
retrieving revision 1.158
retrieving revision 1.159
diff -u -u -r1.158 -r1.159
--- TestRun.pm 10 Mar 2004 07:03:30 -0000 1.158
+++ TestRun.pm 10 Mar 2004 07:09:24 -0000 1.159
@@ -741,10 +741,10 @@
my %inc = %INC;
eval { require "$config_file" };
+ %INC = %inc; # be stealth
warn($@), return if $@;
my $cfg = 'apache_test_config'->new;
- %INC = %inc; # be stealth
# if the top_dir from saved config doesn't match the current
# top_dir, that means that the whole project was relocated to a