com php-src: Make this test also a little more resilient: ext/gd/tests/bug22544-mb.phpt
| From: | Christoph Michael Becker | Date: | Wed, 17 Aug 2016 17:09:31 +0000 |
| Subject: | com php-src: Make this test also a little more resilient: ext/gd/tests/bug22544-mb.phpt | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-93914@lists.php.net to get a copy of this message | ||
Commit: 09898f91a3e9edd1e04338952e5e84806104a424
Author: Christoph M. Becker <cmbecker69@gmx.de> Wed, 17 Aug 2016 19:09:31 +0200
Parents: 7f47dcf31b4e91dd3d39956721faba0410cdf14c
Branches: PHP-7.1 master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=09898f91a3e9edd1e04338952e5e84806104a424
Log:
Make this test also a little more resilient
See <http://git.php.net/?p=php-src.git;a=commit;h=a3159d29bb24d5c946c14b7aa33e96bebcd56e59>.
Changed paths:
M ext/gd/tests/bug22544-mb.phpt
Diff:
diff --git a/ext/gd/tests/bug22544-mb.phpt b/ext/gd/tests/bug22544-mb.phpt
index 94d16ab..d4f5929 100644
--- a/ext/gd/tests/bug22544-mb.phpt
+++ b/ext/gd/tests/bug22544-mb..phpt
@@ -15,9 +15,9 @@ Bug #22544 (TrueColor transparency in PNG images)..
$red = imageColorAllocate($image, 255, 50, 50);
imageColorTransparent($image, $transparent);
imageFilledRectangle($image, 0, 0, 640-1, 100-1, $transparent);
- imagePng($image, $dest);
+ imagegd($image, $dest);
echo md5_file($dest) . "\n";
@unlink($dest);
?>
--EXPECT--
-10a57d09a2c63fad87b85b38d6b258d6
+7643ef115f642a79c2de6e411f485ddd