aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2018-07-18 09:38:04 -0400
committerNick Mathewson <nickm@torproject.org>2018-07-18 09:38:04 -0400
commitef5c3c82167a61e02b954506766325eeb72f6afc (patch)
tree5bf6a33655dab268de57cd1598ce9417a6310070
parente2b744ce38edb8901cff3288634c4ebb5b4568b9 (diff)
parentf8e9c4a894ab61a528560373128c50248b1fe6c4 (diff)
downloadtor-ef5c3c82167a61e02b954506766325eeb72f6afc.tar.gz
tor-ef5c3c82167a61e02b954506766325eeb72f6afc.zip
Merge branch 'ulimit_when_crashing'
-rwxr-xr-xsrc/test/test_bt.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/test/test_bt.sh b/src/test/test_bt.sh
index 312905a4e2..df8bcb8eda 100755
--- a/src/test/test_bt.sh
+++ b/src/test/test_bt.sh
@@ -3,6 +3,8 @@
exitcode=0
+ulimit -c 0
+
export ASAN_OPTIONS="handle_segv=0:allow_user_segv_handler=1"
"${builddir:-.}/src/test/test-bt-cl" backtraces || exit $?
"${builddir:-.}/src/test/test-bt-cl" assert 2>&1 | "${PYTHON:-python}" "${abs_top_srcdir:-.}/src/test/bt_test.py" || exitcode="$?"