X-Git-Url: http://rtime.felk.cvut.cz/gitweb/can-benchmark.git/blobdiff_plain/b193139357e1d1ce5909be8e1793b6d349675bdf..b96901bfe5c959199fb713d816fdecf3de42a53a:/gw-tests/lib.sh diff --git a/gw-tests/lib.sh b/gw-tests/lib.sh index 43afe6d..4d6e2d7 100644 --- a/gw-tests/lib.sh +++ b/gw-tests/lib.sh @@ -27,7 +27,7 @@ PATH=$PWD/../_compiled/bin/:$PATH sshgw() { local socket="$HOME/.ssh/cangw-connection" - if [[ ! -S $socket ]]; then + if [[ ! -S $socket ]] || ! ssh -x -a -S $socket root@192.168.2.3 true; then # Create master connection to speed up subsequenct command. # The ssh is put into background and the connection is closed # after 10 minutes)