summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xrun-tests.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/run-tests.php b/run-tests.php
index a615efccdc..ddd1f5f494 100755
--- a/run-tests.php
+++ b/run-tests.php
@@ -1082,7 +1082,7 @@ function system_with_timeout($commandline, $env = null, $stdin = null)
} else if ($n === 0) {
/* timed out */
$data .= b"\n ** ERROR: process timed out **\n";
- proc_terminate($proc);
+ proc_terminate($proc, 9);
return $data;
} else if ($n > 0) {
$line = (binary) fread($pipes[1], 8192);