diff options
author | Anatol Belski <ab@php.net> | 2019-03-04 14:28:47 +0100 |
---|---|---|
committer | Remi Collet <remi@php.net> | 2019-03-05 07:33:54 +0100 |
commit | feebf5a2cf48640d1ec8c822942c695088c1dab4 (patch) | |
tree | 081742dcd0ec940c8457943ff2dff0334b79f30a | |
parent | 5829fd84b4aad5f2407468750cef225e6b941407 (diff) | |
download | php-git-feebf5a2cf48640d1ec8c822942c695088c1dab4.tar.gz |
Fix test portability
-rw-r--r-- | ext/exif/tests/bug77563.phpt | 8 | ||||
-rw-r--r-- | ext/phar/tests/bug77396.phpt | 6 |
2 files changed, 7 insertions, 7 deletions
diff --git a/ext/exif/tests/bug77563.phpt b/ext/exif/tests/bug77563.phpt index 9e7ccc768b..6e427a77ce 100644 --- a/ext/exif/tests/bug77563.phpt +++ b/ext/exif/tests/bug77563.phpt @@ -8,9 +8,9 @@ $s = exif_thumbnail(__DIR__."/bug77563.jpg"); ?> DONE --EXPECTF-- -Warning: exif_thumbnail(bug77563.jpg): IFD data too short: 0x0009 offset 0x0008 in %s/bug77563.php on line %d +Warning: exif_thumbnail(bug77563.jpg): IFD data too short: 0x0009 offset 0x0008 in %s%ebug77563.php on line %d -Warning: exif_thumbnail(bug77563.jpg): File structure corrupted in %s/bug77563.php on line %d +Warning: exif_thumbnail(bug77563.jpg): File structure corrupted in %s%ebug77563.php on line %d -Warning: exif_thumbnail(bug77563.jpg): Invalid JPEG file in %s/bug77563.php on line %d -DONE
\ No newline at end of file +Warning: exif_thumbnail(bug77563.jpg): Invalid JPEG file in %s%ebug77563.php on line %d +DONE diff --git a/ext/phar/tests/bug77396.phpt b/ext/phar/tests/bug77396.phpt index f7a2a2f026..ede25ff81f 100644 --- a/ext/phar/tests/bug77396.phpt +++ b/ext/phar/tests/bug77396.phpt @@ -8,8 +8,8 @@ $path = '../' . str_repeat("x", PHP_MAXPATHLEN) . '.tar'; $phar = new PharData($path); ?> --EXPECTF-- -Fatal error: Uncaught UnexpectedValueException: Phar creation or opening failed in %s/bug77396.php:%d +Fatal error: Uncaught UnexpectedValueException: Phar creation or opening failed in %s%ebug77396.php:%d Stack trace: -#0 %s/bug77396.php(%d): PharData->__construct(%s) +#0 %s%ebug77396.php(%d): PharData->__construct(%s) #1 {main} - thrown in %s/bug77396.php on line %d + thrown in %s%ebug77396.php on line %d |