diff options
author | Anatol Belski <ab@php.net> | 2017-09-11 12:38:20 +0200 |
---|---|---|
committer | Anatol Belski <ab@php.net> | 2017-09-11 12:38:20 +0200 |
commit | d33194d2aa02a387dfb1c9dfd37e6d449975c379 (patch) | |
tree | fe33c7c9fb2fc65ad8046acdeba3b19606efac8f /ext/standard/tests | |
parent | 9ca0cd0a1a3b590d6366142c1f773c948cfea5a9 (diff) | |
download | php-git-d33194d2aa02a387dfb1c9dfd37e6d449975c379.tar.gz |
Fix test portability
The message comes from the C runtime, so it is not reliable to check the
exact wording.
Diffstat (limited to 'ext/standard/tests')
-rw-r--r-- | ext/standard/tests/serialize/bug68044.phpt | 2 | ||||
-rw-r--r-- | ext/standard/tests/serialize/bug74101.phpt | 2 | ||||
-rw-r--r-- | ext/standard/tests/serialize/bug74614.phpt | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/ext/standard/tests/serialize/bug68044.phpt b/ext/standard/tests/serialize/bug68044.phpt index c074808d5a..01ada07ad8 100644 --- a/ext/standard/tests/serialize/bug68044.phpt +++ b/ext/standard/tests/serialize/bug68044.phpt @@ -6,7 +6,7 @@ Bug #68044 Integer overflow in unserialize() (32-bits only) ?> ===DONE== --EXPECTF-- -Warning: unserialize(): Numerical result out of range in %sbug68044.php on line %d +Warning: unserialize(): %s in %sbug68044.php on line %d Warning: Insufficient data for unserializing - %d required, 1 present in %s%ebug68044.php on line 2 diff --git a/ext/standard/tests/serialize/bug74101.phpt b/ext/standard/tests/serialize/bug74101.phpt index 27f7b947ff..323f6c6f46 100644 --- a/ext/standard/tests/serialize/bug74101.phpt +++ b/ext/standard/tests/serialize/bug74101.phpt @@ -6,7 +6,7 @@ $s = 'O:9:"Exception":799999999999999999999999999997:0i:0;a:0:{}i:2;i:0;i:0;R:2; var_dump(unserialize($s)); ?> --EXPECTF-- -Warning: unserialize(): Numerical result out of range in %sbug74101.php on line %d +Warning: unserialize(): %s in %sbug74101.php on line %d Notice: unserialize(): Error at offset 48 of 74 bytes in %sbug74101.php on line %d bool(false) diff --git a/ext/standard/tests/serialize/bug74614.phpt b/ext/standard/tests/serialize/bug74614.phpt index eab58d291b..efaaf885d2 100644 --- a/ext/standard/tests/serialize/bug74614.phpt +++ b/ext/standard/tests/serialize/bug74614.phpt @@ -7,6 +7,6 @@ unserialize('a:3020000000000000000000000000000001:{i:0;a:0:{}i:1;i:2;i:2;i:3;i:3 ?> --EXPECTF-- -Warning: unserialize(): Numerical result out of range in %sbug74614.php on line %d +Warning: unserialize(): %s in %sbug74614.php on line %d Notice: unserialize(): Error at offset %d of 113 bytes in %s on line %d |