stas 2004/10/28 15:43:22
Modified: perl-framework/Apache-Test Changes perl-framework/Apache-Test/lib/Apache TestConfig.pm Log: launder the right variable: $custom_config_path, thanks geoff! Revision Changes Path 1.191 +3 -0 httpd-test/perl-framework/Apache-Test/Changes Index: Changes =================================================================== RCS file: /home/cvs/httpd-test/perl-framework/Apache-Test/Changes,v retrieving revision 1.190 retrieving revision 1.191 diff -u -u -r1.190 -r1.191 --- Changes 28 Oct 2004 14:33:55 -0000 1.190 +++ Changes 28 Oct 2004 22:43:22 -0000 1.191 @@ -8,6 +8,9 @@ =item 1.16-dev +launder the require()d custom config filename to make -T happy +[Torsten Förtsch <torsten.foertsch gmx.net>] + added Apache::TestRunPHP and Apache::TestConfigPHP classes, which provide a framework for server-side testing via PHP scripts [Geoffrey Young] 1.252 +2 -0 httpd-test/perl-framework/Apache-Test/lib/Apache/TestConfig.pm Index: TestConfig.pm =================================================================== RCS file: /home/cvs/httpd-test/perl-framework/Apache-Test/lib/Apache/TestConfig.pm,v retrieving revision 1.251 retrieving revision 1.252 diff -u -u -r1.251 -r1.252 --- TestConfig.pm 28 Oct 2004 14:33:55 -0000 1.251 +++ TestConfig.pm 28 Oct 2004 22:43:22 -0000 1.252 @@ -2077,6 +2077,8 @@ if (my $custom_config_path = custom_config_path()) { debug "loading custom config data from: '$custom_config_path'"; $custom_config_loaded++; + # launder for -T + ($custom_config_path) = $custom_config_path = ~/^(.*)/; require $custom_config_path; } else {