- (tim) [regress/forward-control.sh] use sh in case login shell is csh.

This commit is contained in:
Tim Rice 2013-02-26 19:35:26 -08:00
parent c0cc7ce166
commit a514bc05b1
2 changed files with 3 additions and 2 deletions

View File

@ -1,6 +1,7 @@
20130227
- (djm) [README contrib/caldera/openssh.spec contrib/redhat/openssh.spec]
[contrib/suse/openssh.spec] Crank version numbers
- (tim) [regress/forward-control.sh] use sh in case login shell is csh.
20130226
- OpenBSD CVS Sync

View File

@ -41,7 +41,7 @@ check_lfwd() {
${SSH} -oProtocol=$_proto -F $OBJ/ssh_proxy \
-L$LFWD_PORT:127.0.0.1:$PORT \
-o ExitOnForwardFailure=yes \
-n host "sleep 60 & echo \$! > $READY ; wait " \
-n host exec sh -c \'"sleep 60 & echo \$! > $READY ; wait "\' \
>/dev/null 2>&1 &
_sshpid=$!
wait_for_file_to_appear $READY || \
@ -71,7 +71,7 @@ check_rfwd() {
${SSH} -oProtocol=$_proto -F $OBJ/ssh_proxy \
-R$RFWD_PORT:127.0.0.1:$PORT \
-o ExitOnForwardFailure=yes \
-n host "sleep 60 & echo \$! > $READY ; wait " \
-n host exec sh -c \'"sleep 60 & echo \$! > $READY ; wait "\' \
>/dev/null 2>&1 &
_sshpid=$!
wait_for_file_to_appear $READY