Subject: | Test failure in url.t rewrite_interaction |
CGI-3.55
This is perl 5, version 12, subversion 3 (v5.12.3) built for x86_64-linux
Linux nykdsr5837 2.6.18-194.el5 #1 SMP Tue Mar 16 21:52:39 EDT 2010
x86_64 x86_64 x86_64 GNU/Linux
Out of the box, 3.55 fails in my environment on this test. Here's the
output:
# Tests were run but no plan was declared and done_testing() was not
seen.
# Failed test 'rewrite_interactions'
# at /home/pntbatch/iprs_perl/lib/5.12.3/Test/Builder.pm line 229.
# Looks like you failed 1 test of 5.
t/url.t ..................
Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/5 subtests
Pretty simple fix:
*** url.t Fri Jun 3 11:36:31 2011
--- url2.t Thu Oct 20 10:34:58 2011
***************
*** 63,68 ****
--- 63,69 ----
'$q->url(-rewrite=>1,-path=>1), with rewriting detected' );
is( $q->url(-rewrite=>0,-path=>0),
'http://example.com/real/cgi-bin/dispatch.cgi',
'$q->url(-rewrite=>0,-path=>1), with rewriting detected' );
+ done_testing();
};