From: Xinchen Hui Date: Fri, 15 Apr 2016 03:57:53 +0000 (+0800) Subject: Fixed failed with libedit X-Git-Tag: php-7.0.7RC1~110 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=163d26d5842bbc7faf600fa769add468acb53eaf;p=php Fixed failed with libedit --- diff --git a/sapi/cli/tests/bug64529.phpt b/sapi/cli/tests/bug64529.phpt index 8452953baf..7331b8303e 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");