Skip Menu |

This queue is for tickets about the Socket CPAN distribution.

Report information
The Basics
Id: 73039
Status: resolved
Priority: 0/
Queue: Socket

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

Bug Information
Severity: Important
Broken in: 1.95
Fixed in:
  • 1.95_003
  • 1.96



when installing Socket 1.95 on irix, Socket.t reports failures in lines 61 and 100, but inserting some diag() statements reveal expected values of $read and $buff usage of is() in lines 61 and 100 seems a typo, ok() should be used here
Subject: blah.txt
--- Socket-1.95__dist/t/Socket.t Thu Dec 01 15:03:25 MET 2011 +++ Socket-1.95/t/Socket.t Tue Dec 06 10:22:21 MET 2011 @@ -58,7 +58,7 @@ arm(0); } - is(($read == 0 || $buff eq "hello"), "PF_INET echo localhost reply"); + ok(($read == 0 || $buff eq "hello"), "PF_INET echo localhost reply"); } } @@ -97,7 +97,7 @@ arm(0); } - is(($read == 0 || $buff eq "olleh"), "PF_INET echo INADDR_LOOPBACK reply"); + ok(($read == 0 || $buff eq "olleh"), "PF_INET echo INADDR_LOOPBACK reply"); } }
On Tue Dec 06 04:57:42 2011, hsk@fli-leibniz.de wrote: Show quoted text
> usage of is() in lines 61 and 100 seems a typo, ok() should be used
here Ah yes; well caught. Fixed in development repo; will be in 1.96. -- Paul Evans