On 17 Jan 2012, at 7:25 PM, Joe Orton wrote: >> - All three of mod_bucketeer, mod_ case_filter and mod_ case_filter_in >> are present during this test run, but for some reason we still have >> skipped tests complaining about them. > > Are those modules loaded in the httpd.conf? Unless you pass > --enable-load-all-modules to configure they might be built but not > enabled, so the test suite won't spot them. (I think that's right > anyway)
It was very strange - I was testing the build as an RPM, which initially didn't have the bucketeer + case* modules included at all in the build (it now does). I had commented in all the LoadModule lines. At the time, a good 10% of the tests failed. Adding the modules meant that the tests now succeeded, apart from the tests marked as skipped. Hmmm... I had gone through /etc/httpd/conf/httpd.conf and enabled all the modules, but didn't add the three additional modules to LoadModule after they were built. It seems that some tests care whether the module exists, others care whether the LoadModule line exists. >> - The CGI tests seem to have a broken plan, no tests fail, but we only run >> 52 tests out of an expected 58. > > Hmmm... was that running as root? Can you post the output from a > failing run: > > ./t/TEST -v t/modules/cgi.t Adding LoadModule lines now brings it up to 57 out of 58: t/modules/cgi.t .. Failed 1/58 subtests Test Summary Report ------------------- t/modules/cgi.t (Wstat: 0 Tests: 57 Failed: 0) Parse errors: Bad plan. You planned 58 tests but ran 57. Files=1, Tests=57, 21 wallclock secs ( 0.23 usr 0.15 sys + 3.03 cusr 5.36 csys = 8.77 CPU) Result: FAIL Failed 1/1 test programs. 0/57 subtests failed. The verbose run looks like this: t/modules/cgi.t .. 1..58 # Running under perl version 5.014002 for linux # Current time local: Wed Jan 18 01:38:47 2012 # Current time GMT: Wed Jan 18 01:38:47 2012 # Using Test.pm version 1.25_02 # Using Apache/Test.pm version 1.37 # testing : return code for acceptpathinfodefault.sh # expected: 200 # received: 200 ok 1 # testing : body for acceptpathinfodefault.sh # expected: # received: ok 2 # testing : return code for acceptpathinfodefault.sh/foo # expected: 200 # received: 200 ok 3 # testing : body for acceptpathinfodefault.sh/foo # expected: /foo # received: /foo ok 4 # testing : return code for acceptpathinfooff.sh # expected: 200 # received: 200 ok 5 # testing : body for acceptpathinfooff.sh # expected: # received: ok 6 # testing : return code for acceptpathinfooff.sh/foo # expected: 404 # received: 404 ok 7 # no body test for this one ok 8 # testing : return code for acceptpathinfoon.sh # expected: 200 # received: 200 ok 9 # testing : body for acceptpathinfoon.sh # expected: # received: ok 10 # testing : return code for acceptpathinfoon.sh/foo # expected: 200 # received: 200 ok 11 # testing : body for acceptpathinfoon.sh/foo # expected: /foo # received: /foo ok 12 # testing : return code for bogus-perl.pl # expected: 500 # received: 500 ok 13 # cgi log created ok. ok 14 # testing : return code for bogus-sh.sh # expected: 500 # received: 500 ok 15 # checking that log size (1244) is bigger than it used to be (978) ok 16 # testing : return code for nph-stderr.pl # expected: 200 # received: 200 ok 17 # testing : body for nph-stderr.pl # expected: this is nph-stdout # received: this is nph-stdout ok 18 # testing : return code for nph-test.pl # expected: 200 # received: 200 ok 19 # testing : body for nph-test.pl # expected: ok # received: ok ok 20 # testing : return code for perl.pl # expected: 200 # received: 200 ok 21 # testing : body for perl.pl # expected: perl cgi # received: perl cgi ok 22 # testing : return code for sh.sh # expected: 200 # received: 200 ok 23 # testing : body for sh.sh # expected: sh cgi # received: sh cgi ok 24 # testing : return code for stderr1.pl # expected: 200 # received: 200 ok 25 # testing : body for stderr1.pl # expected: this is stdout # received: this is stdout ok 26 # testing : return code for stderr2.pl # expected: 200 # received: 200 ok 27 # testing : body for stderr2.pl # expected: this is also stdout # received: this is also stdout ok 28 # testing : return code for stderr3.pl # expected: 200 # received: 200 ok 29 # testing : body for stderr3.pl # expected: this is more stdout # received: this is more stdout ok 30 # posted content (length 10) to bogus-perl.pl # got return code of: 500, expecting: 500 ok 31 # checking that log size (2090) is greater than 1244 ok 32 # verifying that logged content is 10 characters ok 33 # posted content (length 99) to bogus-perl.pl # got return code of: 500, expecting: 500 ok 34 # checking that log size (3025) is greater than 2090 ok 35 # verifying that logged content is 99 characters ok 36 # posted content (length 250) to bogus-perl.pl # got return code of: 500, expecting: 500 ok 37 # checking that log size (4112) is greater than 3025 ok 38 # verifying that logged content is 250 characters ok 39 # posted content (length 255) to bogus-perl.pl # got return code of: 500, expecting: 500 ok 40 # checking that log size (5204) is greater than 4112 ok 41 # verifying that logged content is 255 characters ok 42 # posted content (length 256) to bogus-perl.pl # got return code of: 500, expecting: 500 ok 43 # checking that log size (6297) is greater than 5204 ok 44 # verifying that logged content is 256 characters ok 45 # posted content (length 257) to bogus-perl.pl # got return code of: 500, expecting: 500 ok 46 # checking that log size (7390) is greater than 6297 ok 47 # verifying that logged content is 256 characters ok 48 # posted content (length 258) to bogus-perl.pl # got return code of: 500, expecting: 500 ok 49 # checking that log size (8483) is greater than 7390 ok 50 # verifying that logged content is 256 characters ok 51 # posted content (length 1024) to bogus-perl.pl # got return code of: 500, expecting: 500 ok 52 # verifying log did not increase in size... ok 53 # verifying log is greater than 8192 bytes. ok 54 # verifying log did not grow after making bogus request. ok 55 # verifying log did not grow after making another bogus request. ok 56 # checking that HEAD /modules/cgi/perl.pl returns 200. ok 57 Failed 1/58 subtests Test Summary Report ------------------- t/modules/cgi.t (Wstat: 0 Tests: 57 Failed: 0) Parse errors: Bad plan. You planned 58 tests but ran 57. Files=1, Tests=57, 22 wallclock secs ( 0.27 usr 0.22 sys + 3.06 cusr 5.35 csys = 8.90 CPU) Result: FAIL Failed 1/1 test programs. 0/57 subtests failed. Regards, Graham --
smime.p7s
Description: S/MIME cryptographic signature
