cvs: php-src(PHP_5_3) /ext/pcntl/tests 002.phpt

From: Date: Mon, 08 Sep 2008 12:08:41 +0000
Subject: cvs: php-src(PHP_5_3) /ext/pcntl/tests 002.phpt
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-52992@lists.php.net to get a copy of this message
indeyets Mon Sep 8 12:08:41 2008 UTC Modified files: (Branch: PHP_5_3) /php-src/ext/pcntl/tests 002.phpt Log: pcntl_sigwaitinfo() and pcntl_sigtimedwait() functions are conditionally enabled, so, test should verify if they are present http://cvs.php.net/viewvc.cgi/php-src/ext/pcntl/tests/002.phpt?r1=1.1.2.3&r2=1.1.2.4&diff_format=u Index: php-src/ext/pcntl/tests/002.phpt diff -u php-src/ext/pcntl/tests/002.phpt:1.1.2.3 php-src/ext/pcntl/tests/002.phpt:1.1.2.4 --- php-src/ext/pcntl/tests/002.phpt:1.1.2.3 Tue Aug 5 15:12:19 2008 +++ php-src/ext/pcntl/tests/002.phpt Mon Sep 8 12:08:41 2008 @@ -4,6 +4,7 @@ <?php if (!extension_loaded('pcntl')) die('skip pcntl extension not available'); elseif (!extension_loaded('posix')) die('skip posix extension not available'); + elseif (!function_exists('pcntl_sigwaitinfo') or !function_exists('pcntl_sigtimedwait')) die('skip required functionality is not available'); ?> --FILE-- <?php

« previous php.cvs (#52992) next »