diff options
author | Hannes Magnusson <bjori@php.net> | 2011-06-05 12:07:11 +0000 |
---|---|---|
committer | Hannes Magnusson <bjori@php.net> | 2011-06-05 12:07:11 +0000 |
commit | c1a96c16d06dd4e818a1c2b9c052df6705088ada (patch) | |
tree | bc9b5001417e70d405a39390c63bb1cab9ffac2c | |
parent | bf3cd0675d0960a0568cad0b59e1d35c325eae0c (diff) | |
download | php-git-c1a96c16d06dd4e818a1c2b9c052df6705088ada.tar.gz |
Make sure we are writing more data then the block size
-rw-r--r-- | ext/standard/tests/file/lstat_stat_variation7.phpt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/standard/tests/file/lstat_stat_variation7.phpt b/ext/standard/tests/file/lstat_stat_variation7.phpt index f950c8fe6b..2296193c91 100644 --- a/ext/standard/tests/file/lstat_stat_variation7.phpt +++ b/ext/standard/tests/file/lstat_stat_variation7.phpt @@ -29,7 +29,7 @@ echo "*** Testing stat() on file after data is written in it ***\n"; $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 |