diff options
author | Hannes Magnusson <bjori@php.net> | 2011-06-05 12:08:14 +0000 |
---|---|---|
committer | Hannes Magnusson <bjori@php.net> | 2011-06-05 12:08:14 +0000 |
commit | d4f6e7d93777f704adffbc41f6a4e821cf46c00e (patch) | |
tree | 8e927bcbe5d1d23da2ce374380960ebe7c184f04 | |
parent | c1a96c16d06dd4e818a1c2b9c052df6705088ada (diff) | |
download | php-git-d4f6e7d93777f704adffbc41f6a4e821cf46c00e.tar.gz |
When you write to a symlink - you access the file itself, not the symlink, so we need to compare the atime to the orignal file
-rwxr-xr-x | ext/standard/tests/file/lstat_stat_variation6.phpt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/standard/tests/file/lstat_stat_variation6.phpt b/ext/standard/tests/file/lstat_stat_variation6.phpt index b7913e0b34..8704c6d7c6 100755 --- a/ext/standard/tests/file/lstat_stat_variation6.phpt +++ b/ext/standard/tests/file/lstat_stat_variation6.phpt @@ -47,7 +47,7 @@ clearstatcache(); var_dump( touch($link_name) ); -$new_stat = lstat($link_name); +$new_stat = stat($file_name); // compare self stats var_dump( compare_self_stat($old_stat) ); |