summaryrefslogtreecommitdiff
path: root/regress/forward-control.sh
diff options
context:
space:
mode:
authorTim Rice <tim@multitalents.net>2013-02-26 19:35:26 -0800
committerTim Rice <tim@multitalents.net>2013-02-26 19:35:26 -0800
commita514bc05b180c8fb3b11a387b20513743fb1837d (patch)
treef7aa86be7af8c0e078ad2329e4236f7a841d6fac /regress/forward-control.sh
parentc0cc7ce1669d15cd1302d2d2ef9a704b5e680aee (diff)
- (tim) [regress/forward-control.sh] use sh in case login shell is csh.
Diffstat (limited to 'regress/forward-control.sh')
-rw-r--r--regress/forward-control.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/regress/forward-control.sh b/regress/forward-control.sh
index ac20bacc9..806874895 100644
--- a/regress/forward-control.sh
+++ b/regress/forward-control.sh
@@ -41,7 +41,7 @@ check_lfwd() {
41 ${SSH} -oProtocol=$_proto -F $OBJ/ssh_proxy \ 41 ${SSH} -oProtocol=$_proto -F $OBJ/ssh_proxy \
42 -L$LFWD_PORT:127.0.0.1:$PORT \ 42 -L$LFWD_PORT:127.0.0.1:$PORT \
43 -o ExitOnForwardFailure=yes \ 43 -o ExitOnForwardFailure=yes \
44 -n host "sleep 60 & echo \$! > $READY ; wait " \ 44 -n host exec sh -c \'"sleep 60 & echo \$! > $READY ; wait "\' \
45 >/dev/null 2>&1 & 45 >/dev/null 2>&1 &
46 _sshpid=$! 46 _sshpid=$!
47 wait_for_file_to_appear $READY || \ 47 wait_for_file_to_appear $READY || \
@@ -71,7 +71,7 @@ check_rfwd() {
71 ${SSH} -oProtocol=$_proto -F $OBJ/ssh_proxy \ 71 ${SSH} -oProtocol=$_proto -F $OBJ/ssh_proxy \
72 -R$RFWD_PORT:127.0.0.1:$PORT \ 72 -R$RFWD_PORT:127.0.0.1:$PORT \
73 -o ExitOnForwardFailure=yes \ 73 -o ExitOnForwardFailure=yes \
74 -n host "sleep 60 & echo \$! > $READY ; wait " \ 74 -n host exec sh -c \'"sleep 60 & echo \$! > $READY ; wait "\' \
75 >/dev/null 2>&1 & 75 >/dev/null 2>&1 &
76 _sshpid=$! 76 _sshpid=$!
77 wait_for_file_to_appear $READY 77 wait_for_file_to_appear $READY