- (dtucker) [regress/forcecommand.sh] Portablize.

This commit is contained in:
Darren Tucker 2006-07-24 23:50:23 +10:00
parent 22c58b0242
commit 28e9ad1bed
2 changed files with 6 additions and 5 deletions

View File

@ -137,6 +137,7 @@
forcecommand tests. Add cipher-speed.sh test (not linked in yet)
- (dtucker) [cleanup.c] Since config.h defines _LARGE_FILES on AIX, including
system headers before defines.h will cause conflicting definitions.
- (dtucker) [regress/forcecommand.sh] Portablize.
20060713
- (dtucker) [auth-krb5.c auth-pam.c] Still more errno.h
@ -5055,4 +5056,4 @@
- (djm) Trim deprecated options from INSTALL. Mention UsePAM
- (djm) Fix quote handling in sftp; Patch from admorten AT umich.edu
$Id: ChangeLog,v 1.4437 2006/07/24 13:19:40 dtucker Exp $
$Id: ChangeLog,v 1.4438 2006/07/24 13:50:23 dtucker Exp $

View File

@ -5,9 +5,9 @@ tid="forced command"
cp $OBJ/sshd_proxy $OBJ/sshd_proxy_bak
echo -n 'command="true" ' >$OBJ/authorized_keys_$USER
echon 'command="true" ' >$OBJ/authorized_keys_$USER
cat $OBJ/rsa.pub >> $OBJ/authorized_keys_$USER
echo -n 'command="true" ' >>$OBJ/authorized_keys_$USER
echon 'command="true" ' >>$OBJ/authorized_keys_$USER
cat $OBJ/rsa1.pub >> $OBJ/authorized_keys_$USER
for p in 1 2; do
@ -16,9 +16,9 @@ for p in 1 2; do
fail "forced command in key proto $p"
done
echo -n 'command="false" ' >$OBJ/authorized_keys_$USER
echon 'command="false" ' >$OBJ/authorized_keys_$USER
cat $OBJ/rsa.pub >> $OBJ/authorized_keys_$USER
echo -n 'command="false" ' >>$OBJ/authorized_keys_$USER
echon 'command="false" ' >>$OBJ/authorized_keys_$USER
cat $OBJ/rsa1.pub >> $OBJ/authorized_keys_$USER
cp $OBJ/sshd_proxy_bak $OBJ/sshd_proxy