From: Karel Zak Date: Wed, 17 Apr 2019 08:38:50 +0000 (+0200) Subject: tests: fix TS_ENABLE_ASAN usage X-Git-Tag: v2.34-rc1~19 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=19bc8ef897a187cf7605fa22c60b410e72749ee8;p=thirdparty%2Futil-linux.git tests: fix TS_ENABLE_ASAN usage Signed-off-by: Karel Zak --- diff --git a/tests/ts/kill/name_to_number b/tests/ts/kill/name_to_number index 86e6445133..b6ae4be4d8 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 ff17bccc6d..69b06a95a1 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