You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by jo...@apache.org on 2007/10/12 10:36:53 UTC

svn commit: r584098 - in /httpd/test/trunk/perl-framework/t: htdocs/modules/include/inc-nego.shtml modules/include.t

Author: jorton
Date: Fri Oct 12 01:36:52 2007
New Revision: 584098

URL: http://svn.apache.org/viewvc?rev=584098&view=rev
Log:
- add test case for include of negotiated document

Added:
    httpd/test/trunk/perl-framework/t/htdocs/modules/include/inc-nego.shtml   (with props)
Modified:
    httpd/test/trunk/perl-framework/t/modules/include.t

Added: httpd/test/trunk/perl-framework/t/htdocs/modules/include/inc-nego.shtml
URL: http://svn.apache.org/viewvc/httpd/test/trunk/perl-framework/t/htdocs/modules/include/inc-nego.shtml?rev=584098&view=auto
==============================================================================
--- httpd/test/trunk/perl-framework/t/htdocs/modules/include/inc-nego.shtml (added)
+++ httpd/test/trunk/perl-framework/t/htdocs/modules/include/inc-nego.shtml Fri Oct 12 01:36:52 2007
@@ -0,0 +1 @@
+<!--#include virtual="../negotiation/en/"-->

Propchange: httpd/test/trunk/perl-framework/t/htdocs/modules/include/inc-nego.shtml
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: httpd/test/trunk/perl-framework/t/modules/include.t
URL: http://svn.apache.org/viewvc/httpd/test/trunk/perl-framework/t/modules/include.t?rev=584098&r1=584097&r2=584098&view=diff
==============================================================================
--- httpd/test/trunk/perl-framework/t/modules/include.t (original)
+++ httpd/test/trunk/perl-framework/t/modules/include.t Fri Oct 12 01:36:52 2007
@@ -93,6 +93,8 @@
 "ranged-virtual.shtml"  =>    "x"x32768,
 "var128.shtml"          =>    "x"x126 . "yz",  # PR#32985
 "virtualq.shtml?foo=bar" =>   "foo=bar  pass    inc-two.shtml body  foo=bar", # PR#12655
+
+"inc-nego.shtml"        =>    "index.html.en", # requires mod_negotiation
 );
 
 # now, assuming 2.1 has the proper behavior across the board,
@@ -157,6 +159,10 @@
 unless ($have_apache_21) {
     # apache 1.3 and 2.0 do not support these tests
     delete $test{"echo2.shtml"};
+}
+
+unless (have_module 'mod_negotiation') {
+    delete $test{"inc-nego.shtml"};
 }
 
 # this test does not work on win32 (<!--#exec cmd="echo pass"-->)