summaryrefslogtreecommitdiff
path: root/ext/IPC
diff options
context:
space:
mode:
Diffstat (limited to 'ext/IPC')
-rwxr-xr-xext/IPC/SysV/t/msg.t3
1 files changed, 1 insertions, 2 deletions
diff --git a/ext/IPC/SysV/t/msg.t b/ext/IPC/SysV/t/msg.t
index e20d93c7c5..fde699c301 100755
--- a/ext/IPC/SysV/t/msg.t
+++ b/ext/IPC/SysV/t/msg.t
@@ -35,8 +35,7 @@ print "ok 1\n";
#Putting a message on the queue
$msgtype = 1;
$msg = "hello";
-$msq->snd($msgtype,$msg,0) || print "not ";
-print "ok 2\n";
+print $msq->snd($msgtype,$msg,IPC_NOWAIT) ? "ok 2\n" : "not ok 2 # $!\n";
#Check if there are messages on the queue
$ds = $msq->stat() or print "not ";