Skip to content

Commit

Permalink
Fix test portability
Browse files Browse the repository at this point in the history
  • Loading branch information
weltling committed Mar 4, 2019
1 parent 3f00c93 commit 0401969
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
8 changes: 4 additions & 4 deletions ext/exif/tests/bug77563.phpt
Original file line number Diff line number Diff line change
Expand Up @@ -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
Warning: exif_thumbnail(bug77563.jpg): Invalid JPEG file in %s%ebug77563.php on line %d
DONE
6 changes: 3 additions & 3 deletions ext/phar/tests/bug77396.phpt
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 0401969

Please sign in to comment.