Skip to content

Commit 0401969

Browse files
committed
Fix test portability
1 parent 3f00c93 commit 0401969

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

ext/exif/tests/bug77563.phpt

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,9 @@ $s = exif_thumbnail(__DIR__."/bug77563.jpg");
88
?>
99
DONE
1010
--EXPECTF--
11-
Warning: exif_thumbnail(bug77563.jpg): IFD data too short: 0x0009 offset 0x0008 in %s/bug77563.php on line %d
11+
Warning: exif_thumbnail(bug77563.jpg): IFD data too short: 0x0009 offset 0x0008 in %s%ebug77563.php on line %d
1212

13-
Warning: exif_thumbnail(bug77563.jpg): File structure corrupted in %s/bug77563.php on line %d
13+
Warning: exif_thumbnail(bug77563.jpg): File structure corrupted in %s%ebug77563.php on line %d
1414

15-
Warning: exif_thumbnail(bug77563.jpg): Invalid JPEG file in %s/bug77563.php on line %d
16-
DONE
15+
Warning: exif_thumbnail(bug77563.jpg): Invalid JPEG file in %s%ebug77563.php on line %d
16+
DONE

ext/phar/tests/bug77396.phpt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ $path = '../' . str_repeat("x", PHP_MAXPATHLEN) . '.tar';
88
$phar = new PharData($path);
99
?>
1010
--EXPECTF--
11-
Fatal error: Uncaught UnexpectedValueException: Phar creation or opening failed in %s/bug77396.php:%d
11+
Fatal error: Uncaught UnexpectedValueException: Phar creation or opening failed in %s%ebug77396.php:%d
1212
Stack trace:
13-
#0 %s/bug77396.php(%d): PharData->__construct(%s)
13+
#0 %s%ebug77396.php(%d): PharData->__construct(%s)
1414
#1 {main}
15-
thrown in %s/bug77396.php on line %d
15+
thrown in %s%ebug77396.php on line %d

0 commit comments

Comments
 (0)