summaryrefslogtreecommitdiff
path: root/ci
diff options
context:
space:
mode:
authorEdward Thomson <ethomson@edwardthomson.com>2018-10-31 08:47:10 +0000
committerGitHub <noreply@github.com>2018-10-31 08:47:10 +0000
commitb5ae83bfac53fa3a17435ebf2fc3b79db8055dae (patch)
treed842a2c29c9c8e73d9c169800741cdd5279ba064 /ci
parent795580095a5b04ae81be4affb24bd9ea4b69d068 (diff)
parent8c49b3bf26f4334f90dadf42685c95b356a7a0a3 (diff)
downloadlibgit2-b5ae83bfac53fa3a17435ebf2fc3b79db8055dae.tar.gz
Merge pull request #4860 from tiennou/ci/macos-leaks
CI: Fix macOS leak detection
Diffstat (limited to 'ci')
-rwxr-xr-xci/test.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/ci/test.sh b/ci/test.sh
index 1bc710a73..10c4d84b5 100755
--- a/ci/test.sh
+++ b/ci/test.sh
@@ -14,7 +14,7 @@ USER=${USER:-$(whoami)}
SUCCESS=1
VALGRIND="valgrind --leak-check=full --show-reachable=yes --error-exitcode=125 --num-callers=50 --suppressions=\"$SOURCE_DIR/libgit2_clar.supp\""
-LEAKS="MallocStackLogging=1 MallocScribble=1 leaks -quiet -atExit -- nohup"
+LEAKS="MallocStackLogging=1 MallocScribble=1 MallocLogFile=/dev/null CLAR_AT_EXIT=\"leaks -quiet \$PPID\""
cleanup() {
echo "Cleaning up..."