]> granicus.if.org Git - php/commitdiff
Bug #55694: Update readline test to support attempted_completion_over variable
authorHartmel <hartmel@wheezy64>
Tue, 28 May 2013 07:59:43 +0000 (09:59 +0200)
committerStanislav Malyshev <stas@php.net>
Mon, 17 Jun 2013 06:44:44 +0000 (23:44 -0700)
NEWS
ext/readline/tests/readline_info_001.phpt

diff --git a/NEWS b/NEWS
index 98b2ee0faad6f53e1e6336870cbd0bfec66f8b0a..70188f5a56c7cd3acf909c2394ca82f69791018f 100644 (file)
--- a/NEWS
+++ b/NEWS
@@ -35,6 +35,10 @@ PHP                                                                        NEWS
 - PDO_pgsql:
   . Fixed Bug #64949 (Buffer overflow in _pdo_pgsql_error). (Remi)
 
+- Readline:
+  . Implement FR #55694 (Expose additional readline variable to prevent 
+    default filename completion). (Hartmel)
+
 - SPL:
   . Fixed bug #64997 (Segfault while using RecursiveIteratorIterator on
     64-bits systems). (Laruence)
index c7bc92a4df6e72b59922c87ae6cbcf9cca69e02e..ebab3bf68b81b57fda9df1951494b7a641e7f7a6 100644 (file)
@@ -12,10 +12,12 @@ var_dump(readline_info('line_buffer'));
 var_dump(readline_info('readline_name'));
 var_dump(readline_info('readline_name', 1));
 var_dump(readline_info('readline_name'));
+var_dump(readline_info('attempted_completion_over',1));
+var_dump(readline_info('attempted_completion_over'));
 
 ?>
 --EXPECTF--
-array(10) {
+array(11) {
   ["line_buffer"]=>
   string(0) ""
   ["point"]=>
@@ -36,6 +38,8 @@ array(10) {
   string(%d) "%s"
   ["readline_name"]=>
   string(5) "other"
+  ["attempted_completion_over"]=>
+  int(0)
 }
 NULL
 NULL
@@ -43,3 +47,5 @@ string(0) ""
 string(5) "other"
 string(5) "other"
 string(1) "1"
+int(0)
+int(1)