httpd-test-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jor...@apache.org
Subject cvs commit: httpd-test/perl-framework/t/apache errordoc.t
Date Fri, 16 Jul 2004 13:51:41 GMT
jorton      2004/07/16 06:51:41

  Modified:    perl-framework/t/apache errordoc.t
  Log:
  Only test for "ErrorDocument default" in 2.0.51 and later.
  
  Revision  Changes    Path
  1.4       +2 -1      httpd-test/perl-framework/t/apache/errordoc.t
  
  Index: errordoc.t
  ===================================================================
  RCS file: /home/cvs/httpd-test/perl-framework/t/apache/errordoc.t,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -d -w -u -r1.3 -r1.4
  --- errordoc.t	12 Jul 2004 17:03:49 -0000	1.3
  +++ errordoc.t	16 Jul 2004 13:51:41 -0000	1.4
  @@ -59,7 +59,8 @@
                '/redefine/notfound.html code');
   
       # 1.3 requires quotes for hard-coded messages
  -    my $expected = have_apache(2) ? qr/Not Found/ : 
  +    my $expected = have_min_apache_version('2.0.51') ? qr/Not Found/ :
  +                   have_apache(2)                    ? 'default'     : 
                      qr/Additionally, a 500/;
   
       ok t_cmp($content,
  
  
  

Mime
View raw message