cvs: php4 /ext/pcntl/tests 001.phpt
| From: | Ilia Alshanetsky | Date: | Fri, 08 Nov 2002 01:08:52 +0000 |
| Subject: | cvs: php4 /ext/pcntl/tests 001.phpt | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-15893@lists.php.net to get a copy of this message | ||
iliaa Thu Nov 7 20:08:52 2002 EDT
Modified files:
/php4/ext/pcntl/tests 001.phpt
Log:
Added a skip condition in the event posix_kill(), which is used by the test
is not avaliable.
Index: php4/ext/pcntl/tests/001.phpt
diff -u php4/ext/pcntl/tests/001.phpt:1.5 php4/ext/pcntl/tests/001.phpt:1.6
--- php4/ext/pcntl/tests/001.phpt:1.5 Fri Apr 12 12:54:01 2002
+++ php4/ext/pcntl/tests/001.phpt Thu Nov 7 20:08:52 2002
@@ -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--