From: Sami Kerola Date: Sun, 9 Nov 2014 21:22:52 +0000 (+0000) Subject: tests: skip kill -SEGV test when running AddressSanitizer X-Git-Tag: v2.26-rc1~209 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=883b8def0a5713c5cae2c6d3f80494219dc053af;p=thirdparty%2Futil-linux.git 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 --- diff --git a/tests/ts/kill/name_to_number b/tests/ts/kill/name_to_number index 9a370bbcc4..cde55c9ed8 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