Subject: | t/Server_PreFork.t and t/Server_PreForkSimple.t fail test 5/5 on Perl 5.10 and 5.12 |
These are with Net-Server 2.000
5.12.x symptoms:
Use of uninitialized value $line in pattern match (m//) at
t/Server_PreFork.t line 32.
Use of uninitialized value $line in concatenation (.) or string at
t/Server_PreFork.t line 32.
t/Server_PreFork.t ........
1..5
ok 1 - Can fork on this platform
ok 2 - Got needed ports (20600 20601)
ok 3 - Pipe works
ok 4 - use Net::Server::PreFork
not ok 5 - Got the correct output from the server
# failed at t/Server_PreFork.t line 61
# Error: Didn't get the type of line we were expecting: () at
t/Server_PreFork.t line 32.
Failed 1/5 subtests
Use of uninitialized value $line in pattern match (m//) at
t/Server_PreForkSimple.t line 32.
Use of uninitialized value $line in concatenation (.) or string at
t/Server_PreForkSimple.t line 32.
t/Server_PreForkSimple.t ..
1..5
ok 1 - Can fork on this platform
ok 2 - Got needed ports (20500 20501)
ok 3 - Pipe works
ok 4 - use Net::Server::PreForkSimple
not ok 5 - Got the correct output from the server
# failed at t/Server_PreForkSimple.t line 59
# Error: Didn't get the type of line we were expecting: () at
t/Server_PreForkSimple.t line 32.
Failed 1/5 subtests
5.10.x symptoms:
t/Server_PreFork.t ........
1..5
ok 1 - Can fork on this platform
ok 2 - Got needed ports (20600 20601)
ok 3 - Pipe works
ok 4 - use Net::Server::PreFork
# Trouble running server: Assertion !((((s->var)->sv_flags &
(0x00004000|0x00008000)) == 0x00008000) && (((svtype)((s->var)->sv_flags
& 0xff)) == SVt_PVGV || ((svtype)((s->var)->sv_flags & 0xff)) ==
SVt_PVLV)) failed: file "scalar.xs", line 49 at
/builddir/build/BUILD/Net-Server-2.000/blib/lib/Net/Server/PreFork.pm
line 213.
# Trouble running server: Assertion !((((s->var)->sv_flags &
(0x00004000|0x00008000)) == 0x00008000) && (((svtype)((s->var)->sv_flags
& 0xff)) == SVt_PVGV || ((svtype)((s->var)->sv_flags & 0xff)) ==
SVt_PVLV)) failed: file "scalar.xs", line 49 at
/builddir/build/BUILD/Net-Server-2.000/blib/lib/Net/Server/PreFork.pm
line 213.
# Trouble running server: Assertion !((((s->var)->sv_flags &
(0x00004000|0x00008000)) == 0x00008000) && (((svtype)((s->var)->sv_flags
& 0xff)) == SVt_PVGV || ((svtype)((s->var)->sv_flags & 0xff)) ==
SVt_PVLV)) failed: file "scalar.xs", line 49 at
/builddir/build/BUILD/Net-Server-2.000/blib/lib/Net/Server/PreFork.pm
line 213.
...
(repeated lots)
...
# Trouble running server: Assertion !((((s->var)->sv_flags &
(0x00004000|0x00008000)) == 0x00008000) && (((svtype)((s->var)->sv_flags
& 0xff)) == SVt_PVGV || ((svtype)((s->var)->sv_flags & 0xff)) ==
SVt_PVLV)) failed: file "scalar.xs", line 49 at
/builddir/build/BUILD/Net-Server-2.000/blib/lib/Net/Server/PreFork.pm
line 213.
# Trouble running server: Assertion !((((s->var)->sv_flags &
(0x00004000|0x00008000)) == 0x00008000) && (((svtype)((s->var)->sv_flags
& 0xff)) == SVt_PVGV || ((svtype)((s->var)->sv_flags & 0xff)) ==
SVt_PVLV)) failed: file "scalar.xs", line 49 at
/builddir/build/BUILD/Net-Server-2.000/blib/lib/Net/Server/PreFork.pm
line 213.
not ok 5 - Got the correct output from the server
# failed at t/Server_PreFork.t line 61
# Error: Timeout
# Trouble running server: Timeout
# Trouble running server: Timeout
Failed 1/5 subtests
(same for t/Server_PreForkSimple.t)
Test passes for me with 5.8.x and 5.14.x.
All tests run on Fedora Linux distributions of varying vintage.