nd          2003/11/23 09:55:56

  Modified:    perl-framework/t/modules autoindex.t
  Log:
  reflect the xhtml bug
  
  Revision  Changes    Path
  1.7       +4 -3      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.6
  retrieving revision 1.7
  diff -u -u -r1.6 -r1.7
  --- autoindex.t       19 Mar 2003 16:41:51 -0000      1.6
  +++ autoindex.t       23 Nov 2003 17:55:56 -0000      1.7
  @@ -24,6 +24,7 @@
   my ($C,$O);
   my $cfg = Apache::Test::config();
   my $have_apache_2 = have_apache 2;
  +my $hr = '<hr>';
   
   my %file =
   (
  @@ -129,7 +130,7 @@
    <body>
   <h1>Index of $uri_prefix</h1>
   HEAD
  -    my $html_foot = "<hr /></pre>\n</body></html>\n";
  +    my $html_foot = "${hr}</pre>\n</body></html>\n";
   
       my $i;
       my $fail = 0;
  @@ -234,9 +235,9 @@
           if ($have_apache_2) {
   
               $html_head .=
  -        "<pre>      <a href=\"?$name_href\">Name</a>                    <a 
href=\"?$date_href\">Last modified</a>      <a href=\"?$size_href\">Size</a>  
<a href=\"?C=D$sep"."O=A\">Description</a><hr />      <a 
href=\"/modules/autoindex/\">Parent Directory</a>                             - 
  \n";
  +        "<pre>      <a href=\"?$name_href\">Name</a>                    <a 
href=\"?$date_href\">Last modified</a>      <a href=\"?$size_href\">Size</a>  
<a href=\"?C=D$sep"."O=A\">Description</a>${hr}      <a 
href=\"/modules/autoindex/\">Parent Directory</a>                             - 
  \n";
    
  -        $html_foot = "<hr /></pre>\n</body></html>\n";
  +        $html_foot = "${hr}</pre>\n</body></html>\n";
   
           } else {
   
  
  
  

Reply via email to