summaryrefslogtreecommitdiff
path: root/ext/pcntl/tests
diff options
context:
space:
mode:
authorIlia Alshanetsky <iliaa@php.net>2002-11-08 01:08:52 +0000
committerIlia Alshanetsky <iliaa@php.net>2002-11-08 01:08:52 +0000
commit1504ad65fcc91da567d1108ba104ed131ec4bb63 (patch)
tree36a3afd7ba2dfc00137b5e289ea96488f6493ec8 /ext/pcntl/tests
parent6e06948c1975e893114b0b5d60215f9263559c73 (diff)
downloadphp-git-1504ad65fcc91da567d1108ba104ed131ec4bb63.tar.gz
Added a skip condition in the event posix_kill(), which is used by the test
is not avaliable.
Diffstat (limited to 'ext/pcntl/tests')
-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--