tony2001                Thu Jan  8 21:53:36 2009 UTC

  Modified files:              
    /php-src/ext/standard/tests/file    disk_free_space_basic.phpt 
  Log:
  fix test
  use bigger file to be able to see the difference
  
  
http://cvs.php.net/viewvc.cgi/php-src/ext/standard/tests/file/disk_free_space_basic.phpt?r1=1.5&r2=1.6&diff_format=u
Index: php-src/ext/standard/tests/file/disk_free_space_basic.phpt
diff -u php-src/ext/standard/tests/file/disk_free_space_basic.phpt:1.5 
php-src/ext/standard/tests/file/disk_free_space_basic.phpt:1.6
--- php-src/ext/standard/tests/file/disk_free_space_basic.phpt:1.5      Tue Dec 
30 16:38:17 2008
+++ php-src/ext/standard/tests/file/disk_free_space_basic.phpt  Thu Jan  8 
21:53:36 2009
@@ -25,8 +25,8 @@
 var_dump( $space1 ); 
 
 $fh = fopen($file_path.$dir."/disk_free_space.tmp", "a");
-for( $i=1; $i<=1000; $i++)
-fwrite($fh, (binary)"x");
+$data = str_repeat("x", 4096);
+fwrite($fh, (binary)$data);
 fclose($fh);
 
 echo "\n Free Space after writing to a file\n";



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

Reply via email to