]> granicus.if.org Git - php/commitdiff
MFH
authorIlia Alshanetsky <iliaa@php.net>
Tue, 4 Mar 2003 16:09:17 +0000 (16:09 +0000)
committerIlia Alshanetsky <iliaa@php.net>
Tue, 4 Mar 2003 16:09:17 +0000 (16:09 +0000)
ext/standard/tests/file/bug22414.phpt

index 0488a137d76845905b1c203f32a98884da747d70..b770bcc53ffd5fd763f58b4102f5057dcc9576ad 100644 (file)
@@ -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');