]> git.ipfire.org Git - thirdparty/openssh-portable.git/commitdiff
Skip running sftp-chroot under Valgrind.
authorDarren Tucker <dtucker@dtucker.net>
Fri, 19 Jul 2019 08:51:18 +0000 (18:51 +1000)
committerDarren Tucker <dtucker@dtucker.net>
Sat, 20 Jul 2019 12:14:46 +0000 (22:14 +1000)
regress/test-exec.sh

index 3d4a856bb3e8c5343ea42becb62d859ff88c0c0b..2e1edd5165ac91590652a90276776191bdf8b51a 100644 (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