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--



-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to