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.
This commit is contained in:
parent
a958ccde50
commit
e9082c4d76
@ -60,7 +60,7 @@ sync_after_int
|
|||||||
|
|
||||||
|
|
||||||
set test "First argument should complete partial hostname"
|
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
|
sync_after_int
|
||||||
|
Loading…
x
Reference in New Issue
Block a user