diff options
author | Alexey Zakhlestin <indeyets@php.net> | 2008-09-08 12:08:41 +0000 |
---|---|---|
committer | Alexey Zakhlestin <indeyets@php.net> | 2008-09-08 12:08:41 +0000 |
commit | 2955943a78ead66d6a39664447cf2fe5db4304c5 (patch) | |
tree | 4e50141af7d40cd6a4a71a8de51bc0cde858756d /ext/pcntl | |
parent | 4126e2d8f119b0e23f55cfbf5f23825407d9538c (diff) | |
download | php-git-2955943a78ead66d6a39664447cf2fe5db4304c5.tar.gz |
pcntl_sigwaitinfo() and pcntl_sigtimedwait() functions are conditionally enabled, so, test should verify if they are present
Diffstat (limited to 'ext/pcntl')
-rw-r--r-- | ext/pcntl/tests/002.phpt | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ext/pcntl/tests/002.phpt b/ext/pcntl/tests/002.phpt index 9ea7cf9bb1..c5731fb020 100644 --- a/ext/pcntl/tests/002.phpt +++ b/ext/pcntl/tests/002.phpt @@ -4,6 +4,7 @@ pcntl: pcntl_sigprocmask(), pcntl_sigwaitinfo(), pcntl_sigtimedwait() <?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 |