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

From: Date: Thu, 30 Aug 2007 04:04:58 +0000
Subject: cvs: php-src(PHP_5_2) /ext/standard/tests/file lstat_stat_variation6.phpt
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-45993@lists.php.net to get a copy of this message
kraghuba Thu Aug 30 04:04:58 2007 UTC Modified files: (Branch: PHP_5_2) /php-src/ext/standard/tests/file lstat_stat_variation6.phpt Log: fix test: do not run when noatime set http://cvs.php.net/viewvc.cgi/php-src/ext/standard/tests/file/lstat_stat_variation6.phpt?r1=1.1.2.3&r2=1.1.2.4&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.1.2.3 php-src/ext/standard/tests/file/lstat_stat_variation6.phpt:1.1.2.4 --- php-src/ext/standard/tests/file/lstat_stat_variation6.phpt:1.1.2.3 Thu Jul 26 13:38:24 2007 +++ php-src/ext/standard/tests/file/lstat_stat_variation6.phpt Thu Aug 30 04:04:58 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 (#45993) next »