svn: /php/php-src/ branches/PHP_5_3/ext/standard/tests/file/fileinode_variation3.phpt trunk/ext/standard/tests/file/fileinode_variation3.phpt
| From: | Ferenc Kovacs | Date: | Thu, 19 Jan 2012 00:20:04 +0000 |
| Subject: | svn: /php/php-src/ branches/PHP_5_3/ext/standard/tests/file/fileinode_variation3.phpt trunk/ext/standard/tests/file/fileinode_variation3.phpt | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-67471@lists.php.net to get a copy of this message | ||
tyrael Thu, 19 Jan 2012 00:20:04 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=322460
Log:
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.
Bug: https://bugs.php.net/52078 (error getting bug
information)
Changed paths:
U php/php-src/branches/PHP_5_3/ext/standard/tests/file/fileinode_variation3.phpt
U php/php-src/trunk/ext/standard/tests/file/fileinode_variation3.phpt
Modified: php/php-src/branches/PHP_5_3/ext/standard/tests/file/fileinode_variation3.phpt
===================================================================
--- php/php-src/branches/PHP_5_3/ext/standard/tests/file/fileinode_variation3.phpt 2012-01-18
22:42:27 UTC (rev 322459)
+++ php/php-src/branches/PHP_5_3/ext/standard/tests/file/fileinode_variation3.phpt 2012-01-19
00:20:04 UTC (rev 322460)
@@ -57,15 +57,15 @@
--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
Modified: php/php-src/trunk/ext/standard/tests/file/fileinode_variation3.phpt
===================================================================
--- php/php-src/trunk/ext/standard/tests/file/fileinode_variation3.phpt 2012-01-18 22:42:27 UTC (rev
322459)
+++ php/php-src/trunk/ext/standard/tests/file/fileinode_variation3.phpt 2012-01-19 00:20:04 UTC (rev
322460)
@@ -57,15 +57,15 @@
--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