svn: /php/php-src/ branches/PHP_5_4/ext/standard/tests/file/lstat_stat_variation7.phpt trunk/ext/standard/tests/file/lstat_stat_variation7.phpt

From: Date: Sun, 05 Jun 2011 12:07:11 +0000
Subject: svn: /php/php-src/ branches/PHP_5_4/ext/standard/tests/file/lstat_stat_variation7.phpt trunk/ext/standard/tests/file/lstat_stat_variation7.phpt
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-65123@lists.php.net to get a copy of this message
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

« previous php.cvs (#65123) next »