From 02db85bdcbb07f632cddd927ded208f3d4f1e65f Mon Sep 17 00:00:00 2001 From: Tim Rice Date: Fri, 14 Mar 2008 11:02:51 -0700 Subject: - (tim) [regress/localcommand.sh] Shell portability fix. Reported by imorgan at nas.nasa.gov --- ChangeLog | 4 +++- regress/localcommand.sh | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index d91995444..a6cbea8af 100644 --- a/ChangeLog +++ b/ChangeLog @@ -2,6 +2,8 @@ - (tim) [regress/sftp-cmds.sh] s/cd/lcd/ in lls test. Reported by vinschen at redhat.com. Add () to put echo commands in subshell for lls test I mistakenly left out of last commit. + - (tim) [regress/localcommand.sh] Shell portability fix. Reported by imorgan at + nas.nasa.gov 20080313 - (djm) [Makefile.in regress/Makefile] Fix interop-tests target (note to @@ -3755,4 +3757,4 @@ OpenServer 6 and add osr5bigcrypt support so when someone migrates passwords between UnixWare and OpenServer they will still work. OK dtucker@ -$Id: ChangeLog,v 1.4876 2008/03/14 17:39:17 tim Exp $ +$Id: ChangeLog,v 1.4877 2008/03/14 18:02:51 tim Exp $ diff --git a/regress/localcommand.sh b/regress/localcommand.sh index a23e5c678..feade7a9d 100644 --- a/regress/localcommand.sh +++ b/regress/localcommand.sh @@ -8,7 +8,7 @@ echo 'LocalCommand echo foo' >> $OBJ/ssh_proxy for p in 1 2; do verbose "test $tid: proto $p localcommand" - a=$(${SSH} -F $OBJ/ssh_proxy -$p somehost true) + a=`${SSH} -F $OBJ/ssh_proxy -$p somehost true` if [ "$a" != "foo" ] ; then fail "$tid proto $p" fi -- cgit v1.2.3