summaryrefslogtreecommitdiff
path: root/ext/gd/tests/bug39780.phpt
diff options
context:
space:
mode:
Diffstat (limited to 'ext/gd/tests/bug39780.phpt')
-rw-r--r--ext/gd/tests/bug39780.phpt8
1 files changed, 4 insertions, 4 deletions
diff --git a/ext/gd/tests/bug39780.phpt b/ext/gd/tests/bug39780.phpt
index efa092bfb..964cf6953 100644
--- a/ext/gd/tests/bug39780.phpt
+++ b/ext/gd/tests/bug39780.phpt
@@ -1,9 +1,9 @@
--TEST--
Bug #39780 (PNG image with CRC/data error raises a fatal error)
--SKIPIF--
-<?php
- if (!extension_loaded('gd')) die("skip gd extension not available\n");
- if (!GD_BUNDLED) die('skip external GD libraries always fail');
+<?php
+ if (!extension_loaded('gd')) die("skip gd extension not available\n");
+ if (!GD_BUNDLED) die("skip requires bundled GD library\n");
?>
--FILE--
<?php
@@ -17,5 +17,5 @@ Warning: imagecreatefrompng(): gd-png: fatal libpng error: Read Error: truncate
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
+Warning: imagecreatefrompng(): '%s' is not a valid PNG file in %s on line %d
bool(false)