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 2003/07/11 10:51:42 UTC
cvs commit: httpd-test/perl-framework/t/modules include.t
jwoolley 2003/07/11 01:51:42
Modified: perl-framework/t/modules include.t
Added: perl-framework/t/htdocs/modules/include/bucketeer y5.shtml
Log:
this is the absolute ultimate mod_include torture test.
Revision Changes Path
1.1 httpd-test/perl-framework/t/htdocs/modules/include/bucketeer/y5.shtml
<<Binary file>>
1.22 +11 -3 httpd-test/perl-framework/t/modules/include.t
Index: include.t
===================================================================
RCS file: /home/cvs/httpd-test/perl-framework/t/modules/include.t,v
retrieving revision 1.21
retrieving revision 1.22
diff -u -d -u -r1.21 -r1.22
--- include.t 20 Jun 2002 04:05:04 -0000 1.21
+++ include.t 11 Jul 2003 08:51:42 -0000 1.22
@@ -70,11 +70,11 @@
#
# in addition to $tests, there are 1 GET test, 9 XBitHack tests,
-# 2 exec cgi tests, 2 malformed-ssi-directive tests, and 6 tests
+# 2 exec cgi tests, 2 malformed-ssi-directive tests, and 7 tests
# that use mod_bucketeer to construct brigades for mod_include
#
my $tests = keys %test;
-plan tests => $tests + 20, have_module 'include';
+plan tests => $tests + 21, have_module 'include';
foreach $doc (sort keys %test) {
ok t_cmp($test{$doc},
@@ -246,9 +246,17 @@
"GET $dir$doc"
);
+
+ $expected= "pass [an error occurred while processing this directive] pass pass1";
+ $doc = "bucketeer/y5.shtml";
+ ok t_cmp($expected,
+ super_chomp(GET_BODY "$dir$doc"),
+ "GET $dir$doc"
+ );
+
}
else {
- for (1..6) {
+ for (1..7) {
skip "Skipping bucket boundary tests, no mod_bucketeer", 1;
}
}