cvs: php4 /ext/standard/tests/file bug22414.phpt

From: Date: Tue, 04 Mar 2003 14:37:38 +0000
Subject: cvs: php4 /ext/standard/tests/file bug22414.phpt
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-19353@lists.php.net to get a copy of this message
iliaa Tue Mar 4 09:37:38 2003 EDT Modified files: /php4/ext/standard/tests/file bug22414.phpt Log: Skip test if running under safe-mode. Index: php4/ext/standard/tests/file/bug22414.phpt diff -u php4/ext/standard/tests/file/bug22414.phpt:1.2 php4/ext/standard/tests/file/bug22414.phpt:1.3 --- php4/ext/standard/tests/file/bug22414.phpt:1.2 Tue Feb 25 11:27:51 2003 +++ php4/ext/standard/tests/file/bug22414.phpt Tue Mar 4 09:37:38 2003 @@ -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');

« previous php.cvs (#19353) next »