From: Matteo Beccati Date: Sun, 29 Mar 2009 16:42:49 +0000 (+0000) Subject: - Fixed pcntl test for platforms not accepting a very large timeout in sigtimedwait() X-Git-Tag: php-5.4.0alpha1~191^2~4027 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=35386a9d2b138f68c01492f71516b55a584b849c;p=php - Fixed pcntl test for platforms not accepting a very large timeout in sigtimedwait() # It isn't really necessary for the child to wait for PHP_INT_MAX seconds --- diff --git a/ext/pcntl/tests/002.phpt b/ext/pcntl/tests/002.phpt index 2af6d04963..3cec8833f8 100644 --- a/ext/pcntl/tests/002.phpt +++ b/ext/pcntl/tests/002.phpt @@ -68,7 +68,7 @@ if ($pid == -1) { var_dump(pcntl_sigtimedwait(array(SIGTERM), $signo, PHP_INT_MAX, PHP_INT_MAX)); } else { $siginfo = NULL; - pcntl_sigtimedwait(array(SIGINT), $siginfo, PHP_INT_MAX, 999999999); + pcntl_sigtimedwait(array(SIGINT), $siginfo, 3600, 0); exit; }