From: Frantisek Sumsal Date: Fri, 17 Jun 2022 12:47:10 +0000 (+0200) Subject: test: always wrap useradd/userdel when running w/ ASan X-Git-Tag: v252-rc1~795^2~5 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=94850fb956458703e0c6e0bee7f482aa41a47e9e;p=thirdparty%2Fsystemd.git test: always wrap useradd/userdel when running w/ ASan since they dlopen() PAM modules, including systemd ones. --- diff --git a/test/test-functions b/test/test-functions index 98650a503fe..9d369685d9c 100644 --- a/test/test-functions +++ b/test/test-functions @@ -2484,9 +2484,9 @@ inst_binary() { # Same as above, but we need to wrap certain libraries unconditionally # - # login - dlopen()s (not only) systemd's PAM modules + # login, useradd, userdel - dlopen()s (not only) systemd's PAM modules # tar - called by machinectl in TEST-25 - if get_bool "$IS_BUILT_WITH_ASAN" && [[ "$bin" =~ /(login|tar)$ ]]; then + if get_bool "$IS_BUILT_WITH_ASAN" && [[ "$bin" =~ /(login|tar|useradd|userdel)$ ]]; then wrap_binary=1 fi