From 163d26d5842bbc7faf600fa769add468acb53eaf Mon Sep 17 00:00:00 2001 From: Xinchen Hui Date: Fri, 15 Apr 2016 11:57:53 +0800 Subject: [PATCH] Fixed failed with libedit --- sapi/cli/tests/bug64529.phpt | 3 +++ 1 file changed, 3 insertions(+) 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"); -- 2.40.0