projects
/
pspp
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
11ae259
)
tests: Disable Address Sanitizer SIGSEGV handler for intentional SIGSEGV.
author
Ben Pfaff
<blp@cs.stanford.edu>
Mon, 26 Nov 2018 01:54:17 +0000
(17:54 -0800)
committer
Ben Pfaff
<blp@cs.stanford.edu>
Mon, 26 Nov 2018 06:12:37 +0000
(22:12 -0800)
tests/ui/terminal/main.at
patch
|
blob
|
history
diff --git
a/tests/ui/terminal/main.at
b/tests/ui/terminal/main.at
index a67447e48ebdc6f7796bde016f9859e486d72c62..9da187fa45f3b52f915903cfd65dc9f3edcd48e6 100644
(file)
--- a/
tests/ui/terminal/main.at
+++ b/
tests/ui/terminal/main.at
@@
-38,6
+38,10
@@
AT_CHECK([pspp main.sps & sleep 1; kill $!; wait $!], [143], [], [ignore])
AT_CLEANUP
AT_SETUP([SIGSEGV yields error report])
+
+# This test intentionally causes SIGSEGV, so make Address Sanitizer ignore it.
+ASAN_OPTIONS=$ASAN_OPTIONS:handle_segv=0; export ASAN_OPTIONS
+
AT_CHECK([[echo 'host command=["kill -SEGV $PPID"].' | pspp -O format=csv]],
[139], [], [stderr])