- (tim) [regress/host-expand.sh] Fix for building outside of read only

source tree.
This commit is contained in:
Tim Rice 2011-01-10 12:56:26 -08:00
parent e63b7f2821
commit 076a3b9ced
2 changed files with 7 additions and 3 deletions

View File

@ -1,3 +1,7 @@
20110111
- (tim) [regress/host-expand.sh] Fix for building outside of read only
source tree.
20110109
- (djm) [Makefile.in] list ssh_host_ecdsa key in PATHSUBS; spotted by
openssh AT roumenpetrov.info

View File

@ -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