httpd-test-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jor...@apache.org
Subject svn commit: r124158 - in httpd/test/trunk/perl-framework/t: conf htdocs/php htdocs/php/multiviews php
Date Tue, 04 Jan 2005 21:21:51 GMT
Author: jorton
Date: Tue Jan  4 13:21:51 2005
New Revision: 124158

URL: http://svn.apache.org/viewcvs?view=rev&rev=124158
Log:
Regression test for http://bugs.php.net/bug.php?id=30446

Added:
   httpd/test/trunk/perl-framework/t/htdocs/php/multiviews/
   httpd/test/trunk/perl-framework/t/htdocs/php/multiviews/file.html
   httpd/test/trunk/perl-framework/t/htdocs/php/virtual.php
   httpd/test/trunk/perl-framework/t/php/virtual.t
Modified:
   httpd/test/trunk/perl-framework/t/conf/extra.conf.in

Modified: httpd/test/trunk/perl-framework/t/conf/extra.conf.in
Url: http://svn.apache.org/viewcvs/httpd/test/trunk/perl-framework/t/conf/extra.conf.in?view=diff&rev=124158&p1=httpd/test/trunk/perl-framework/t/conf/extra.conf.in&r1=124157&p2=httpd/test/trunk/perl-framework/t/conf/extra.conf.in&r2=124158
==============================================================================
--- httpd/test/trunk/perl-framework/t/conf/extra.conf.in	(original)
+++ httpd/test/trunk/perl-framework/t/conf/extra.conf.in	Tue Jan  4 13:21:51 2005
@@ -70,6 +70,11 @@
     <Directory @SERVERROOT@/htdocs/php/safemode/error>
         php_admin_value display_errors 1
     </Directory>
+
+    <Directory @SERVERROOT@/htdocs/php/multiviews>
+        Options MultiViews
+    </Directory>
+
 </IfModule>
 
 ##

Added: httpd/test/trunk/perl-framework/t/htdocs/php/multiviews/file.html
Url: http://svn.apache.org/viewcvs/httpd/test/trunk/perl-framework/t/htdocs/php/multiviews/file.html?view=auto&rev=124158
==============================================================================
--- (empty file)
+++ httpd/test/trunk/perl-framework/t/htdocs/php/multiviews/file.html	Tue Jan  4 13:21:51
2005
@@ -0,0 +1 @@
+file.html
\ No newline at end of file

Added: httpd/test/trunk/perl-framework/t/htdocs/php/virtual.php
Url: http://svn.apache.org/viewcvs/httpd/test/trunk/perl-framework/t/htdocs/php/virtual.php?view=auto&rev=124158
==============================================================================
--- (empty file)
+++ httpd/test/trunk/perl-framework/t/htdocs/php/virtual.php	Tue Jan  4 13:21:51 2005
@@ -0,0 +1 @@
+before <?php virtual("multiviews/file"); ?> after

Added: httpd/test/trunk/perl-framework/t/php/virtual.t
Url: http://svn.apache.org/viewcvs/httpd/test/trunk/perl-framework/t/php/virtual.t?view=auto&rev=124158
==============================================================================
--- (empty file)
+++ httpd/test/trunk/perl-framework/t/php/virtual.t	Tue Jan  4 13:21:51 2005
@@ -0,0 +1,13 @@
+use strict;
+use warnings FATAL => 'all';
+
+use Apache::Test;
+use Apache::TestRequest;
+use Apache::TestUtil;
+
+plan tests => 1, sub { need_php() && need_module('negotiation') };
+
+my $result = GET_BODY "/php/virtual.php";
+chomp $result;
+ok t_cmp($result, "before file.html after",
+         "regression test for http://bugs.php.net/bug.php?id=30446");

Mime
View raw message