com php-src: Fix broken test case: ext/gd/tests/gd_info_var iation1.phpt
| From: | Christoph Michael Becker | Date: | Mon, 25 Jul 2016 00:00:37 +0000 |
| Subject: | com php-src: Fix broken test case: ext/gd/tests/gd_info_var iation1.phpt | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-93372@lists.php.net to get a copy of this message | ||
Commit: 305bddb0ede8290fdd53e0c75e71834e0dc63512
Author: Christoph M. Becker <cmb@php.net> Mon, 25 Jul 2016 02:00:37 +0200
Parents: d28f1dae9dbe09b63539efe94a0ef449f6790438
Branches: PHP-5.6 PHP-7.0 PHP-7.1 master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=305bddb0ede8290fdd53e0c75e71834e0dc63512
Log:
Fix broken test case
d28f1da introduced a test regression, due to potentially additional output
regarding FreeType support. We fix that by making the test more resilient.
Changed paths:
M ext/gd/tests/gd_info_variation1.phpt
Diff:
diff --git a/ext/gd/tests/gd_info_variation1.phpt b/ext/gd/tests/gd_info_variation1.phpt
index fffde0b..8fa1f49 100644
--- a/ext/gd/tests/gd_info_variation1.phpt
+++ b/ext/gd/tests/gd_info_variation1..phpt
@@ -27,7 +27,7 @@ array(%d) {
["GD Version"]=>
string(%d) %s
["FreeType Support"]=>
- bool(%s)
+ bool(%a
["T1Lib Support"]=>
bool(%s)
["GIF Read Support"]=>