diff options
author | Rasmus Lerdorf <rasmus@php.net> | 2013-08-02 16:23:18 -0400 |
---|---|---|
committer | Rasmus Lerdorf <rasmus@php.net> | 2013-08-02 16:23:18 -0400 |
commit | a03f0943ca0384b37083d371b121f23ad2054a83 (patch) | |
tree | f6fe64395290d583565f671a0992208cdb0862d5 | |
parent | d60e168a7a73b1bd311754943856c1598d1cd9dc (diff) | |
download | php-git-a03f0943ca0384b37083d371b121f23ad2054a83.tar.gz |
We shouldn't load any local ini files for these tests
-rw-r--r-- | ext/pcntl/tests/pcntl_exec.phpt | 2 | ||||
-rw-r--r-- | ext/pcntl/tests/pcntl_exec_2.phpt | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/ext/pcntl/tests/pcntl_exec.phpt b/ext/pcntl/tests/pcntl_exec.phpt index 9d2ec1dcf5..9a2c96ea38 100644 --- a/ext/pcntl/tests/pcntl_exec.phpt +++ b/ext/pcntl/tests/pcntl_exec.phpt @@ -8,7 +8,7 @@ if (!getenv("TEST_PHP_EXECUTABLE") || !is_executable(getenv("TEST_PHP_EXECUTABLE --FILE-- <?php echo "ok\n"; -pcntl_exec(getenv("TEST_PHP_EXECUTABLE")); +pcntl_exec(getenv("TEST_PHP_EXECUTABLE"), ['-n']); echo "nok\n"; ?> --EXPECT-- diff --git a/ext/pcntl/tests/pcntl_exec_2.phpt b/ext/pcntl/tests/pcntl_exec_2.phpt index 02b5e22aa4..e18527dba0 100644 --- a/ext/pcntl/tests/pcntl_exec_2.phpt +++ b/ext/pcntl/tests/pcntl_exec_2.phpt @@ -14,7 +14,7 @@ if (getenv("PCNTL_EXEC_TEST_IS_CHILD")) { exit; } echo "ok\n"; -pcntl_exec(getenv("TEST_PHP_EXECUTABLE"), array(__FILE__), array( +pcntl_exec(getenv("TEST_PHP_EXECUTABLE"), array('-n', __FILE__), array( b"PCNTL_EXEC_TEST_IS_CHILD" => b"1", b"FOO" => b"BAR", 1 => b"long") |