aboutsummaryrefslogtreecommitdiffstats
path: root/tests/zfs-tests
diff options
context:
space:
mode:
authorszubersk <[email protected]>2022-11-12 22:30:57 +1000
committerBrian Behlendorf <[email protected]>2022-11-18 11:26:55 -0800
commit32ef14de0f3609c35d2478dd52950e9ad65b8c6d (patch)
tree88c86aef4bc969a338ee2c744517e129c58e3a55 /tests/zfs-tests
parent28ea4f9b088fd7fb33593f09d37bae44ea85e4fb (diff)
Ubuntu 22.04 integration: ZTS
Add `detect_odr_violation=1` to ASAN_OPTIONS to allow both libzfs and libzpool expose ``` zfeature_info_t spa_feature_table[SPA_FEATURES] ``` from module/zcommon/zfeature_common.c in public ABI. Reviewed-by: Brian Behlendorf <[email protected]> Reviewed-by: Richard Yao <[email protected]> Reviewed-by: George Melikov <[email protected]> Signed-off-by: szubersk <[email protected]> Closes #14148
Diffstat (limited to 'tests/zfs-tests')
-rw-r--r--tests/zfs-tests/include/default.cfg.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/zfs-tests/include/default.cfg.in b/tests/zfs-tests/include/default.cfg.in
index 56111a147..3aed8ebea 100644
--- a/tests/zfs-tests/include/default.cfg.in
+++ b/tests/zfs-tests/include/default.cfg.in
@@ -156,7 +156,7 @@ done
export MAX_PARTITIONS=8
if [ "@ASAN_ENABLED@" = "yes" ]; then
- export ASAN_OPTIONS=abort_on_error=true:halt_on_error=true:allocator_may_return_null=true:disable_coredump=false:detect_stack_use_after_return=true
+ export ASAN_OPTIONS=abort_on_error=true:halt_on_error=true:allocator_may_return_null=true:disable_coredump=false:detect_stack_use_after_return=true:detect_odr_violation=1
# TODO
# disable memory leaks detection