summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ext/sysvmsg/tests/002.phpt4
1 files changed, 4 insertions, 0 deletions
diff --git a/ext/sysvmsg/tests/002.phpt b/ext/sysvmsg/tests/002.phpt
index 75b33917f9..e603ed02b5 100644
--- a/ext/sysvmsg/tests/002.phpt
+++ b/ext/sysvmsg/tests/002.phpt
@@ -10,6 +10,10 @@ if (!msg_send ($queue, 1, 'Hi', false /* ! no_ser*/, true/*block*/, $msg_err)) {
die("error\n");
}
var_dump($res = msg_receive ($queue, 1, $msg_type, 16384, $msg, true, 0, $msg_error));
+
+if (!msg_remove_queue($queue)) {
+ echo "BAD: queue removal failed\n";
+}
echo "Done\n";
?>