]> granicus.if.org Git - php/commitdiff
Make test case more resilient
authorChristoph M. Becker <cmbecker69@gmx.de>
Tue, 3 Jan 2017 23:51:35 +0000 (00:51 +0100)
committerChristoph M. Becker <cmbecker69@gmx.de>
Tue, 3 Jan 2017 23:51:35 +0000 (00:51 +0100)
We should not expect a certain `components` value, but rather any
integer.

ext/exif/tests/bug73737.phpt

index c61e8faf65e4cef0c841ea6b257d3feea5b3c213..149e3e3c5695ff1f8ec3bfa9ebb2f4c5fa8be23e 100644 (file)
@@ -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)