diff options
author | Tim Rice <tim@multitalents.net> | 2011-01-10 12:56:26 -0800 |
---|---|---|
committer | Tim Rice <tim@multitalents.net> | 2011-01-10 12:56:26 -0800 |
commit | 076a3b9ced9bbf5ee4f17a84b9593cc074308e15 (patch) | |
tree | eb4794bee472d7e68b1969c43a8d17ebd6713696 /regress | |
parent | e63b7f28213b28efb412e7ea723fdb2b8de4843b (diff) |
- (tim) [regress/host-expand.sh] Fix for building outside of read only
source tree.
Diffstat (limited to 'regress')
-rw-r--r-- | regress/host-expand.sh | 6 |
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" | |||
5 | echo 'PermitLocalCommand yes' >> $OBJ/ssh_proxy | 5 | echo 'PermitLocalCommand yes' >> $OBJ/ssh_proxy |
6 | printf 'LocalCommand printf "%%%%s\\n" "%%n" "%%h"\n' >> $OBJ/ssh_proxy | 6 | printf 'LocalCommand printf "%%%%s\\n" "%%n" "%%h"\n' >> $OBJ/ssh_proxy |
7 | 7 | ||
8 | cat >expect <<EOE | 8 | cat >$OBJ/expect <<EOE |
9 | somehost | 9 | somehost |
10 | 127.0.0.1 | 10 | 127.0.0.1 |
11 | EOE | 11 | EOE |
12 | 12 | ||
13 | for p in 1 2; do | 13 | for 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" |
17 | done | 17 | done |
18 | 18 | ||