summaryrefslogtreecommitdiff
path: root/test/lib/completions/ssh.exp
diff options
context:
space:
mode:
Diffstat (limited to 'test/lib/completions/ssh.exp')
-rw-r--r--test/lib/completions/ssh.exp31
1 files changed, 0 insertions, 31 deletions
diff --git a/test/lib/completions/ssh.exp b/test/lib/completions/ssh.exp
index c082558e..1702371c 100644
--- a/test/lib/completions/ssh.exp
+++ b/test/lib/completions/ssh.exp
@@ -19,21 +19,6 @@ proc teardown {} {
setup
-set test "Tab should complete both commands and hostname"
- # Try completion
-set cmd "ssh -F config ls"
-send "$cmd\t"
-set expected "^$cmd\r\n.*ls.*ls_known_host.*\r\n/@$cmd$"
-expect {
- -re $expected { pass "$test" }
- -re /@ { unresolved "$test at prompt" }
- default { unresolved "$test" }
-}
-
-
-sync_after_int
-
-
set test "-F without space shouldn't error"
# Try completion
set cmd "ssh -F"
@@ -50,15 +35,6 @@ expect {
sync_after_int
-set test "First argument shouldn't complete with commands"
-# NOTE: This test assumes there's a command "bash" and no host named "bash"
-set cmd "ssh bas"
-assert_complete [get_known_hosts "bas"] $cmd $test
-
-
-sync_after_int
-
-
set test "First argument should complete partial hostname"
# Build string list of hostnames, starting with the character of the first
# host, unless host starts with a COMP_WORDBREAKS character, e.g. a colon (:).
@@ -82,11 +58,4 @@ assert_complete $hosts "ssh $char" $test -ltrim-colon-completions -expect-cmd-mi
sync_after_int
-set test "-F should complete filename"
-assert_complete "-Fspaced\\ \\ conf" "ssh -Fsp" $test
-
-
-sync_after_int
-
-
teardown