diff options
author | Edward Thomson <ethomson@edwardthomson.com> | 2018-07-25 01:04:55 +0100 |
---|---|---|
committer | Edward Thomson <ethomson@edwardthomson.com> | 2018-09-22 19:15:47 +1000 |
commit | 7ecafe05f17767c1939c7fb287960c96e28312e2 (patch) | |
tree | 04930c4df0859ddd9115ae6d6e3c8d7eb2c2c02a | |
parent | 4d0a6d72079a8fb339c478f9e64c02f49006c51f (diff) | |
download | libgit2-7ecafe05f17767c1939c7fb287960c96e28312e2.tar.gz |
ci: dissociate test from leaks process
The leaks process is not good about handling children. Ensure that its
child is `nohup`ed so that the grandparent shell won't wait for it to
exit.
-rwxr-xr-x | ci/test.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ci/test.sh b/ci/test.sh index 4884bb9c4..b6033a268 100755 --- a/ci/test.sh +++ b/ci/test.sh @@ -12,7 +12,7 @@ TMPDIR=${TMPDIR:-/tmp} USER=${USER:-$(whoami)} 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 --" +LEAKS="MallocStackLogging=1 MallocScribble=1 leaks -quiet -atExit -- nohup" cleanup() { echo "Cleaning up..." |