From 5732da2af736c40cf693354485446ab4867ecb4d Mon Sep 17 00:00:00 2001 From: "Gabriel F. T. Gomes" Date: Wed, 7 Aug 2019 09:17:13 -0300 Subject: New upstream version 2.9 --- test/lib/completions/ssh.exp | 31 ------------------------------- 1 file changed, 31 deletions(-) (limited to 'test/lib/completions/ssh.exp') 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 -- cgit v1.2.1