diff options
-rw-r--r-- | ChangeLog | 1 | ||||
-rw-r--r-- | regress/sftp-chroot.sh | 3 |
2 files changed, 3 insertions, 1 deletions
@@ -18,6 +18,7 @@ | |||
18 | configure find us a capable shell on those platforms with an old /bin/sh. | 18 | configure find us a capable shell on those platforms with an old /bin/sh. |
19 | - (tim) [aclocal.m4] Enhance OSSH_CHECK_CFLAG_COMPILE to check stderr. | 19 | - (tim) [aclocal.m4] Enhance OSSH_CHECK_CFLAG_COMPILE to check stderr. |
20 | feedback and ok dtucker | 20 | feedback and ok dtucker |
21 | - (tim) [regress/sftp-chroot.sh] skip if no sudo. ok dtucker | ||
21 | 22 | ||
22 | 20130601 | 23 | 20130601 |
23 | - (dtucker) [configure.ac openbsd-compat/xcrypt.c] bz#2112: fall back to | 24 | - (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 98a364ebf..03b9bc6d7 100644 --- a/regress/sftp-chroot.sh +++ b/regress/sftp-chroot.sh | |||
@@ -8,7 +8,8 @@ FILENAME=testdata_${USER} | |||
8 | PRIVDATA=${CHROOT}/${FILENAME} | 8 | PRIVDATA=${CHROOT}/${FILENAME} |
9 | 9 | ||
10 | if [ -z "$SUDO" ]; then | 10 | if [ -z "$SUDO" ]; then |
11 | fatal "need SUDO to create file in /var/run, test won't work without" | 11 | echo "skipped: need SUDO to create file in /var/run, test won't work without" |
12 | exit 0 | ||
12 | fi | 13 | fi |
13 | 14 | ||
14 | $SUDO sh -c "echo mekmitastdigoat > $PRIVDATA" || \ | 15 | $SUDO sh -c "echo mekmitastdigoat > $PRIVDATA" || \ |