com php-src: Fixed failed with libedit: sapi/cli/tests/bug64529.phpt
| From: | Xinchen Hui | Date: | Fri, 15 Apr 2016 03:57:53 +0000 |
| Subject: | com php-src: Fixed failed with libedit: sapi/cli/tests/bug64529.phpt | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-91724@lists.php.net to get a copy of this message | ||
Commit: 163d26d5842bbc7faf600fa769add468acb53eaf
Author: Xinchen Hui <laruence@gmail.com> Fri, 15 Apr 2016 11:57:53 +0800
Parents: 8a17b1a2415cc3a44b74bb9bab18d6dded1ee9b0
Branches: PHP-7.0 master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=163d26d5842bbc7faf600fa769add468acb53eaf
Log:
Fixed failed with libedit
Changed paths:
M sapi/cli/tests/bug64529.phpt
Diff:
diff --git a/sapi/cli/tests/bug64529.phpt b/sapi/cli/tests/bug64529.phpt
index 8452953..7331b83 100644
--- a/sapi/cli/tests/bug64529.phpt
+++ b/sapi/cli/tests/bug64529.phpt
@@ -5,6 +5,9 @@ Bug #64529 (Ran out of opcode space)
if (substr(PHP_OS, 0, 3) == "WIN") {
die("skip non windows test");
}
+if (!extension_loaded("readline") || !readline_info("done")) {
+ die("skip readline support required");
+}
exec('which expect', $output, $ret);
if ($ret) {
die("skip no expect installed");