projects
/
can-benchmark.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bd544b8
)
Create the master ssh connection even after a crash
author
Michal Sojka
<sojkam1@fel.cvut.cz>
Mon, 6 Dec 2010 10:37:36 +0000
(11:37 +0100)
committer
Michal Sojka
<sojkam1@fel.cvut.cz>
Mon, 6 Dec 2010 10:37:36 +0000
(11:37 +0100)
i.e. when an attempt to run "true" command fails.
gw-tests/lib.sh
patch
|
blob
|
history
diff --git
a/gw-tests/lib.sh
b/gw-tests/lib.sh
index
43afe6d
..
4d6e2d7
100644
(file)
--- 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)