projects
/
p5sagit/p5-mst-13.2.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(parent:
167e09e
)
error-check for accept() test
Gurusamy Sarathy [Thu, 4 Mar 1999 04:36:08 +0000 (
04:36
+0000)]
p4raw-id: //depot/perl@3062
t/lib/io_sock.t
patch
|
blob
|
blame
|
history
diff --git
a/t/lib/io_sock.t
b/t/lib/io_sock.t
index
79be190
..
edd327e
100755
(executable)
--- a/
t/lib/io_sock.t
+++ b/
t/lib/io_sock.t
@@
-44,7
+44,7
@@
$port = $listen->sockport;
if($pid = fork()) {
- $sock = $listen->accept();
+ $sock = $listen->accept() or die "accept failed: $!";
print "ok 2\n";
$sock->autoflush(1);