diff options
author | Xinchen Hui <laruence@gmail.com> | 2016-04-15 11:57:53 +0800 |
---|---|---|
committer | Xinchen Hui <laruence@gmail.com> | 2016-04-15 11:57:53 +0800 |
commit | 163d26d5842bbc7faf600fa769add468acb53eaf (patch) | |
tree | 6c52f7055b86ed4ff6eac48a7d7adf3e1c19134e /sapi/cli | |
parent | 8a17b1a2415cc3a44b74bb9bab18d6dded1ee9b0 (diff) | |
download | php-git-163d26d5842bbc7faf600fa769add468acb53eaf.tar.gz |
Fixed failed with libedit
Diffstat (limited to 'sapi/cli')
-rw-r--r-- | sapi/cli/tests/bug64529.phpt | 3 |
1 files changed, 3 insertions, 0 deletions
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"); |