summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatteo Beccati <mbeccati@php.net>2009-03-29 16:43:47 +0000
committerMatteo Beccati <mbeccati@php.net>2009-03-29 16:43:47 +0000
commit638af1ec910725ada1c19dfcf6f465b9650ac78f (patch)
treeb5ac749b9977751100e21d9ff2a6ebf7999cec55
parent1fcabf75fe6a473b0d5da05b201de46afca5c75a (diff)
downloadphp-git-638af1ec910725ada1c19dfcf6f465b9650ac78f.tar.gz
MFH:
- 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
-rw-r--r--ext/pcntl/tests/002.phpt2
1 files changed, 1 insertions, 1 deletions
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;
}