]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
tests: skip kill -SEGV test when running AddressSanitizer
authorSami Kerola <kerolasa@iki.fi>
Sun, 9 Nov 2014 21:22:52 +0000 (21:22 +0000)
committerKarel Zak <kzak@redhat.com>
Tue, 18 Nov 2014 11:56:27 +0000 (12:56 +0100)
Sending signal indicating invalid memory reference makes AddressSanitizer
to report false positive test failure.

Signed-off-by: Sami Kerola <kerolasa@iki.fi>
tests/ts/kill/name_to_number

index 9a370bbcc4dafff20eb7779ef0252f40fd05c74a..cde55c9ed83538912d8a7ad2f6a5cc6e5b27ab4c 100755 (executable)
@@ -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