summaryrefslogtreecommitdiff
path: root/regress/cert-hostkey.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/cert-hostkey.sh
parentbff24b8ad29f4b5427ffbe017acafdb3efc1b951 (diff)
downloadopenssh-git-c614c78c53a38d2a603fb1b01fb419b965b24e50.tar.gz
- (dtucker) [regress/{cert-hostkey,cfgmatch,cipher-speed}.sh} Replace
"echo -n" with "echon" for portability.
Diffstat (limited to 'regress/cert-hostkey.sh')
-rw-r--r--regress/cert-hostkey.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/regress/cert-hostkey.sh b/regress/cert-hostkey.sh
index 14cd2230..9539a927 100644
--- a/regress/cert-hostkey.sh
+++ b/regress/cert-hostkey.sh
@@ -12,8 +12,8 @@ HOSTS='localhost-with-alias,127.0.0.1,::1'
${SSHKEYGEN} -q -N '' -t rsa -f $OBJ/host_ca_key ||\
fail "ssh-keygen of host_ca_key failed"
(
- echo -n '@cert-authority '
- echo -n "$HOSTS "
+ echon '@cert-authority '
+ echon "$HOSTS "
cat $OBJ/host_ca_key.pub
) > $OBJ/known_hosts-cert
@@ -102,7 +102,7 @@ for ktype in rsa dsa ; do
-n $HOSTS $OBJ/cert_host_key_${ktype} ||
fail "couldn't sign cert_host_key_${ktype}"
(
- echo -n "$HOSTS "
+ echon "$HOSTS "
cat $OBJ/cert_host_key_${ktype}.pub
) > $OBJ/known_hosts-cert
(