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 | 513faa54bb8162f4b6625cce045b0f4f1443855e (patch) | |
| tree | 809f9df525da57fadbef7833c66f352c60f5f713 | |
| parent | 8f3e6433b295ab84438348cebfa6d4835e5a78e3 (diff) | |
| download | php-git-513faa54bb8162f4b6625cce045b0f4f1443855e.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 |
