From 8619b22ef39a4771dc5840540963e3f3e4199d30 Mon Sep 17 00:00:00 2001 From: Ferenc Kovacs Date: Thu, 19 Jan 2012 00:20:04 +0000 Subject: [PATCH] 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. --- ext/standard/tests/file/fileinode_variation3.phpt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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 -- 2.40.0