summaryrefslogtreecommitdiff
path: root/regress/host-expand.sh
diff options
context:
space:
mode:
authorTim Rice <tim@multitalents.net>2011-01-10 12:56:26 -0800
committerTim Rice <tim@multitalents.net>2011-01-10 12:56:26 -0800
commit076a3b9ced9bbf5ee4f17a84b9593cc074308e15 (patch)
treeeb4794bee472d7e68b1969c43a8d17ebd6713696 /regress/host-expand.sh
parente63b7f28213b28efb412e7ea723fdb2b8de4843b (diff)
downloadopenssh-git-076a3b9ced9bbf5ee4f17a84b9593cc074308e15.tar.gz
- (tim) [regress/host-expand.sh] Fix for building outside of read only
source tree.
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 c0417d9c..a0188363 100644
--- a/regress/host-expand.sh
+++ b/regress/host-expand.sh
@@ -5,14 +5,14 @@ tid="expand %h and %n"
echo 'PermitLocalCommand yes' >> $OBJ/ssh_proxy
printf 'LocalCommand printf "%%%%s\\n" "%%n" "%%h"\n' >> $OBJ/ssh_proxy
-cat >expect <<EOE
+cat >$OBJ/expect <<EOE
somehost
127.0.0.1
EOE
for p in 1 2; do
verbose "test $tid: proto $p"
- ${SSH} -F $OBJ/ssh_proxy -$p somehost true >actual
- diff expect actual || fail "$tid proto $p"
+ ${SSH} -F $OBJ/ssh_proxy -$p somehost true >$OBJ/actual
+ diff $OBJ/expect $OBJ/actual || fail "$tid proto $p"
done