summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorKarel Zak2019-04-15 12:58:48 +0200
committerKarel Zak2019-04-15 12:58:48 +0200
commit1271e63c499b272cfa65deda4a74197f5253df74 (patch)
treedbb458d8cf24808e68fdfa6f94b45c29fe1daffe /tests
parentlibmount: fix memleak on parse errors (diff)
downloadkernel-qcow2-util-linux-1271e63c499b272cfa65deda4a74197f5253df74.tar.gz
kernel-qcow2-util-linux-1271e63c499b272cfa65deda4a74197f5253df74.tar.xz
kernel-qcow2-util-linux-1271e63c499b272cfa65deda4a74197f5253df74.zip
tests: ignore errors with enabled ASAN in python bindings
temporary solution... as it ends with undefined symbol: __asan_option_detect_stack_use_after_return Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'tests')
-rwxr-xr-xtests/ts/libmount/context-py4
-rwxr-xr-xtests/ts/libmount/context-utab-py4
-rwxr-xr-xtests/ts/libmount/tabfiles-py2
-rwxr-xr-xtests/ts/libmount/tabfiles-tags-py2
-rwxr-xr-xtests/ts/libmount/update-py2
5 files changed, 11 insertions, 3 deletions
diff --git a/tests/ts/libmount/context-py b/tests/ts/libmount/context-py
index dfc8faaee..f86edd3af 100755
--- a/tests/ts/libmount/context-py
+++ b/tests/ts/libmount/context-py
@@ -20,6 +20,10 @@ ts_check_prog "mkfs.ext4"
ts_init_py libmount
+if [ "$TS_ENABLE_ASAN" == "yes" ]; then
+ TS_KNOWN_FAIL="yes"
+fi
+
TESTPROG="$TS_HELPER_PYLIBMOUNT_CONTEXT"
[ -x $TESTPROG ] || ts_die "test script missing"
diff --git a/tests/ts/libmount/context-utab-py b/tests/ts/libmount/context-utab-py
index 89fc0c157..3a1da05c1 100755
--- a/tests/ts/libmount/context-utab-py
+++ b/tests/ts/libmount/context-utab-py
@@ -19,6 +19,10 @@ ts_check_prog "mkfs.ext4"
ts_init_py libmount
+if [ "$TS_ENABLE_ASAN" == "yes" ]; then
+ TS_KNOWN_FAIL="yes"
+fi
+
TESTPROG="$TS_HELPER_PYLIBMOUNT_CONTEXT"
[ -x $TESTPROG ] || ts_die "test script missing"
diff --git a/tests/ts/libmount/tabfiles-py b/tests/ts/libmount/tabfiles-py
index b15746070..832e6d980 100755
--- a/tests/ts/libmount/tabfiles-py
+++ b/tests/ts/libmount/tabfiles-py
@@ -9,7 +9,7 @@ TS_DESC="tab files-py"
ts_init "$*"
ts_init_py libmount
-if [ -f "$ASAN_SYMBOLIZER_PATH" ]; then
+if [ "$TS_ENABLE_ASAN" == "yes" ]; then
TS_KNOWN_FAIL="yes"
fi
diff --git a/tests/ts/libmount/tabfiles-tags-py b/tests/ts/libmount/tabfiles-tags-py
index 5e72a6f90..5dd333282 100755
--- a/tests/ts/libmount/tabfiles-tags-py
+++ b/tests/ts/libmount/tabfiles-tags-py
@@ -10,7 +10,7 @@ ts_skip_nonroot
ts_init_py libmount
-if [ -f "$ASAN_SYMBOLIZER_PATH" ]; then
+if [ "$TS_ENABLE_ASAN" == "yes" ]; then
TS_KNOWN_FAIL="yes"
fi
diff --git a/tests/ts/libmount/update-py b/tests/ts/libmount/update-py
index 66f175485..369a521b1 100755
--- a/tests/ts/libmount/update-py
+++ b/tests/ts/libmount/update-py
@@ -10,7 +10,7 @@ ts_init "$*"
ts_init_py libmount
ts_skip_nonroot
-if [ -f "$ASAN_SYMBOLIZER_PATH" ]; then
+if [ "$TS_ENABLE_ASAN" == "yes" ]; then
TS_KNOWN_FAIL="yes"
fi