diff --git a/run-tests.php b/run-tests.php index bc5f99bc0971e..4bd154611866d 100755 --- a/run-tests.php +++ b/run-tests.php @@ -1080,7 +1080,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);