diff options
-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'); |