summaryrefslogtreecommitdiff
path: root/regress/cfgmatch.sh
diff options
context:
space:
mode:
authorDarren Tucker <dtucker@zip.com.au>2010-03-01 12:49:05 +1100
committerDarren Tucker <dtucker@zip.com.au>2010-03-01 12:49:05 +1100
commitc614c78c53a38d2a603fb1b01fb419b965b24e50 (patch)
tree52ec556e473083f629d47d43f9515f9c61b111fd /regress/cfgmatch.sh
parentbff24b8ad29f4b5427ffbe017acafdb3efc1b951 (diff)
- (dtucker) [regress/{cert-hostkey,cfgmatch,cipher-speed}.sh} Replace
"echo -n" with "echon" for portability.
Diffstat (limited to 'regress/cfgmatch.sh')
-rw-r--r--regress/cfgmatch.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/regress/cfgmatch.sh b/regress/cfgmatch.sh
index 35c5e52a..96badd51 100644
--- a/regress/cfgmatch.sh
+++ b/regress/cfgmatch.sh
@@ -57,9 +57,9 @@ for p in 1 2; do
done
# Retry previous with key option, should also be denied.
-echo -n 'permitopen="127.0.0.1:'$PORT'" ' >$OBJ/authorized_keys_$USER
+echon 'permitopen="127.0.0.1:'$PORT'" ' >$OBJ/authorized_keys_$USER
cat $OBJ/rsa.pub >> $OBJ/authorized_keys_$USER
-echo -n 'permitopen="127.0.0.1:'$PORT'" ' >>$OBJ/authorized_keys_$USER
+echon 'permitopen="127.0.0.1:'$PORT'" ' >>$OBJ/authorized_keys_$USER
cat $OBJ/rsa1.pub >> $OBJ/authorized_keys_$USER
for p in 1 2; do
rm -f $pidfile