summaryrefslogtreecommitdiff
path: root/ext
diff options
context:
space:
mode:
authorChristoph M. Becker <cmbecker69@gmx.de>2020-07-03 10:31:17 +0200
committerChristoph M. Becker <cmbecker69@gmx.de>2020-07-03 10:37:40 +0200
commita58d865f65acba6b876a6ed1960aaa7b28685e34 (patch)
treec576b2e1ca32e80e0bff4013a205b734428d3866 /ext
parent1b961c0c423a0b868cc2e400a0fb3343711746a4 (diff)
downloadphp-git-a58d865f65acba6b876a6ed1960aaa7b28685e34.tar.gz
Fix tests for x86 Windows
`st_dev` deliberately overflows on such systems, cf. <http://svn.php.net/viewvc?view=revision&revision=350100>.
Diffstat (limited to 'ext')
-rw-r--r--ext/standard/tests/file/lstat_stat_variation18.phpt8
-rw-r--r--ext/standard/tests/file/lstat_stat_variation19.phpt16
2 files changed, 12 insertions, 12 deletions
diff --git a/ext/standard/tests/file/lstat_stat_variation18.phpt b/ext/standard/tests/file/lstat_stat_variation18.phpt
index 56fe90d16f..a1c5cf0ca7 100644
--- a/ext/standard/tests/file/lstat_stat_variation18.phpt
+++ b/ext/standard/tests/file/lstat_stat_variation18.phpt
@@ -57,7 +57,7 @@ rmdir("$file_path/lstat_stat_variation18");
-- Testing stat() on filename stored inside an object --
array(26) {
[0]=>
- int(%d)
+ int(%i)
[1]=>
int(%d)
[2]=>
@@ -83,7 +83,7 @@ array(26) {
[12]=>
int(%i)
["dev"]=>
- int(%d)
+ int(%i)
["ino"]=>
int(%d)
["mode"]=>
@@ -113,7 +113,7 @@ array(26) {
-- Testing stat() on directory name stored inside an object --
array(26) {
[0]=>
- int(%d)
+ int(%i)
[1]=>
int(%d)
[2]=>
@@ -139,7 +139,7 @@ array(26) {
[12]=>
int(%i)
["dev"]=>
- int(%d)
+ int(%i)
["ino"]=>
int(%d)
["mode"]=>
diff --git a/ext/standard/tests/file/lstat_stat_variation19.phpt b/ext/standard/tests/file/lstat_stat_variation19.phpt
index 122b4062bb..b19b38024a 100644
--- a/ext/standard/tests/file/lstat_stat_variation19.phpt
+++ b/ext/standard/tests/file/lstat_stat_variation19.phpt
@@ -58,7 +58,7 @@ rmdir("$file_path/lstat_stat_variation19");
-- Testing stat() on filename stored inside an array --
array(26) {
[0]=>
- int(%d)
+ int(%i)
[1]=>
int(%d)
[2]=>
@@ -84,7 +84,7 @@ array(26) {
[12]=>
int(%i)
["dev"]=>
- int(%d)
+ int(%i)
["ino"]=>
int(%d)
["mode"]=>
@@ -112,7 +112,7 @@ array(26) {
}
array(26) {
[0]=>
- int(%d)
+ int(%i)
[1]=>
int(%d)
[2]=>
@@ -138,7 +138,7 @@ array(26) {
[12]=>
int(%i)
["dev"]=>
- int(%d)
+ int(%i)
["ino"]=>
int(%d)
["mode"]=>
@@ -168,7 +168,7 @@ array(26) {
-- Testing stat() on dir name stored inside an array --
array(26) {
[0]=>
- int(%d)
+ int(%i)
[1]=>
int(%d)
[2]=>
@@ -194,7 +194,7 @@ array(26) {
[12]=>
int(%i)
["dev"]=>
- int(%d)
+ int(%i)
["ino"]=>
int(%d)
["mode"]=>
@@ -222,7 +222,7 @@ array(26) {
}
array(26) {
[0]=>
- int(%d)
+ int(%i)
[1]=>
int(%d)
[2]=>
@@ -248,7 +248,7 @@ array(26) {
[12]=>
int(%i)
["dev"]=>
- int(%d)
+ int(%i)
["ino"]=>
int(%d)
["mode"]=>