Subject: | t/local/07_sslecho fail on HP-UX 11.23 64bit |
Fail on HP-UX 11.23 64bit but Pass on 11.31
Show quoted text
> make test
/pro/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'inc',
'blib/lib', 'blib/arch')" t/local/*.t t/handle/local/*.t
t/handle/local/05_use..........ok
t/local/00_ptr_cast............# compiling test program with: cc -o t/
local/ptr_cast_test t/local/ptr_cast_test.c
t/local/00_ptr_cast............ok
t/local/01_pod.................ok
t/local/02_pod_coverage........skipped: currently disabled
t/local/03_use.................ok
t/local/04_basic...............ok
t/local/05_passwd_cb...........ok
t/local/06_tcpecho.............ok
t/local/07_sslecho.............1/69
# Failed test 'set_cert_and_key'
# at t/local/07_sslecho.t line 44.
# Looks like you failed 1 test of 69.
t/local/07_sslecho............. Dubious, test returned 1 (wstat 256,
0x100)
Failed 1/69 subtests
t/local/08_pipe................ok
t/local/15_bio.................ok
t/local/20_autoload............ok
t/local/30_error...............skipped: Requires Test::Exception,
Test::Warn and Test::NoWarnings
t/local/31_rsa_generate_key....ok
t/local/35_ephemeral...........ok
t/local/50_digest..............ok
t/local/kwalitee...............skipped: Needs Test::Kwalitee
Test Summary Report
-------------------
t/local/07_sslecho (Wstat: 256 Tests: 69 Failed: 1)
Failed test: 3
Non-zero exit status: 1
Files=17, Tests=164, 3 wallclock secs ( 0.14 usr 0.11 sys + 1.99
cusr 0.49 csys = 2.73 CPU)
Result: FAIL
Failed 1/17 test programs. 1/164 subtests failed.
Show quoted text> perl -V
Summary of my perl5 (revision 5 version 8 subversion 7) configuration:
Platform:
osname=hpux, osvers=11.23, archname=IA64.ARCHREV_0-LP64
uname='hp-ux x1 b.11.23 u ia64 3295073263 unlimited-user license '
config_args='-Duse64bitall -des'
hint=recommended, useposix=true, d_sigaction=define
usethreads=undef use5005threads=undef useithreads=undef
usemultiplicity=undef
useperlio=define d_sfio=undef uselargefiles=define usesocks=undef
use64bitint=define use64bitall=define uselongdouble=undef
usemymalloc=n, bincompat5005=undef
Compiler:
cc='cc', ccflags =' -Ae -DDEBUGGING +Z -z -D_HPUX_SOURCE -Wl,
+vnocompatwarnings +DD64 -I/pro/local/include -D_LARGEFILE_SOURCE -
D_FILE_OFFSET_BITS=64 ',
optimize='+O2 +Onolimit',
cppflags='-Aa -D__STDC_EXT__ -DDEBUGGING +Z -z -D_HPUX_SOURCE -Ae -
DDEBUGGING +Z -z -D_HPUX_SOURCE -Wl,+vnocompatwarnings +DD64 -I/pro/
local/include'
ccversion='B3910B A.06.05', gccversion='', gccosandvers=''
intsize=4, longsize=8, ptrsize=8, doublesize=8, byteorder=87654321
d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=16
ivtype='long', ivsize=8, nvtype='double', nvsize=8, Off_t='off_t',
lseeksize=8
alignbytes=8, prototype=define
Linker and Libraries:
ld='/usr/bin/ld', ldflags ='-L/pro/local/lib +DD64 -L/usr/lib/
hpux64'
libpth=/pro/local/lib /usr/lib/hpux64 /lib /usr/lib /usr/ccs/lib /
usr/local/lib
libs=-lcl -lpthread -lnsl -lnm -ldb -ldl -ldld -lm -lsec -lc
perllibs=-lcl -lpthread -lnsl -lnm -ldl -ldld -lm -lsec -lc
libc=/usr/lib/hpux64/libc.so, so=so, useshrplib=false,
libperl=libperl.a
gnulibc_version=''
Dynamic Linking:
dlsrc=dl_hpux.xs, dlext=so, d_dlsymun=undef, ccdlflags='-Wl,-E -Wl,-
B,deferred '
cccdlflags='+Z', lddlflags='-b +vnocompatwarnings -L/pro/local/lib -
L/usr/lib/hpux64'
Characteristics of this binary (from libperl):
Compile-time options: DEBUGGING USE_64_BIT_INT USE_64_BIT_ALL
USE_LARGE_FILES
Locally applied patches:
defined-or
Built under hpux
Compiled at Jan 9 2006 22:10:18
@INC:
/pro/lib/perl5/5.8.7/IA64.ARCHREV_0-LP64
/pro/lib/perl5/5.8.7
/pro/lib/perl5/site_perl/5.8.7/IA64.ARCHREV_0-LP64
/pro/lib/perl5/site_perl/5.8.7
/pro/lib/perl5/site_perl
.
Show quoted text> perl -Iblib/{lib,arch} t/local/07_sslecho.t
1..69
ok 1 - CTX_new
ok 2 - CTX_set_cipher_list
not ok 3 - set_cert_and_key
# Failed test 'set_cert_and_key'
# at t/local/07_sslecho.t line 44.
ok 4 - new
ok 5 - set_fd using fileno
ok 6 - accept
ok 7 - get_cipher
ok 8 - ssl_read_all
ok 9 - ssl_write_all
ok 10 - new
ok 11 - set_fd using fileno
ok 12 - accept
ok 13 - get_cipher
ok 14 - ssl_read_all
ok 15 - ssl_write_all
ok 16 - new
ok 17 - set_fd using fileno
ok 18 - accept
ok 19 - get_cipher
ok 20 - ssl_read_all
ok 21 - ssl_write_all
ok 22 - new
ok 23 - set_fd using fileno
ok 24 - accept
ok 25 - get_cipher
ok 26 - ssl_read_all
ok 27 - ssl_write_all
ok 28 - new
ok 29 - set_fd using fileno
ok 30 - accept
ok 31 - get_cipher
ok 32 - ssl_read_all
ok 33 - ssl_write_all
ok 34 - new
ok 35 - set_fd using fileno
ok 36 - accept
ok 37 - get_cipher
ok 38 - ssl_read_all
ok 39 - ssl_write_all
ok 40 - new
ok 41 - set_fd using fileno
ok 42 - accept
ok 43 - get_cipher
ok 44 - ssl_write_all
ok 45 - send and recieved correctly
ok 46 - CTX_new
ok 47 - new
ok 48 - set_fd using glob ref
ok 49 - connect
ok 50 - get_cipher
ok 51 - write
ok 52 - read
ok 53 - CTX_load_verify_locations
ok 54 - verify cb
ok 55 - verify cb cert
ok 56 - cert issuer
ok 57 - cert subject
ok 58 - verify cb 1 called once
ok 59 - verify cb 2 wasn't called yet
ok 60 - verify cb 3 wasn't called yet
ok 61 - CTX_set_cert_verify_callback
ok 62 - verify cb 1 wasn't called again
ok 63 - verify cb 2 called once
ok 64 - verify cb 3 wasn't called yet
ok 65 - get_peer_certificate subject
ok 66 - get_peer_certificate issuer
ok 67 - ssl_write_all
ok 68 - ssl_read_all
ok 69 - server exited wiht 0
# Looks like you failed 1 test of 69.
---
Three warnings during compilation that might be of interrest:
cc -c -I/usr/local/ssl/include -I/usr/local/ssl/inc32 -I/usr/kerberos/
include -Ae -DDEBUGGING +Z -z -D_HPUX_SOURCE -Wl,+vnocompatwarnings
+DD64 -I/pro/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -
O2 -g -DVERSION=\"1.35\" -DXS_VERSION=\"1.35\" +Z "-I/pro/lib/
perl5/5.8.7/IA64.ARCHREV_0-LP64/CORE" SSLeay.c
"SSLeay.xs", line 966: warning #2186-D: pointless comparison of unsigned
integer with zero
if (len < 0) {
^
"SSLeay.xs", line 364: warning #4279-D: the expression depends on order
of
evaluation
cb = New(0, cb, 1, ssleay_ctx_cert_verify_cb_t);
^
"SSLeay.xs", line 1446: warning #4276-D: relational operator ">" always
evaluates to 'false'
New(0, buf, num, char);
^