diff options
Diffstat (limited to 'test/lib/completions/scp.exp')
-rw-r--r-- | test/lib/completions/scp.exp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/lib/completions/scp.exp b/test/lib/completions/scp.exp index 6b06cb25..1497a7fb 100644 --- a/test/lib/completions/scp.exp +++ b/test/lib/completions/scp.exp @@ -23,11 +23,11 @@ set test "Tab should complete remote pwd" set host bash_completion # Retrieving home directory (host_pwd) from ssh-host `bash_completion' - # yields error? + # yields error? if { [catch { - exec -- ssh -o "Batchmode yes" -o "ConnectTimeout 1" $host pwd 2>> /dev/null - } host_pwd] + exec -- ssh -o "Batchmode yes" -o "ConnectTimeout 1" $host pwd 2>>/dev/null + } host_pwd] } { # Yes, retrieving pwd from ssh yields error; reset `host_pwd' # Indicate host pwd is unknown and test is unsupported |