Skip Menu |

This queue is for tickets about the Net-NSCAng-Client CPAN distribution.

Report information
The Basics
Id: 106727
Status: resolved
Priority: 0/
Queue: Net-NSCAng-Client

People
Owner: MBETHKE [...] cpan.org
Requestors: SREZIC [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: 0.02
Fixed in: 0.03



Subject: Test suite may fail with non-English locale
If LC_ALL=de_DE.UTF-8 is set, then the test suite fails (checked on a debian/wheezy system): Output from '/usr/bin/make test': Running Mkbootstrap for Net::NSCAng::Client () chmod 644 "Client.bs" PERL_DL_NONLAZY=1 "/bbbike/perl-5.20.3-RC1/bin/perl" "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(0, 'blib/lib', 'blib/arch')" t/*.t # Failed test 'host_result() with local node_name' # at t/Net-NSCAng-Client.t line 16. # died: host_result: SSL error:Verbindungsaufbau abgelehnt at t/Net-NSCAng-Client.t line 16. # Failed test 'host_result() with node_name from constructor' # at t/Net-NSCAng-Client.t line 20. # died: host_result: SSL error:Verbindungsaufbau abgelehnt at t/Net-NSCAng-Client.t line 20. # Failed test 'svc_result() with local svc_description' # at t/Net-NSCAng-Client.t line 22. # died: svc_result: SSL error:Verbindungsaufbau abgelehnt at t/Net-NSCAng-Client.t line 22. # Failed test 'host_result() OK w/o local params' # at t/Net-NSCAng-Client.t line 25. # died: host_result: SSL error:Verbindungsaufbau abgelehnt at t/Net-NSCAng-Client.t line 25. # Failed test 'svc_result() OK w/o local params' # at t/Net-NSCAng-Client.t line 26. # died: svc_result: SSL error:Verbindungsaufbau abgelehnt at t/Net-NSCAng-Client.t line 26. # Looks like you failed 5 tests of 13. t/Net-NSCAng-Client.t .. Dubious, test returned 5 (wstat 1280, 0x500) Failed 5/13 subtests Test Summary Report ------------------- t/Net-NSCAng-Client.t (Wstat: 1280 Tests: 13 Failed: 5) Failed tests: 5, 8, 10, 12-13 Non-zero exit status: 5 Files=1, Tests=13, 1 wallclock secs ( 0.01 usr 0.01 sys + 0.02 cusr 0.00 csys = 0.04 CPU) Result: FAIL Failed 1/1 test programs. 5/13 subtests failed. make: *** [test_dynamic] Fehler 5
Thanks for the report, glad to see it's being tested so quickly! I'll go and fix it (guess a little BEGIN block should do) later this weekend before cpantesters is up again and can go all red on me :)
Using POSIX::setlocale in test file now