diff options
author | Darren Tucker <dtucker@zip.com.au> | 2010-03-01 12:49:05 +1100 |
---|---|---|
committer | Darren Tucker <dtucker@zip.com.au> | 2010-03-01 12:49:05 +1100 |
commit | c614c78c53a38d2a603fb1b01fb419b965b24e50 (patch) | |
tree | 52ec556e473083f629d47d43f9515f9c61b111fd /regress/cert-hostkey.sh | |
parent | bff24b8ad29f4b5427ffbe017acafdb3efc1b951 (diff) |
- (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.sh | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/regress/cert-hostkey.sh b/regress/cert-hostkey.sh index 14cd2230b..9539a927f 100644 --- a/regress/cert-hostkey.sh +++ b/regress/cert-hostkey.sh | |||
@@ -12,8 +12,8 @@ HOSTS='localhost-with-alias,127.0.0.1,::1' | |||
12 | ${SSHKEYGEN} -q -N '' -t rsa -f $OBJ/host_ca_key ||\ | 12 | ${SSHKEYGEN} -q -N '' -t rsa -f $OBJ/host_ca_key ||\ |
13 | fail "ssh-keygen of host_ca_key failed" | 13 | fail "ssh-keygen of host_ca_key failed" |
14 | ( | 14 | ( |
15 | echo -n '@cert-authority ' | 15 | echon '@cert-authority ' |
16 | echo -n "$HOSTS " | 16 | echon "$HOSTS " |
17 | cat $OBJ/host_ca_key.pub | 17 | cat $OBJ/host_ca_key.pub |
18 | ) > $OBJ/known_hosts-cert | 18 | ) > $OBJ/known_hosts-cert |
19 | 19 | ||
@@ -102,7 +102,7 @@ for ktype in rsa dsa ; do | |||
102 | -n $HOSTS $OBJ/cert_host_key_${ktype} || | 102 | -n $HOSTS $OBJ/cert_host_key_${ktype} || |
103 | fail "couldn't sign cert_host_key_${ktype}" | 103 | fail "couldn't sign cert_host_key_${ktype}" |
104 | ( | 104 | ( |
105 | echo -n "$HOSTS " | 105 | echon "$HOSTS " |
106 | cat $OBJ/cert_host_key_${ktype}.pub | 106 | cat $OBJ/cert_host_key_${ktype}.pub |
107 | ) > $OBJ/known_hosts-cert | 107 | ) > $OBJ/known_hosts-cert |
108 | ( | 108 | ( |