moriyoshi               Sat Jan  3 22:06:12 2004 EDT

  Modified files:              
    /php-src/ext/standard/tests/file    bug26615.phpt 
  Log:
  "seq" isn't available for all platforms.
  
  
Index: php-src/ext/standard/tests/file/bug26615.phpt
diff -u php-src/ext/standard/tests/file/bug26615.phpt:1.1 
php-src/ext/standard/tests/file/bug26615.phpt:1.2
--- php-src/ext/standard/tests/file/bug26615.phpt:1.1   Sat Dec 13 13:55:53 2003
+++ php-src/ext/standard/tests/file/bug26615.phpt       Sat Jan  3 22:06:11 2004
@@ -6,7 +6,7 @@
 <?php
 $out = array();
 $status = -1;
-exec('/usr/bin/seq 5000 | tr \'\n\' \' \'', $out, $status);
+exec($_ENV['TEST_PHP_EXECUTABLE'].' -r \'for($i=1;$i<=5000;$i++) print "$i\n";\' | tr 
\'\n\' \' \'', $out, $status);
 print_r($out);
 ?>
 --EXPECT--

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

Reply via email to