The following commit has been merged in the master branch:
commit e9082c4d76d76b071622e135590b0d1e4a9fbaf6
Author: Ville Skyttä <[email protected]>
Date: Fri Nov 25 20:53:55 2011 +0200
testsuite: Fix ssh first arg partial hostname test case.
User's known hosts file will affect the expected result, so use
get_known_hosts instead of get_hosts, and add explicit "l" prefix to
limit number of completions.
diff --git a/test/lib/completions/ssh.exp b/test/lib/completions/ssh.exp
index 1599dcc..3ef0bb6 100644
--- a/test/lib/completions/ssh.exp
+++ b/test/lib/completions/ssh.exp
@@ -60,7 +60,7 @@ sync_after_int
set test "First argument should complete partial hostname"
-assert_complete_partial [get_hosts] ssh "" $test -ltrim-colon-completions
+assert_complete_partial [get_known_hosts] ssh "l" $test
-ltrim-colon-completions
sync_after_int
--
bash-completion
_______________________________________________
Bash-completion-commits mailing list
[email protected]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/bash-completion-commits