diff options
author | Ilia Alshanetsky <iliaa@php.net> | 2003-03-04 14:37:38 +0000 |
---|---|---|
committer | Ilia Alshanetsky <iliaa@php.net> | 2003-03-04 14:37:38 +0000 |
commit | b162e18a29537ce015c7140cb154aeaa45b0e3c8 (patch) | |
tree | adc1a55c037638c997eec2ce8aca8465ed6ef688 | |
parent | 5c6fa351d5da4e18aef0999e0f1b6260bca8b9c7 (diff) | |
download | php-git-b162e18a29537ce015c7140cb154aeaa45b0e3c8.tar.gz |
Skip test if running under safe-mode.
-rw-r--r-- | ext/standard/tests/file/bug22414.phpt | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/ext/standard/tests/file/bug22414.phpt b/ext/standard/tests/file/bug22414.phpt index 809ce50014..821eb4ecfe 100644 --- a/ext/standard/tests/file/bug22414.phpt +++ b/ext/standard/tests/file/bug22414.phpt @@ -2,6 +2,9 @@ Bug #22414: passthru() does not read data correctly --SKIPIF-- <?php + if (ini_get("safe_mode")) { + die('skip this test cannot be run under safe-mode'); + } $cat_path = @shell_exec("which cat"); if (empty($cat_path)) { die('skip cat binary needed for this test is not avaliable'); |