com php-src: Fixed test ext/readline/tests/readline_read_hi story_error_001.phpt: ext/readline/tests/readli ne_read_history_error_001.phpt
| From: | Xinchen Hui | Date: | Wed, 02 Mar 2016 04:29:15 +0000 |
| Subject: | com php-src: Fixed test ext/readline/tests/readline_read_hi story_error_001.phpt: ext/readline/tests/readli ne_read_history_error_001.phpt | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-91224@lists.php.net to get a copy of this message | ||
Commit: 3fb566f47531a232544cb5d1361f15f26e0ca02c
Author: Xinchen Hui <laruence@gmail.com> Wed, 2 Mar 2016 12:29:15 +0800
Parents: 2d4186dde758f0efee029a5d9e3363494e9ad168
Branches: PHP-7.0 master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=3fb566f47531a232544cb5d1361f15f26e0ca02c
Log:
Fixed test ext/readline/tests/readline_read_history_error_001.phpt
This only pass with libedit
Changed paths:
M ext/readline/tests/readline_read_history_error_001.phpt
Diff:
diff --git a/ext/readline/tests/readline_read_history_error_001.phpt
b/ext/readline/tests/readline_read_history_error_001.phpt
index 0a65a66..1b39cbf 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());