bjori Sun, 05 Jun 2011 12:07:11 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=311828
Log:
Make sure we are writing more data then the block size
Changed paths:
U
php/php-src/branches/PHP_5_4/ext/standard/tests/file/lstat_stat_variation7.phpt
U php/php-src/trunk/ext/standard/tests/file/lstat_stat_variation7.phpt
Modified:
php/php-src/branches/PHP_5_4/ext/standard/tests/file/lstat_stat_variation7.phpt
===================================================================
---
php/php-src/branches/PHP_5_4/ext/standard/tests/file/lstat_stat_variation7.phpt
2011-06-05 11:31:18 UTC (rev 311827)
+++
php/php-src/branches/PHP_5_4/ext/standard/tests/file/lstat_stat_variation7.phpt
2011-06-05 12:07:11 UTC (rev 311828)
@@ -29,7 +29,7 @@
$fh = fopen($file_name,"w");
$old_stat = stat($file_name);
clearstatcache();
-fwrite($fh, (binary)"Hello World");
+fwrite($fh, str_repeat((binary)"Hello World", $old_stat['blksize']));
$new_stat = stat($file_name);
// compare self stats
Modified: php/php-src/trunk/ext/standard/tests/file/lstat_stat_variation7.phpt
===================================================================
--- php/php-src/trunk/ext/standard/tests/file/lstat_stat_variation7.phpt
2011-06-05 11:31:18 UTC (rev 311827)
+++ php/php-src/trunk/ext/standard/tests/file/lstat_stat_variation7.phpt
2011-06-05 12:07:11 UTC (rev 311828)
@@ -29,7 +29,7 @@
$fh = fopen($file_name,"w");
$old_stat = stat($file_name);
clearstatcache();
-fwrite($fh, (binary)"Hello World");
+fwrite($fh, str_repeat((binary)"Hello World", $old_stat['blksize']));
$new_stat = stat($file_name);
// compare self stats
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php