summaryrefslogtreecommitdiffstats
path: root/regress/test-exec.sh
diff options
context:
space:
mode:
Diffstat (limited to 'regress/test-exec.sh')
-rw-r--r--regress/test-exec.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/regress/test-exec.sh b/regress/test-exec.sh
index 3d4a856bb..2e1edd516 100644
--- a/regress/test-exec.sh
+++ b/regress/test-exec.sh
@@ -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