Subject: | Problem with test t/net_ssl on Perl 5.005_03 |
We're upgrading from Crypt::SSLeay 0.16 to 0.51, upgrading using CPAN:
Running make test
PERL_DL_NONLAZY=1 /bin/perl -Iblib/arch -Iblib/lib -I/usr/lib/perl5/5.00503/i686-linux -I/usr/lib/perl5/5.00503 -e 'use Test::Harness qw(&runtests $verbose); $verbose=0; runtests @ARGV;' t/*.t
t/net_ssl...........SIGPIPE handler "die" not defined.
SIGPIPE handler "die" not defined.
SIGPIPE handler "die" not defined.
Argument "SSL negotiation failed: at lib/Net/SSL.pm line 212.\n; ..." isn't numeric in sassign at lib/Net/SSL.pm line 153.
Argument "SSL negotiation failed: at lib/Net/SSL.pm line 212.\n; ..." isn't numeric in sassign at lib/Net/SSL.pm line 153.
Argument "SSL negotiation failed: at lib/Net/SSL.pm line 212.\n; ..." isn't numeric in sassign at lib/Net/SSL.pm line 153.
FAILED test 1
Failed 1/1 tests, 0.00% okay
t/ssl_context.......ok
Failed Test Status Wstat Total Fail Failed List of failed
-------------------------------------------------------------------------------
t/net_ssl.t 1 1 100.00% 1
Failed 1/2 test scripts, 50.00% okay. 1/2 subtests failed, 50.00% okay.
make: *** [test_dynamic] Error 29
/usr/bin/make test -- NOT OK
Problems:
- cannot assign \&die to things in 5.005
- eval problem, return val being assigned nothing because eval breaks
- $@ being assigned a string, problematic in 5.005
(A colleague runs perl 5.6.1 and all tests pass OK)