[openssh-commits] [openssh] 02/02: Disable rlimit sandbox, doesn't work with valgrind
git+noreply at mindrot.org
git+noreply at mindrot.org
Sun Feb 21 15:39:36 AEDT 2021
This is an automated email from the git hooks/post-receive script.
dtucker pushed a commit to branch master
in repository openssh.
commit 5fcb0514949d61aadaf4a89cf16eb78fb47491ec
Author: Darren Tucker <dtucker at dtucker.net>
Date: Sat Feb 20 13:34:02 2021 +1100
Disable rlimit sandbox, doesn't work with valgrind
Only run regress tests, runing unit tests as well makes it run longer
than allowed y github.
---
.github/configs | 8 +++++++-
1 file changed, 7 insertions(+), 1 deletion(-)
diff --git a/.github/configs b/.github/configs
index f5b6efe9..280775e1 100755
--- a/.github/configs
+++ b/.github/configs
@@ -56,7 +56,13 @@ case "$config" in
TEST_TARGET=t-exec
;;
valgrind)
- TEST_TARGET="tests USE_VALGRIND=1"
+ # rlimit sandbox and FORTIFY_SOURCE confuse Valgrind.
+ CONFIGFLAGS="--without-sandbox --without-hardening"
+ CONFIGFLAGS="$CONFIGFLAGS --with-cppflags=-D_FORTIFY_SOURCE=0"
+ # Valgrind slows things down enough that the agent timeout test
+ # won't reliably pass, and the unit tests run longer than allowed
+ # by github.
+ TEST_TARGET="t-exec USE_VALGRIND=1 SKIP_LTESTS=agent-timeout"
;;
*)
echo "Unknown configuration $config"
--
To stop receiving notification emails like this one, please contact
djm at mindrot.org.
More information about the openssh-commits
mailing list