mirror of
git://anongit.mindrot.org/openssh.git
synced 2024-12-24 19:02:06 +00:00
- (tim) [regress/sftp-chroot.sh] skip if no sudo. ok dtucker
This commit is contained in:
parent
01ec0af301
commit
3f3064c822
@ -18,6 +18,7 @@
|
||||
configure find us a capable shell on those platforms with an old /bin/sh.
|
||||
- (tim) [aclocal.m4] Enhance OSSH_CHECK_CFLAG_COMPILE to check stderr.
|
||||
feedback and ok dtucker
|
||||
- (tim) [regress/sftp-chroot.sh] skip if no sudo. ok dtucker
|
||||
|
||||
20130601
|
||||
- (dtucker) [configure.ac openbsd-compat/xcrypt.c] bz#2112: fall back to
|
||||
|
@ -8,7 +8,8 @@ FILENAME=testdata_${USER}
|
||||
PRIVDATA=${CHROOT}/${FILENAME}
|
||||
|
||||
if [ -z "$SUDO" ]; then
|
||||
fatal "need SUDO to create file in /var/run, test won't work without"
|
||||
echo "skipped: need SUDO to create file in /var/run, test won't work without"
|
||||
exit 0
|
||||
fi
|
||||
|
||||
$SUDO sh -c "echo mekmitastdigoat > $PRIVDATA" || \
|
||||
|
Loading…
Reference in New Issue
Block a user