From 2da48ba3cce141fa77c31ca70c5477d4ec98e190 Mon Sep 17 00:00:00 2001 From: Karel Zak Date: Wed, 17 Apr 2019 10:10:46 +0200 Subject: tests: use TS_ENABLE_ASAN in tests to detect ASAN It seems better to not use any random ASAN variable. Signed-off-by: Karel Zak --- tests/ts/kill/name_to_number | 2 +- tests/ts/libmount/tabfiles-tags | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'tests') diff --git a/tests/ts/kill/name_to_number b/tests/ts/kill/name_to_number index fd2aaafe0..86e644513 100755 --- a/tests/ts/kill/name_to_number +++ b/tests/ts/kill/name_to_number @@ -38,7 +38,7 @@ for SIG in $($TS_CMD_KILL -L); do EXPECTED=$SIG continue fi - if [ -f "$ASAN_SYMBOLIZER_PATH" ] && [ "x$SIG" = "xSEGV" ]; then + if [ -f "$TS_ENABLE_ASAN" ] && [ "x$SIG" = "xSEGV" ]; then continue fi if [ "x$SIG" = "xSTOP" ] || [ "x$SIG" = "xKILL" ]; then diff --git a/tests/ts/libmount/tabfiles-tags b/tests/ts/libmount/tabfiles-tags index 38858f47b..ff17bccc6 100755 --- a/tests/ts/libmount/tabfiles-tags +++ b/tests/ts/libmount/tabfiles-tags @@ -8,7 +8,7 @@ ts_init "$*" ts_skip_nonroot -if [ -f "$ASAN_SYMBOLIZER_PATH" ]; then +if [ -f "$TS_ENABLE_ASAN" ]; then TS_KNOWN_FAIL="yes" fi -- cgit v1.2.3-55-g7522