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 st...@apache.org on 2003/11/24 09:41:05 UTC

cvs commit: httpd-test/perl-framework/t/modules cgi.t

stas        2003/11/24 00:41:05

  Modified:    perl-framework/t/modules cgi.t
  Added:       perl-framework/t/htdocs/modules/cgi nph-test.pl
  Log:
  writing a test for PR24501: seems to work just fine
  
  Revision  Changes    Path
  1.1                  httpd-test/perl-framework/t/htdocs/modules/cgi/nph-test.pl
  
  Index: nph-test.pl
  ===================================================================
  #!/home/stas/perl/5.8.1-ithread/bin/perl5.8.1
  # WARNING: this file is generated, do not edit
  # 01: Apache-Test/lib/Apache/TestConfig.pm:743
  # 02: Apache-Test/lib/Apache/TestConfig.pm:821
  # 03: Apache-Test/lib/Apache/TestMM.pm:92
  # 04: Makefile.PL:26
  
  BEGIN { eval { require blib; } }
  
  %Apache::TestConfig::Argv = qw(apxs /home/stas/httpd/prefork/bin/apxs);
  print "HTTP/1.0 200 OK\r\n";
  print join("\n",
       'Content-type: text/html',
       'Pragma: no-cache',
       'Cache-control: must-revalidate, no-cache, no-store',
       'Expires: -1',
       "\n");
  
  print "ok\n";
  
  
  
  1.13      +4 -0      httpd-test/perl-framework/t/modules/cgi.t
  
  Index: cgi.t
  ===================================================================
  RCS file: /home/cvs/httpd-test/perl-framework/t/modules/cgi.t,v
  retrieving revision 1.12
  retrieving revision 1.13
  diff -u -u -r1.12 -r1.13
  --- cgi.t	22 Apr 2002 07:57:37 -0000	1.12
  +++ cgi.t	24 Nov 2003 08:41:05 -0000	1.13
  @@ -35,6 +35,10 @@
           'rc' => 500,
           'expect' => 'none'
       },
  +    'nph-test.pl' => {
  +        'rc' => 200,
  +        'expect' => 'ok'
  +    },
       'sh.sh' => {
           'rc' => 200,
           'expect' => 'sh cgi'