diff options
author | Sami Kerola | 2014-11-09 22:22:52 +0100 |
---|---|---|
committer | Karel Zak | 2014-11-18 12:56:27 +0100 |
commit | 883b8def0a5713c5cae2c6d3f80494219dc053af (patch) | |
tree | f33f884b53ccc8df197fa1da25f018883da58782 /tests/ts/kill | |
parent | libmount: fix memory overflow [AddressSanitizer] (diff) | |
download | kernel-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-x | tests/ts/kill/name_to_number | 3 |
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 |