Skip Menu |

This queue is for tickets about the Net-Server CPAN distribution.

Report information
The Basics
Id: 77682
Status: resolved
Priority: 0/
Queue: Net-Server

People
Owner: Nobody in particular
Requestors: hsk [...] fli-leibniz.de
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: 2.003
Fixed in: (no value)



Subject: fixes to t/Port_Configuration.t
"make test" fails for Net-Server-2.003 if Socket6 libraries are not available - in the SKIP statement of t/Port_Configuration.t, the number of tests to skip is incorrect trivial patch, also for the SKIP statement for IO::Socket::UNIX, is attached :-)
Subject: p.txt
diff -ur Net-Server-2.003__dist/t/Port_Configuration.t Net-Sever-2.003/t/Port_Configuration.t --- Net-Server-2.003__dist/t/Port_Configuration.t 2012-06-06 15:58:37.000000000 +0200 +++ Net-Sever-2.003/t/Port_Configuration.t 2012-06-07 08:53:17.545593482 +0200 @@ -240,7 +240,7 @@ if (!eval { require IO::Socket::UNIX }) { my $err = $@; SKIP: { - skip "Cannot load IO::Socket::UNIX - skipping UNIX proto tests", 7; + skip "Cannot load IO::Socket::UNIX - skipping UNIX proto tests", 8; }; } else { p_c([port => 'foo/bar/unix'], { @@ -333,7 +333,7 @@ }) { chomp(my $err = $@); SKIP: { - skip "Cannot load Socket6 libraries - skipping IPv6 proto tests ($err)", 11; + skip "Cannot load Socket6 libraries - skipping IPv6 proto tests ($err)", 13; }; } else {
Fixes for this as well as other issues are in 2.004 which was just uploaded. On Thu Jun 07 03:18:23 2012, hsk@fli-leibniz.de wrote: Show quoted text
> "make test" fails for Net-Server-2.003 if Socket6 libraries are not > available - in the SKIP statement of t/Port_Configuration.t, the number > of tests to skip is incorrect > > trivial patch, also for the SKIP statement for IO::Socket::UNIX, is > attached :-)