diff options
author | Gabriel F. T. Gomes <gabriel@inconstante.net.br> | 2019-08-07 09:17:13 -0300 |
---|---|---|
committer | Gabriel F. T. Gomes <gabriel@inconstante.net.br> | 2019-08-07 09:17:13 -0300 |
commit | 5732da2af736c40cf693354485446ab4867ecb4d (patch) | |
tree | 76d76cdfa16ca62d20fb109da13895ec64fff110 /test/lib/completions/scp.exp | |
parent | 9cd22d1df8f0f5b554858471c86faa9f37b8fed4 (diff) | |
download | bash-completion-5732da2af736c40cf693354485446ab4867ecb4d.tar.gz |
New upstream version 2.9upstream/2.9
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 |