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

From: Date: Tue, 25 Feb 2003 16:27:51 +0000
Subject: cvs: php4 /ext/standard/tests/file bug22414.phpt
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-19195@lists.php.net to get a copy of this message
iliaa Tue Feb 25 11:27:51 2003 EDT Modified files: /php4/ext/standard/tests/file bug22414.phpt Log: Fixed test. Index: php4/ext/standard/tests/file/bug22414.phpt diff -u php4/ext/standard/tests/file/bug22414.phpt:1.1 php4/ext/standard/tests/file/bug22414.phpt:1.2 --- php4/ext/standard/tests/file/bug22414.phpt:1.1 Tue Feb 25 11:21:00 2003 +++ php4/ext/standard/tests/file/bug22414.phpt Tue Feb 25 11:27:51 2003 @@ -2,8 +2,9 @@ Bug #22414: passthru() does not read data correctly --SKIPIF-- <?php - if (empty(@shell_exec("which cat")) { - dir('skip cat binary needed for this test is not avaliable'); + $cat_path = @shell_exec("which cat"); + if (empty($cat_path)) { + die('skip cat binary needed for this test is not avaliable'); } ?> --POST--

« previous php.cvs (#19195) next »