summaryrefslogtreecommitdiff
path: root/ext/readline
diff options
context:
space:
mode:
authorXinchen Hui <laruence@gmail.com>2016-03-02 12:29:15 +0800
committerXinchen Hui <laruence@gmail.com>2016-03-02 12:29:15 +0800
commit3fb566f47531a232544cb5d1361f15f26e0ca02c (patch)
tree1723d5290c1c6a7e33e2cff828a560a0510b1a7d /ext/readline
parent2d4186dde758f0efee029a5d9e3363494e9ad168 (diff)
downloadphp-git-3fb566f47531a232544cb5d1361f15f26e0ca02c.tar.gz
Fixed test ext/readline/tests/readline_read_history_error_001.phpt
This only pass with libedit
Diffstat (limited to 'ext/readline')
-rw-r--r--ext/readline/tests/readline_read_history_error_001.phpt2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/readline/tests/readline_read_history_error_001.phpt b/ext/readline/tests/readline_read_history_error_001.phpt
index 0a65a66d5c..1b39cbfb12 100644
--- a/ext/readline/tests/readline_read_history_error_001.phpt
+++ b/ext/readline/tests/readline_read_history_error_001.phpt
@@ -3,7 +3,7 @@ readline_read_history() function - Error cases
--CREDITS--
Pedro Manoel Evangelista <pedro.evangelista at gmail dot com>
--SKIPIF--
-<?php if (!extension_loaded("readline") || !function_exists('readline_read_history')) die("skip"); ?>
+<?php if (!extension_loaded("readline") || !function_exists('readline_read_history') || READLINE_LIB != "libedit") die("skip"); ?>
--FILE--
<?php
var_dump(readline_read_history());