mirror of
git://anongit.mindrot.org/openssh.git
synced 2024-11-23 18:23:25 +08:00
- (tim) [regress/host-expand.sh] Fix for building outside of read only
source tree.
This commit is contained in:
parent
e63b7f2821
commit
076a3b9ced
@ -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
|
||||
|
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user