nd 2004/01/11 16:35:14
Modified: perl-framework/t/modules autoindex.t Log: "fix" tests for mod_autoindex 1.3 and 2.0 Revision Changes Path 1.8 +2 -1 httpd-test/perl-framework/t/modules/autoindex.t Index: autoindex.t =================================================================== RCS file: /home/cvs/httpd-test/perl-framework/t/modules/autoindex.t,v retrieving revision 1.7 retrieving revision 1.8 diff -u -u -r1.7 -r1.8 --- autoindex.t 23 Nov 2003 17:55:56 -0000 1.7 +++ autoindex.t 12 Jan 2004 00:35:14 -0000 1.8 @@ -24,7 +24,8 @@ my ($C,$O); my $cfg = Apache::Test::config(); my $have_apache_2 = have_apache 2; -my $hr = '<hr>'; +my $have_apache_21 = have_min_apache_version "2.1.0"; +my $hr = $have_apache_21 ? '<hr>' : '<hr />'; my %file = (
