summaryrefslogtreecommitdiff
path: root/ext/pcntl/tests/001.phpt
diff options
context:
space:
mode:
Diffstat (limited to 'ext/pcntl/tests/001.phpt')
-rw-r--r--ext/pcntl/tests/001.phpt5
1 files changed, 4 insertions, 1 deletions
diff --git a/ext/pcntl/tests/001.phpt b/ext/pcntl/tests/001.phpt
index 85ca4ab6e0..27aff8bbe4 100644
--- a/ext/pcntl/tests/001.phpt
+++ b/ext/pcntl/tests/001.phpt
@@ -1,7 +1,10 @@
--TEST--
Test pcntl wait functionality
--SKIPIF--
-<?php if (!extension_loaded("pcntl")) print "skip"; ?>
+<?php
+ if (!extension_loaded("pcntl")) print "skip";
+ if (!function_exists("posix_kill")) print "skip posix_kill() not avaliable";
+?>
--POST--
--GET--
--FILE--