Subject: | Hanging test when socket 60001 occupied |
For reproducing the questionable behaviour I used the socket program
(debian package "socket") and called it with
socket -sl 60001
So now, when the socket 60001 is occupied the tests for Sys-Syscall say
t/00-use.........ok
t/01-epoll.......Can't use an undefined value as a symbol reference at
t/01-epoll.t line 74.
# Looks like you planned 20 tests but only ran 14.
# Looks like your test died just after 14.
Dubious, test returned 255 (wstat 65280, 0xff00)
Failed 6/20 subtests
t/02-sendfile....couldn't start listening at t/02-sendfile.t line 64.
and then hang forever.
Can this be made a bit less fragile? In my case some perlbal test was
hanging for whatever other reason since several days and it took me a
quite while to figure out why all Sys-Syscall tests were hanging due to
the insufficient error checking in the test.
Thanks,