packages: php/bug-52078-fileinode.patch - more tests on fileinode signedness

glen glen at pld-linux.org
Mon Jul 26 22:08:18 CEST 2010


Author: glen                         Date: Mon Jul 26 20:08:18 2010 GMT
Module: packages                      Tag: HEAD
---- Log message:
- more tests on fileinode signedness

---- Files affected:
packages/php:
   bug-52078-fileinode.patch (1.1 -> 1.2) 

---- Diffs:

================================================================
Index: packages/php/bug-52078-fileinode.patch
diff -u packages/php/bug-52078-fileinode.patch:1.1 packages/php/bug-52078-fileinode.patch:1.2
--- packages/php/bug-52078-fileinode.patch:1.1	Sun Jun 13 23:33:31 2010
+++ packages/php/bug-52078-fileinode.patch	Mon Jul 26 22:08:12 2010
@@ -30,3 +30,345 @@
 +int(%i)
  
  *** Done ***
+--- php-5.3.3/ext/standard/tests/file/fileinode_basic.phpt~	2007-11-05 19:43:21.000000000 +0200
++++ php-5.3.3/ext/standard/tests/file/fileinode_basic.phpt	2010-07-26 19:31:43.613553760 +0300
+@@ -28,9 +28,9 @@
+ ?>
+ --EXPECTF--
+ *** Testing fileinode() with file, directory ***
+-%d
+-%d
+-%d
+-%d
++%i
++%i
++%i
++%i
+ 
+ *** Done ***
+--- php-5.3.3/ext/standard/tests/file/fileinode_variation.phpt~	2007-11-05 19:43:21.000000000 +0200
++++ php-5.3.3/ext/standard/tests/file/fileinode_variation.phpt	2010-07-26 19:34:01.610414378 +0300
+@@ -89,24 +89,24 @@
+ --EXPECTF--
+ *** Testing fileinode() with files, links and directories ***
+ -- Testing with files --
+-%d
+-%d
++%i
++%i
+ -- Testing with links: hard link --
+-%d
+-%d
++%i
++%i
+ -- Testing with links: soft link --
+-%d
+-%d
++%i
++%i
+ -- Testing after copying a file --
+-%d
+-%d
++%i
++%i
+ -- Testing after renaming the file --
+-%d
+-%d
++%i
++%i
+ -- Testing with directories --
+-%d
+-%d
++%i
++%i
+ -- Testing with binary input --
+-%d
+-%d
++%i
++%i
+ *** Done ***
+--- php-5.3.3/ext/standard/tests/file/fileinode_variation1.phpt~	2008-11-26 12:10:19.000000000 +0200
++++ php-5.3.3/ext/standard/tests/file/fileinode_variation1.phpt	2010-07-26 19:35:31.216291870 +0300
+@@ -42,7 +42,7 @@
+ 
+ --EXPECTF--
+ *** Testing fileinode() with links ***
+-int(%d)
+-int(%d)
++int(%i)
++int(%i)
+ 
+ *** Done ***
+--- php-5.3.3/ext/standard/tests/file/filestat.phpt~	2006-11-15 19:27:03.000000000 +0200
++++ php-5.3.3/ext/standard/tests/file/filestat.phpt	2010-07-26 19:37:10.367060798 +0300
+@@ -30,17 +30,17 @@
+ echo "Done\n";
+ ?>
+ --EXPECTF--	
++int(%i)
+ int(%d)
+ int(%d)
+ int(%d)
+ int(%d)
++int(%i)
+ int(%d)
+ int(%d)
+ int(%d)
+ int(%d)
+-int(%d)
+-int(%d)
+-int(%d)
++int(%i)
+ int(%d)
+ int(%d)
+ int(%d)
+--- php-5.3.3/ext/standard/tests/file/lstat_stat_variation18.phpt~	2010-07-26 19:43:12.000000000 +0300
++++ php-5.3.3/ext/standard/tests/file/lstat_stat_variation18.phpt	2010-07-26 19:43:14.470984630 +0300
+@@ -66,7 +66,7 @@
+   [0]=>
+   int(%d)
+   [1]=>
+-  int(%d)
++  int(%i)
+   [2]=>
+   int(%d)
+   [3]=>
+@@ -92,7 +92,7 @@
+   ["dev"]=>
+   int(%d)
+   ["ino"]=>
+-  int(%d)
++  int(%i)
+   ["mode"]=>
+   int(%d)
+   ["nlink"]=>
+@@ -122,7 +122,7 @@
+   [0]=>
+   int(%d)
+   [1]=>
+-  int(%d)
++  int(%i)
+   [2]=>
+   int(%d)
+   [3]=>
+@@ -148,7 +148,7 @@
+   ["dev"]=>
+   int(%d)
+   ["ino"]=>
+-  int(%d)
++  int(%i)
+   ["mode"]=>
+   int(%d)
+   ["nlink"]=>
+--- php-5.3.3/ext/standard/tests/file/lstat_stat_variation19.phpt~	2007-11-05 19:43:21.000000000 +0200
++++ php-5.3.3/ext/standard/tests/file/lstat_stat_variation19.phpt	2010-07-26 19:44:58.320079730 +0300
+@@ -67,7 +67,7 @@
+   [0]=>
+   int(%d)
+   [1]=>
+-  int(%d)
++  int(%i)
+   [2]=>
+   int(%d)
+   [3]=>
+@@ -93,7 +93,7 @@
+   ["dev"]=>
+   int(%d)
+   ["ino"]=>
+-  int(%d)
++  int(%i)
+   ["mode"]=>
+   int(%d)
+   ["nlink"]=>
+@@ -121,7 +121,7 @@
+   [0]=>
+   int(%d)
+   [1]=>
+-  int(%d)
++  int(%i)
+   [2]=>
+   int(%d)
+   [3]=>
+@@ -147,7 +147,7 @@
+   ["dev"]=>
+   int(%d)
+   ["ino"]=>
+-  int(%d)
++  int(%i)
+   ["mode"]=>
+   int(%d)
+   ["nlink"]=>
+@@ -177,7 +177,7 @@
+   [0]=>
+   int(%d)
+   [1]=>
+-  int(%d)
++  int(%i)
+   [2]=>
+   int(%d)
+   [3]=>
+@@ -203,7 +203,7 @@
+   ["dev"]=>
+   int(%d)
+   ["ino"]=>
+-  int(%d)
++  int(%i)
+   ["mode"]=>
+   int(%d)
+   ["nlink"]=>
+@@ -231,7 +231,7 @@
+   [0]=>
+   int(%d)
+   [1]=>
+-  int(%d)
++  int(%i)
+   [2]=>
+   int(%d)
+   [3]=>
+@@ -257,7 +257,7 @@
+   ["dev"]=>
+   int(%d)
+   ["ino"]=>
+-  int(%d)
++  int(%i)
+   ["mode"]=>
+   int(%d)
+   ["nlink"]=>
+--- php-5.3.3/ext/standard/tests/file/lstat_stat_variation20.phpt~	2007-07-26 16:38:24.000000000 +0300
++++ php-5.3.3/ext/standard/tests/file/lstat_stat_variation20.phpt	2010-07-26 19:46:33.907004377 +0300
+@@ -69,7 +69,7 @@
+   [0]=>
+   int(%d)
+   [1]=>
+-  int(%d)
++  int(%i)
+   [2]=>
+   int(%d)
+   [3]=>
+@@ -95,7 +95,7 @@
+   ["dev"]=>
+   int(%d)
+   ["ino"]=>
+-  int(%d)
++  int(%i)
+   ["mode"]=>
+   int(%d)
+   ["nlink"]=>
+@@ -125,7 +125,7 @@
+   [0]=>
+   int(%d)
+   [1]=>
+-  int(%d)
++  int(%i)
+   [2]=>
+   int(%d)
+   [3]=>
+@@ -151,7 +151,7 @@
+   ["dev"]=>
+   int(%d)
+   ["ino"]=>
+-  int(%d)
++  int(%i)
+   ["mode"]=>
+   int(%d)
+   ["nlink"]=>
+@@ -179,7 +179,7 @@
+   [0]=>
+   int(%d)
+   [1]=>
+-  int(%d)
++  int(%i)
+   [2]=>
+   int(%d)
+   [3]=>
+@@ -205,7 +205,7 @@
+   ["dev"]=>
+   int(%d)
+   ["ino"]=>
+-  int(%d)
++  int(%i)
+   ["mode"]=>
+   int(%d)
+   ["nlink"]=>
+@@ -233,7 +233,7 @@
+   [0]=>
+   int(%d)
+   [1]=>
+-  int(%d)
++  int(%i)
+   [2]=>
+   int(%d)
+   [3]=>
+@@ -259,7 +259,7 @@
+   ["dev"]=>
+   int(%d)
+   ["ino"]=>
+-  int(%d)
++  int(%i)
+   ["mode"]=>
+   int(%d)
+   ["nlink"]=>
+--- php-5.3.3/ext/standard/tests/file/tempnam_variation1.phpt~	2008-11-26 12:10:19.000000000 +0200
++++ php-5.3.3/ext/standard/tests/file/tempnam_variation1.phpt	2010-07-26 20:24:46.505943227 +0300
+@@ -66,51 +66,51 @@
+ -- Iteration 1 --
+ File name is => %s%etempnam_variation1.tmp%s
+ File permissions are => 100600
+-File inode is => %d
++File inode is => %i
+ File created in => directory specified
+ -- Iteration 2 --
+ File name is => %s%etempnam_variation1.tmp%s
+ File permissions are => 100600
+-File inode is => %d
++File inode is => %i
+ File created in => directory specified
+ -- Iteration 3 --
+ File name is => %s%etempnam_variation1.tmp%s
+ File permissions are => 100600
+-File inode is => %d
++File inode is => %i
+ File created in => directory specified
+ -- Iteration 4 --
+ File name is => %s%etempnam_variation1.tmp%s
+ File permissions are => 100600
+-File inode is => %d
++File inode is => %i
+ File created in => directory specified
+ -- Iteration 5 --
+ File name is => %s%etempnam_variation1.tmp%s
+ File permissions are => 100600
+-File inode is => %d
++File inode is => %i
+ File created in => directory specified
+ -- Iteration 6 --
+ File name is => %s%etempnam_variation1.tmp%s
+ File permissions are => 100600
+-File inode is => %d
++File inode is => %i
+ File created in => directory specified
+ -- Iteration 7 --
+ File name is => %s%etempnam_variation1.tmp%s
+ File permissions are => 100600
+-File inode is => %d
++File inode is => %i
+ File created in => directory specified
+ -- Iteration 8 --
+ File name is => %s%etempnam_variation1.tmp%s
+ File permissions are => 100600
+-File inode is => %d
++File inode is => %i
+ File created in => directory specified
+ -- Iteration 9 --
+ File name is => %s%etempnam_variation1.tmp%s
+ File permissions are => 100600
+-File inode is => %d
++File inode is => %i
+ File created in => directory specified
+ -- Iteration 10 --
+ File name is => %s%etempnam_variation1.tmp%s
+ File permissions are => 100600
+-File inode is => %d
++File inode is => %i
+ File created in => directory specified
+ *** Done ***
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/php/bug-52078-fileinode.patch?r1=1.1&r2=1.2&f=u



More information about the pld-cvs-commit mailing list