summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTim Rice <tim@multitalents.net>2008-03-14 11:02:51 -0700
committerTim Rice <tim@multitalents.net>2008-03-14 11:02:51 -0700
commit02db85bdcbb07f632cddd927ded208f3d4f1e65f (patch)
tree04412d058ca0cedf25ef30e99792db3841a9f8f1
parent51430434098ff74055925423787866f599e75177 (diff)
- (tim) [regress/localcommand.sh] Shell portability fix. Reported by imorgan at
nas.nasa.gov
-rw-r--r--ChangeLog4
-rw-r--r--regress/localcommand.sh2
2 files changed, 4 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index d9199544..a6cbea8a 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 a23e5c67..feade7a9 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