summaryrefslogtreecommitdiffstats
path: root/tests/ts/kill
diff options
context:
space:
mode:
authorSami Kerola2014-11-09 22:22:52 +0100
committerKarel Zak2014-11-18 12:56:27 +0100
commit883b8def0a5713c5cae2c6d3f80494219dc053af (patch)
treef33f884b53ccc8df197fa1da25f018883da58782 /tests/ts/kill
parentlibmount: fix memory overflow [AddressSanitizer] (diff)
downloadkernel-qcow2-util-linux-883b8def0a5713c5cae2c6d3f80494219dc053af.tar.gz
kernel-qcow2-util-linux-883b8def0a5713c5cae2c6d3f80494219dc053af.tar.xz
kernel-qcow2-util-linux-883b8def0a5713c5cae2c6d3f80494219dc053af.zip
tests: skip kill -SEGV test when running AddressSanitizer
Sending signal indicating invalid memory reference makes AddressSanitizer to report false positive test failure. Signed-off-by: Sami Kerola <kerolasa@iki.fi>
Diffstat (limited to 'tests/ts/kill')
-rwxr-xr-xtests/ts/kill/name_to_number3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/ts/kill/name_to_number b/tests/ts/kill/name_to_number
index 9a370bbcc..cde55c9ed 100755
--- a/tests/ts/kill/name_to_number
+++ b/tests/ts/kill/name_to_number
@@ -33,6 +33,9 @@ for SIG in $($TS_CMD_KILL -L); do
EXPECTED=$SIG
continue
fi
+ if [ -f "$ASAN_SYMBOLIZER_PATH" ] && [ "x$SIG" = "xSEGV" ]; then
+ continue
+ fi
if [ "x$SIG" = "xSTOP" ] || [ "x$SIG" = "xKILL" ]; then
continue
fi