com php-src: Make test case more resilient: ext/exif/tests/bug73737.phpt

From: Date: Tue, 03 Jan 2017 23:51:35 +0000
Subject: com php-src: Make test case more resilient: ext/exif/tests/bug73737.phpt
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-96505@lists.php.net to get a copy of this message
Commit: a793b794a630efc98f1832eb479f6af19566bf5b Author: Christoph M. Becker <cmbecker69@gmx.de> Wed, 4 Jan 2017 00:51:35 +0100 Parents: 6e93c1849e302e736472e7a83daf935902929295 Branches: master Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=a793b794a630efc98f1832eb479f6af19566bf5b Log: Make test case more resilient We should not expect a certain components value, but rather any integer. Changed paths: M ext/exif/tests/bug73737.phpt Diff: diff --git a/ext/exif/tests/bug73737.phpt b/ext/exif/tests/bug73737.phpt index c61e8fa..149e3e3 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)

« previous php.cvs (#96505) next »