From: Christoph M. Becker Date: Tue, 3 Jan 2017 23:51:35 +0000 (+0100) Subject: Make test case more resilient X-Git-Tag: php-7.2.0alpha1~663 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=a793b794a630efc98f1832eb479f6af19566bf5b;p=php Make test case more resilient We should not expect a certain `components` value, but rather any integer. --- diff --git a/ext/exif/tests/bug73737.phpt b/ext/exif/tests/bug73737.phpt index c61e8faf65..149e3e3c56 100644 --- a/ext/exif/tests/bug73737.phpt +++ b/ext/exif/tests/bug73737.phpt @@ -8,7 +8,7 @@ Bug #73737 (Crash when parsing a tag format) var_dump($exif); ?> --EXPECTF-- -Warning: exif_thumbnail(bug73737.tiff): Process tag(x0100=ImageWidth ): Illegal components(0) in %s on line %d +Warning: exif_thumbnail(bug73737.tiff): Process tag(x0100=ImageWidth ): Illegal components(%d) in %s on line %d Warning: exif_thumbnail(bug73737.tiff): Error in TIFF: filesize(x0030) less than start of IFD dir(x10102) in %s line %d bool(false)