mirror of
https://github.com/PowerShell/openssh-portable.git
synced 2025-07-31 01:35:11 +02: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.
|
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.
|
- (tim) [aclocal.m4] Enhance OSSH_CHECK_CFLAG_COMPILE to check stderr.
|
||||||
feedback and ok dtucker
|
feedback and ok dtucker
|
||||||
|
- (tim) [regress/sftp-chroot.sh] skip if no sudo. ok dtucker
|
||||||
|
|
||||||
20130601
|
20130601
|
||||||
- (dtucker) [configure.ac openbsd-compat/xcrypt.c] bz#2112: fall back to
|
- (dtucker) [configure.ac openbsd-compat/xcrypt.c] bz#2112: fall back to
|
||||||
|
@ -8,7 +8,8 @@ FILENAME=testdata_${USER}
|
|||||||
PRIVDATA=${CHROOT}/${FILENAME}
|
PRIVDATA=${CHROOT}/${FILENAME}
|
||||||
|
|
||||||
if [ -z "$SUDO" ]; then
|
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
|
fi
|
||||||
|
|
||||||
$SUDO sh -c "echo mekmitastdigoat > $PRIVDATA" || \
|
$SUDO sh -c "echo mekmitastdigoat > $PRIVDATA" || \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user