summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xext/standard/tests/file/lstat_stat_variation6.phpt8
1 files changed, 8 insertions, 0 deletions
diff --git a/ext/standard/tests/file/lstat_stat_variation6.phpt b/ext/standard/tests/file/lstat_stat_variation6.phpt
index 01fa1ec80f..b154a496db 100755
--- a/ext/standard/tests/file/lstat_stat_variation6.phpt
+++ b/ext/standard/tests/file/lstat_stat_variation6.phpt
@@ -5,6 +5,14 @@ Test lstat() and stat() functions: usage variations - effects of touch() on link
if (substr(PHP_OS, 0, 3) == 'WIN') {
die('skip.. lstat() not available on Windows');
}
+
+// checking for atime update whether it is enabled or disabled
+exec("mount", $mount_output);
+foreach( $mount_output as $out ) {
+ if( stristr($out, "noatime") )
+ die('skip.. atime update is disabled, hence skip the test');
+}
+
?>
--FILE--
<?php