summaryrefslogtreecommitdiff
path: root/ext/sysvmsg
diff options
context:
space:
mode:
Diffstat (limited to 'ext/sysvmsg')
-rw-r--r--ext/sysvmsg/tests/001.phpt2
-rw-r--r--ext/sysvmsg/tests/002.phpt2
-rw-r--r--ext/sysvmsg/tests/005.phpt4
-rw-r--r--ext/sysvmsg/tests/006.phpt2
4 files changed, 5 insertions, 5 deletions
diff --git a/ext/sysvmsg/tests/001.phpt b/ext/sysvmsg/tests/001.phpt
index d3a5b1e3e6..666ad274e2 100644
--- a/ext/sysvmsg/tests/001.phpt
+++ b/ext/sysvmsg/tests/001.phpt
@@ -4,7 +4,7 @@ send/receive serialized message.
<?php // vim600:syn=php
if (!extension_loaded("sysvmsg")) print "skip"; ?>
--FILE--
-<?php
+<?php
$key = ftok(dirname(__FILE__) . "/001.phpt", "p");
$q = msg_get_queue($key);
msg_send($q, 1, "hello") or print "FAIL\n";
diff --git a/ext/sysvmsg/tests/002.phpt b/ext/sysvmsg/tests/002.phpt
index e603ed02b5..76f966caa6 100644
--- a/ext/sysvmsg/tests/002.phpt
+++ b/ext/sysvmsg/tests/002.phpt
@@ -14,7 +14,7 @@ var_dump($res = msg_receive ($queue, 1, $msg_type, 16384, $msg, true, 0, $msg_er
if (!msg_remove_queue($queue)) {
echo "BAD: queue removal failed\n";
}
-
+
echo "Done\n";
?>
--EXPECTF--
diff --git a/ext/sysvmsg/tests/005.phpt b/ext/sysvmsg/tests/005.phpt
index d9437c63e4..a2680c21c0 100644
--- a/ext/sysvmsg/tests/005.phpt
+++ b/ext/sysvmsg/tests/005.phpt
@@ -13,7 +13,7 @@ foreach ($tests as $q) {
do {
$id = ftok(__FILE__, chr(mt_rand(0, 255)));
} while (msg_queue_exists($id));
-
+
$q = msg_get_queue($id) or die("Failed to create queue");
msg_remove_queue($q) or die("Failed to close queue");
}
@@ -21,7 +21,7 @@ foreach ($tests as $q) {
echo "Using '$q' as queue resource:\n";
$errno = 0;
-
+
var_dump(msg_set_queue($q, array('msg_qbytes' => 1)));
var_dump(msg_stat_queue($q));
diff --git a/ext/sysvmsg/tests/006.phpt b/ext/sysvmsg/tests/006.phpt
index cb4fd2457e..2d4976033c 100644
--- a/ext/sysvmsg/tests/006.phpt
+++ b/ext/sysvmsg/tests/006.phpt
@@ -23,7 +23,7 @@ foreach ($tests as $elem) {
if (!msg_remove_queue($queue)) {
echo "BAD: queue removal failed\n";
}
-
+
echo "Done\n";
?>
--EXPECTF--