- (tim) [regress/sftp-chroot.sh] skip if no sudo. ok dtucker

This commit is contained in:
Tim Rice 2013-06-02 15:13:09 -07:00
parent 01ec0af301
commit 3f3064c822
2 changed files with 3 additions and 1 deletions

View File

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

View File

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