Mailing List Archive

test fail with port 280
¡Saludos!

I have no previous experience with Bricolage, but It seems to be the
best option to replace our ancient akkit based site at xml.cie.unam.mx.
I was just playing with 1.11.4 when noticed 2.0.0 has arrived!

I have a RHEL-5.5 + epel + rpmfusion. No problems with Bricolage-2.0.0
until make test (with non-standard port 280):

[root@xiuhcoatl bricolage-2.0.0]# make cpan
/usr/bin/perl inst/cpan.pl
All modules installed. No need to install from CPAN.
[root@xiuhcoatl bricolage-2.0.0]# make test
PERL_DL_NONLAZY=1 /usr/bin/perl inst/runtests.pl
t/Bric/Test/Runner....NOK 21
# Failed test 'And it should be the right thing'
# at t/Bric/Util/ApacheReq/Test.pm line 23.
# (in Bric::Util::ApacheReq::Test->test_url)
# got: 'http://www.example.com:280/'
# expected: 'http://www.example.com/'
t/Bric/Test/Runner....NOK 22
# Failed test 'The uri param should work'
# at t/Bric/Util/ApacheReq/Test.pm line 24.
# (in Bric::Util::ApacheReq::Test->test_url)
# got: 'http://www.example.com:280/foo'
# expected: 'http://www.example.com/foo'
t/Bric/Test/Runner....NOK 23
# Failed test 'An empty uri param should work'
# at t/Bric/Util/ApacheReq/Test.pm line 26.
# (in Bric::Util::ApacheReq::Test->test_url)
# got: 'http://www.example.com:280'
# expected: 'http://www.example.com'
t/Bric/Test/Runner....ok 2151/0# Looks like you failed 3 tests of 2597.
t/Bric/Test/Runner....dubious
Test returned status 3 (wstat 768, 0x300)
DIED. FAILED tests 21-23
Failed 3/2597 tests, 99.88% okay (less 12 skipped tests: 2582 okay, 99.42%)
Failed Test Stat Wstat Total Fail Failed List of Failed
-------------------------------------------------------------------------------
t/Bric/Test/Runner.pm 3 768 2597 3 0.12% 21-23
12 subtests skipped.
Failed 1/1 test scripts, 0.00% okay. 3/2597 subtests failed, 99.88% okay.
make: *** [test] Error 3

Why it is expecting port 80 if I configured port 280?

Best Regards!

--
Ing. Héctor Daniel Cortés González <hdcg@cie.unam.mx> | Don't take
antes 'Aztec Eagle' Turbo <turbo@lsl.com.mx> | the name of
http://www.cie.unam.mx/xml/sacad/uc/hdcg/ | root
RHCE 803004353910936. Linux User #13086. | in vain.
------------------------------------------------------------------------
perl -wle '(1 x $_) !~ /^(11+)\1+$/ && print while ++ $_'
Re: test fail with port 280 [ In reply to ]
On Apr 12, 2010, at 1:26 PM, Héctor Daniel Cortés González wrote:

> Why it is expecting port 80 if I configured port 280?

Probably hard-coded in the test. You can ignore the failure; I'll see about fixing it for 2.0.1.

Thanks for the report!

Best,

David