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");
}
}