Subject: | [Patch] test 3 failure |
Hello,
I had test failures with Net::Telnet. Found what I'm pretty sure is an error in test three.
If tests 1 and 2 succeed, select should have found one live handle. Patch attached.
Tom
--- Net-Telnet-3.02/t/select.t.orig Thu Jun 10 10:25:52 1999
+++ Net-Telnet-3.02/t/select.t Thu Jan 24 04:37:39 2002
@@ -22,7 +22,7 @@
test ($@ eq "");
## Did select() return a correct value?
- test (defined($nfound) and $nfound == 0);
+ test (defined($nfound) and $nfound == 1);
exit;
} # end main program