From: Ferenc Kovacs Date: Thu, 19 Jan 2012 00:20:04 +0000 (+0000) Subject: merging the patch from #52078, fixes the test on disk with huge inode size(fileinode... X-Git-Tag: PHP-5.4.1-RC1~26^2~139 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=8619b22ef39a4771dc5840540963e3f3e4199d30;p=php merging the patch from #52078, fixes the test on disk with huge inode size(fileinode() can overflow and return negative values there). will merge this to PHP_5_4 after the commit freeze. --- diff --git a/ext/standard/tests/file/fileinode_variation3.phpt b/ext/standard/tests/file/fileinode_variation3.phpt index 23cf3c7c7e..3595dbcf9d 100644 --- a/ext/standard/tests/file/fileinode_variation3.phpt +++ b/ext/standard/tests/file/fileinode_variation3.phpt @@ -57,15 +57,15 @@ rmdir($dir_name); --EXPECTF-- *** Testing fileinode() with different notations of file names *** - Iteration 1 - -int(%d) +int(%i) - Iteration 2 - Warning: fileinode(): stat failed for %s//fileinode_variation3/fileinode_variation3.tmp/ in %s on line %d bool(false) - Iteration 3 - -int(%d) +int(%i) - Iteration 4 - -int(%d) +int(%i) - Iteration 5 - Warning: fileinode(): stat failed for %s//fileinode_variation3/*.tmp in %s on line %d