tests: fix TS_ENABLE_ASAN usage

Signed-off-by: Karel Zak <kzak@redhat.com>
This commit is contained in:
Karel Zak 2019-04-17 10:38:50 +02:00
parent 2da48ba3cc
commit 19bc8ef897
2 changed files with 2 additions and 2 deletions

View File

@ -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

View File

@ -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