]> rtime.felk.cvut.cz Git - can-benchmark.git/commitdiff
Merge branch 'master' of rtime.felk.cvut.cz:/can-benchmark
authorMichal Sojka <sojkam1@fel.cvut.cz>
Mon, 6 Dec 2010 10:39:07 +0000 (11:39 +0100)
committerMichal Sojka <sojkam1@fel.cvut.cz>
Mon, 6 Dec 2010 10:39:07 +0000 (11:39 +0100)
gw-tests/lib.sh

index 43afe6de213898e5b6a095b4d06e9ffe18c67051..4d6e2d75f337973119d25df949afba8c43bfa49d 100644 (file)
@@ -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)