cvs: php-src /ext/standard/tests/file lstat_stat_variation6.phpt

From: Date: Thu, 30 Aug 2007 04:02:57 +0000
Subject: cvs: php-src /ext/standard/tests/file lstat_stat_variation6.phpt
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-45992@lists.php.net to get a copy of this message
kraghuba Thu Aug 30 04:02:57 2007 UTC Modified files: /php-src/ext/standard/tests/file lstat_stat_variation6.phpt Log: fix tests: do not run when noatime set http://cvs.php.net/viewvc.cgi/php-src/ext/standard/tests/file/lstat_stat_variation6.phpt?r1=1.2&r2=1.3&diff_format=u Index: php-src/ext/standard/tests/file/lstat_stat_variation6.phpt diff -u php-src/ext/standard/tests/file/lstat_stat_variation6.phpt:1.2 php-src/ext/standard/tests/file/lstat_stat_variation6.phpt:1.3 --- php-src/ext/standard/tests/file/lstat_stat_variation6.phpt:1.2 Thu Jul 26 13:55:42 2007 +++ php-src/ext/standard/tests/file/lstat_stat_variation6.phpt Thu Aug 30 04:02:57 2007 @@ -5,6 +5,14 @@ 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

« previous php.cvs (#45992) next »