]> granicus.if.org Git - php/commitdiff
Added a skip condition in the event posix_kill(), which is used by the test
authorIlia Alshanetsky <iliaa@php.net>
Fri, 8 Nov 2002 01:08:52 +0000 (01:08 +0000)
committerIlia Alshanetsky <iliaa@php.net>
Fri, 8 Nov 2002 01:08:52 +0000 (01:08 +0000)
is not avaliable.

ext/pcntl/tests/001.phpt

index 85ca4ab6e00506bd9734200c2a436bdef6521148..27aff8bbe484b55c62181f002323ed7d27da60e8 100644 (file)
@@ -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--