diff options
author | Nick Mathewson <nickm@torproject.org> | 2016-05-02 12:58:58 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2016-05-02 12:58:58 -0400 |
commit | b72aa18d73869563e88b85930408781495deed2c (patch) | |
tree | f69a692722971fdbbf576b6dd9edeb8a36dfcd28 /src/test/test_bt.sh | |
parent | fb9c9e04f002fbbd9745911a17481b49ed66c9f4 (diff) | |
download | tor-b72aa18d73869563e88b85930408781495deed2c.tar.gz tor-b72aa18d73869563e88b85930408781495deed2c.zip |
test_bt.sh: Check stderr for backtrace as well as stdout.
addresssanitizer likes to put backtraces on stderr.
Diffstat (limited to 'src/test/test_bt.sh')
-rwxr-xr-x | src/test/test_bt.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/test/test_bt.sh b/src/test/test_bt.sh index 033acac955..83fa3ff24b 100755 --- a/src/test/test_bt.sh +++ b/src/test/test_bt.sh @@ -4,7 +4,7 @@ exitcode=0 "${builddir:-.}/src/test/test-bt-cl" backtraces || exit $? -"${builddir:-.}/src/test/test-bt-cl" assert | "${PYTHON:-python}" "${abs_top_srcdir:-.}/src/test/bt_test.py" || exitcode="$?" -"${builddir:-.}/src/test/test-bt-cl" crash | "${PYTHON:-python}" "${abs_top_srcdir:-.}/src/test/bt_test.py" || exitcode="$?" +"${builddir:-.}/src/test/test-bt-cl" assert 2>&1 | "${PYTHON:-python}" "${abs_top_srcdir:-.}/src/test/bt_test.py" || exitcode="$?" +"${builddir:-.}/src/test/test-bt-cl" crash 2>&1 | "${PYTHON:-python}" "${abs_top_srcdir:-.}/src/test/bt_test.py" || exitcode="$?" exit ${exitcode} |