summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rwxr-xr-xtests/ts/kill/name_to_number2
-rwxr-xr-xtests/ts/libmount/tabfiles-tags2
2 files changed, 2 insertions, 2 deletions
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