Subject: | make test fails if 127.0.0.1:443 is in use. |
If you attempt to build Crypt::SSLeay on a machine where port 443 is
bound on 127.0.0.1 make test fails like this:
t/01-connect....
# Failed test 'Net::SSL->new'
t/01-connect....NOK 1/8# in t/01-connect.t at line 25.
# SSL negotiation failed: at t/01-connect.t line 11
# at t/01-connect.t line 11
# ; Interrupted system call at t/01-connect.t line 11
# ; Interrupted system call at t/01-connect.t line 11
# ; Interrupted system call at t/01-connect.t line 11
t/01-connect....ok 2/8# Looks like you failed 1 test of 8.
t/01-connect....dubious
Test returned status 1 (wstat 256, 0x100)
DIED. FAILED test 1
Failed 1/8 tests, 87.50% okay (less 7 skipped tests: 0 okay, 0.00%)
t/02-live.......ok 1/4# config on linux
# ssl OpenSSL 0.9.8 in /usr
# lib -L/usr/lib -lssl -lcrypto -lgcc
# inc -I/usr/include/openssl
# cc i686-pc-linux-gnu-gcc
When I kill the process bound to port 443, make test passes fine.
Ideally, a more explicit statement of what's causing the make test
failure would probably clue people in as to how to fix it, or better
yet, bind a random port instead of 443.