diff options
author | Arnaud Le Blanc <lbarnaud@php.net> | 2008-09-12 14:15:05 +0000 |
---|---|---|
committer | Arnaud Le Blanc <lbarnaud@php.net> | 2008-09-12 14:15:05 +0000 |
commit | 343d958b25ca8dad260bb6b765b84ad4df6bb53c (patch) | |
tree | b5991521e6f0aff063c497c30a2728e8d39c0117 /run-tests.php | |
parent | b08615c675b817383e41fee2e8a9b86b17972a7d (diff) | |
download | php-git-343d958b25ca8dad260bb6b765b84ad4df6bb53c.tar.gz |
MFH: Fix cwd when running tests out of tree with ZTS builds (fixes #45837)
Diffstat (limited to 'run-tests.php')
-rwxr-xr-x | run-tests.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/run-tests.php b/run-tests.php index c9a43f939c..814f36ce49 100755 --- a/run-tests.php +++ b/run-tests.php @@ -996,7 +996,7 @@ function error_report($testname, $logname, $tested) function system_with_timeout($commandline, $env = null, $stdin = null) { - global $leak_check; + global $leak_check, $cwd; $data = ''; @@ -1004,7 +1004,7 @@ function system_with_timeout($commandline, $env = null, $stdin = null) 0 => array('pipe', 'r'), 1 => array('pipe', 'w'), 2 => array('pipe', 'w') - ), $pipes, null, $env, array('suppress_errors' => true, 'binary_pipes' => true)); + ), $pipes, $cwd, $env, array('suppress_errors' => true, 'binary_pipes' => true)); if (!$proc) { return false; |