diff options
author | Tim Rice <tim@multitalents.net> | 2013-06-02 15:13:09 -0700 |
---|---|---|
committer | Tim Rice <tim@multitalents.net> | 2013-06-02 15:13:09 -0700 |
commit | 3f3064c82238c486706471d300217d73dd0f125e (patch) | |
tree | 4898775c47061b96c2f215d7a28c839ad0fe1c6c | |
parent | 01ec0af301f60fefdd0079647f13ef9abadd2db5 (diff) |
- (tim) [regress/sftp-chroot.sh] skip if no sudo. ok dtucker
-rw-r--r-- | ChangeLog | 1 | ||||
-rw-r--r-- | regress/sftp-chroot.sh | 3 |
2 files changed, 3 insertions, 1 deletions
@@ -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 diff --git a/regress/sftp-chroot.sh b/regress/sftp-chroot.sh index 98a364eb..03b9bc6d 100644 --- a/regress/sftp-chroot.sh +++ b/regress/sftp-chroot.sh @@ -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" || \ |