From d4f6e7d93777f704adffbc41f6a4e821cf46c00e Mon Sep 17 00:00:00 2001 From: Hannes Magnusson Date: Sun, 5 Jun 2011 12:08:14 +0000 Subject: [PATCH] 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 --- ext/standard/tests/file/lstat_stat_variation6.phpt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) ); -- 2.50.1