summaryrefslogtreecommitdiff
path: root/regress/host-expand.sh
diff options
context:
space:
mode:
Diffstat (limited to 'regress/host-expand.sh')
-rw-r--r--regress/host-expand.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/regress/host-expand.sh b/regress/host-expand.sh
index c0417d9c9..a0188363d 100644
--- a/regress/host-expand.sh
+++ b/regress/host-expand.sh
@@ -5,14 +5,14 @@ tid="expand %h and %n"
5echo 'PermitLocalCommand yes' >> $OBJ/ssh_proxy 5echo 'PermitLocalCommand yes' >> $OBJ/ssh_proxy
6printf 'LocalCommand printf "%%%%s\\n" "%%n" "%%h"\n' >> $OBJ/ssh_proxy 6printf 'LocalCommand printf "%%%%s\\n" "%%n" "%%h"\n' >> $OBJ/ssh_proxy
7 7
8cat >expect <<EOE 8cat >$OBJ/expect <<EOE
9somehost 9somehost
10127.0.0.1 10127.0.0.1
11EOE 11EOE
12 12
13for p in 1 2; do 13for p in 1 2; do
14 verbose "test $tid: proto $p" 14 verbose "test $tid: proto $p"
15 ${SSH} -F $OBJ/ssh_proxy -$p somehost true >actual 15 ${SSH} -F $OBJ/ssh_proxy -$p somehost true >$OBJ/actual
16 diff expect actual || fail "$tid proto $p" 16 diff $OBJ/expect $OBJ/actual || fail "$tid proto $p"
17done 17done
18 18