> I'm installing apache 2.2.14 with libapreq 2.12, perl 5.8.9 and I'm
> getting the failures listed below.
OK - turns out all of the failures are about the file type:
expected: text/x-pod
received: text/x-plain
Although, I don't understand how the mime type could ever be text/x-pod.
The test uses UPLOAD_BODY to upload the file, which in turn relies (via
HTTP::Request::Common) on LWP::MediaTypes, which has no definition for
text/x-pod.
Is this just a bad test?
clint
APACHE_TEST_GROUP= APACHE_TEST_HTTPD= APACHE_TEST_PORT= APACHE_TEST_USER=
APACHE_TEST_APXS= /opt/perl-5.8.9/bin/perl -Iblib/arch -Iblib/lib t/TEST
-bugreport -verbose=1
[warning] setting ulimit to allow core files
ulimit -c unlimited; /opt/perl-5.8.9/bin/perl
/home/clinton/apache_and_friends/libapreq2-2.12/glue/perl/t/TEST -bugreport
-verbose=1
[warning] root mode: changing the files ownership to 'nobody' (65534:65534)
[warning] testing whether 'nobody' is able to -rwx
/home/clinton/apache_and_friends/libapreq2-2.12/glue/perl/t
"/opt/perl-5.8.9/bin/perl" -Mlib=/opt/perl-5.8.9/lib/site_perl/5.8.9/i686-linux
-MApache::TestRun -e 'eval { Apache::TestRun::run_root_fs_test(65534, 65534,
q[/home/clinton/apache_and_friends/libapreq2-2.12/glue/perl/t]) }';
[warning] result: OK
[warning] the client side drops 'root' permissions and becomes 'nobody'
/opt/httpd-2.2.14_prefork_perl/bin/httpd -d
/home/clinton/apache_and_friends/libapreq2-2.12/glue/perl/t -f
/home/clinton/apache_and_friends/libapreq2-2.12/glue/perl/t/conf/httpd.conf -D
APACHE2
[Wed Oct 07 09:32:40 2009] [warn] PassEnv variable PERL5LIB was undefined
using Apache/2.2.14 (prefork MPM)
waiting 60 seconds for server to start: ..
waiting 60 seconds for server to start: ok (waited 1 secs)
# testing : 'type' test for fh on perlvmesa.pod
# expected: text/x-pod
# received: text/plain
not ok 52
# Failed test 52 in t/apreq/cgi.t at line 198 fail #6
# testing : 'type' test for io on perlvmesa.pod
# expected: text/x-pod
# received: text/plain
not ok 56
# Failed test 56 in t/apreq/cgi.t at line 198 fail #7
# testing : 'type' test for link on perlvmesa.pod
# expected: text/x-pod
# received: text/plain
not ok 60
# Failed test 60 in t/apreq/cgi.t at line 198 fail #8
# testing : 'type' test for slurp on perlvmesa.pod
# expected: text/x-pod
# received: text/plain
not ok 64
# Failed test 64 in t/apreq/cgi.t at line 198 fail #9
# testing : 'type' test for tempname on perlvmesa.pod
# expected: text/x-pod
# received: text/plain
not ok 68
# Failed test 68 in t/apreq/cgi.t at line 198 fail #10
# testing : 'type' test for fh on a2p.pod
# expected: text/x-pod
# received: text/plain
not ok 1
# Failed test 1 in t/apreq/upload.t at line 67
# testing : 'type' test for io on a2p.pod
# expected: text/x-pod
# received: text/plain
not ok 5
# Failed test 5 in t/apreq/upload.t at line 67 fail #2
# testing : 'type' test for link on a2p.pod
# expected: text/x-pod
# received: text/plain
not ok 9
# Failed test 9 in t/apreq/upload.t at line 67 fail #3
# testing : 'type' test for slurp on a2p.pod
# expected: text/x-pod
# received: text/plain
not ok 13
# Failed test 13 in t/apreq/upload.t at line 67 fail #4
# testing : 'type' test for tempname on a2p.pod
# expected: text/x-pod
# received: text/plain
not ok 17
# Failed test 17 in t/apreq/upload.t at line 67 fail #5
# testing : 'type' test for fh on perlvmesa.pod
# expected: text/x-pod
# received: text/plain
not ok 61
# Failed test 61 in t/apreq/upload.t at line 67 fail #16
# testing : 'type' test for io on perlvmesa.pod
# expected: text/x-pod
# received: text/plain
not ok 65
# Failed test 65 in t/apreq/upload.t at line 67 fail #17
# testing : 'type' test for link on perlvmesa.pod
# expected: text/x-pod
# received: text/plain
not ok 69
# Failed test 69 in t/apreq/upload.t at line 67 fail #18
# testing : 'type' test for slurp on perlvmesa.pod
# expected: text/x-pod
# received: text/plain
not ok 73
# Failed test 73 in t/apreq/upload.t at line 67 fail #19
# testing : 'type' test for tempname on perlvmesa.pod
# expected: text/x-pod
# received: text/plain
not ok 77
# Failed test 77 in t/apreq/upload.t at line 67 fail #20