[php-src] master: ext/gd: Fix two external libgd tests (#23138)
Lothar Serra Mari via GitHub <[email protected]>
| Newsgroups | gmane.comp.php.cvs.general |
|---|---|
| Message-ID | <[email protected]> |
Author: Lothar Serra Mari (lotharsm) Committer: GitHub (web-flow) Pusher: devnexen Date: 2026-08-09T15:01:41+01:00 Commit: https://github.com/php/php-src/commit/6ce322e0d14b655d96561d1622288f33a81b3527 Raw diff: https://github.com/php/php-src/commit/6ce322e0d14b655d96561d1622288f33a81b3527.diff ext/gd: Fix two external libgd tests (#23138) Changed paths: M ext/gd/tests/bug39780_extern.phpt M ext/gd/tests/libgd00086_extern.phpt Diff: diff --git a/ext/gd/tests/bug39780_extern.phpt b/ext/gd/tests/bug39780_extern.phpt index 438816fe22c6..d4aadafd153e 100644 --- a/ext/gd/tests/bug39780_extern.phpt +++ b/ext/gd/tests/bug39780_extern.phpt @@ -16,9 +16,9 @@ $im = imagecreatefrompng(__DIR__ . '/bug39780.png'); var_dump($im); ?> --EXPECTF-- -Warning: imagecreatefrompng(): gd-png: fatal libpng error: Read Error: truncated data%win %s on line %d +Warning: imagecreatefrompng(): gd-png: fatal libpng error: Read Error: truncated data in %s on line %d -Warning: imagecreatefrompng(): gd-png error: setjmp returns error condition %d%win %s on line %d +Warning: imagecreatefrompng(): gd-png error: setjmp returns error condition in %s on line %d Warning: imagecreatefrompng(): "%sbug39780.png" is not a valid PNG file in %s on line %d bool(false) diff --git a/ext/gd/tests/libgd00086_extern.phpt b/ext/gd/tests/libgd00086_extern.phpt index a3585180b83e..1fcdf8d63dfe 100644 --- a/ext/gd/tests/libgd00086_extern.phpt +++ b/ext/gd/tests/libgd00086_extern.phpt @@ -16,9 +16,9 @@ $im = imagecreatefrompng(__DIR__ . '/libgd00086.png'); var_dump($im); ?> --EXPECTF-- -Warning: imagecreatefrompng(): gd-png: fatal libpng error: Read Error: truncated data%win %s on line %d +Warning: imagecreatefrompng(): gd-png: fatal libpng error: Read Error: truncated data in %s on line %d -Warning: imagecreatefrompng(): gd-png error: setjmp returns error condition %d%win %s on line %d +Warning: imagecreatefrompng(): gd-png error: setjmp returns error condition in %s on line %d Warning: imagecreatefrompng(): "%slibgd00086.png" is not a valid PNG file in %s on line %d bool(false)