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.5.0alpha1~606 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=59fd8d21c97024dd4cf1308be8c5bc82b5ba3ca7;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 6cb95ecf34..ca84864b59 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