From 19bc8ef897a187cf7605fa22c60b410e72749ee8 Mon Sep 17 00:00:00 2001 From: Karel Zak Date: Wed, 17 Apr 2019 10:38:50 +0200 Subject: tests: fix TS_ENABLE_ASAN usage 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/ts') diff --git a/tests/ts/kill/name_to_number b/tests/ts/kill/name_to_number index 86e644513..b6ae4be4d 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 "$TS_ENABLE_ASAN" ] && [ "x$SIG" = "xSEGV" ]; then + if [ "$TS_ENABLE_ASAN" == "yes" ] && [ "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 ff17bccc6..69b06a95a 100755 --- a/tests/ts/libmount/tabfiles-tags +++ b/tests/ts/libmount/tabfiles-tags @@ -8,7 +8,7 @@ ts_init "$*" ts_skip_nonroot -if [ -f "$TS_ENABLE_ASAN" ]; then +if [ "$TS_ENABLE_ASAN" == "yes" ]; then TS_KNOWN_FAIL="yes" fi -- cgit v1.2.3-55-g7522