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 jw...@apache.org on 2002/05/15 01:16:05 UTC

cvs commit: httpd-test/perl-framework/t/apache acceptpathinfo.t

jwoolley    02/05/14 16:16:05

  Modified:    perl-framework/t/apache acceptpathinfo.t
  Log:
  Turns out this is the expected behavior.  Change the test to look for
  the correct behavior.
  
  Revision  Changes    Path
  1.2       +5 -1      httpd-test/perl-framework/t/apache/acceptpathinfo.t
  
  Index: acceptpathinfo.t
  ===================================================================
  RCS file: /home/cvs/httpd-test/perl-framework/t/apache/acceptpathinfo.t,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -d -u -r1.1 -r1.2
  --- acceptpathinfo.t	9 May 2002 09:57:31 -0000	1.1
  +++ acceptpathinfo.t	14 May 2002 23:16:05 -0000	1.2
  @@ -39,7 +39,11 @@
                   $expectedbody = "_\\(none\\)_";
               }
               else {
  -                if ($file ne "/test.sh") {
  +                if ($file eq "") {
  +                    $expectedrc = "404";
  +                    $expectedbody = "Not Found";
  +                }
  +                elsif ($file eq "/index.shtml") {
                       $expectedrc = $tests{$mode}[1];
                       $expectedbody = $tests{$mode}[2];
                   }