login-shell agnostic tests

This commit is contained in:
Markus Friedl
2012-01-05 19:34:30 +01:00
parent e0775fa393
commit 63220169a2
2 changed files with 3 additions and 4 deletions

View File

@@ -3,11 +3,10 @@
tid="expand %h and %n"
echo 'PermitLocalCommand yes' >> $OBJ/ssh_proxy
printf 'LocalCommand printf "%%%%s\\n" "%%n" "%%h"\n' >> $OBJ/ssh_proxy
echo 'LocalCommand echo %n-%h' >> $OBJ/ssh_proxy
cat >expect <<EOE
somehost
127.0.0.1
somehost-127.0.0.1
EOE
for p in 1 2; do

View File

@@ -10,4 +10,4 @@ log=$2
shift
shift
exec $sshd $@ -e 2>>$log
exec ktrace -i $sshd $@ -e 2>>$log