Skip running sftp-chroot under Valgrind.

This commit is contained in:
Darren Tucker 2019-07-19 18:51:18 +10:00
parent 41e22c2e05
commit e82c9bb9ff
1 changed files with 4 additions and 0 deletions

View File

@ -164,6 +164,10 @@ if [ "x$USE_VALGRIND" != "x" ]; then
case "$VG_TEST" in
reexec)
VG_SKIP=1 ;;
sftp-chroot)
if [ "x${SUDO}" != "x" ]; then
VG_SKIP=1
fi ;;
esac
if [ x"$VG_SKIP" = "x" ]; then