Skip to content

Commit 354cb67

Browse files
committed
fix tests
1 parent 48cb344 commit 354cb67

File tree

5 files changed

+20
-2
lines changed

5 files changed

+20
-2
lines changed

ext/sockets/tests/socket_strerror.phpt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,4 +154,4 @@ string(20) "Key has been revoked"
154154
string(27) "Key was rejected by service"
155155
string(10) "Owner died"
156156
string(21) "State not recoverable"
157-
string(37) "Operation not possible due to RF-kill"
157+
string(%d) "%s"

ext/standard/tests/file/fscanf_variation39.phpt

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
--TEST--
22
Test fscanf() function: usage variations - unsigned int formats with integer values
3+
--SKIPIF--
4+
<?php
5+
if (PHP_INT_SIZE != 4) {
6+
die("skip this test is for 32bit platform only");
7+
}
8+
?>
39
--FILE--
410
<?php
511

ext/standard/tests/file/fscanf_variation55.phpt

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
--TEST--
22
Test fscanf() function: usage variations - tracking file pointer while reading
3+
--SKIPIF--
4+
<?php
5+
if (PHP_INT_SIZE != 4) {
6+
die("skip this test is for 32bit platform only");
7+
}
8+
?>
39
--FILE--
410
<?php
511

ext/standard/tests/strings/printf_64bit.phpt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -671,7 +671,7 @@ Array
671671
*** Output for precision value more than maximum ***
672672

673673
Notice: printf(): Requested precision of 988 digits was truncated to PHP maximum of %d digits in %s on line %d
674-
12345678900.0000000000000000000000000000000000000000
674+
12345678900.0000000000%d
675675

676676
*** Output for invalid width(-15) specifier ***
677677
15s

ext/standard/tests/strings/sscanf_basic6.phpt

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
--TEST--
22
Test sscanf() function : basic functionality - unsigned format
3+
--SKIPIF--
4+
<?php
5+
if (PHP_INT_SIZE != 4) {
6+
die("skip this test is for 32bit platform only");
7+
}
8+
?>
39
--FILE--
410
<?php
511

0 commit comments

Comments
 (0)