From: Frantisek Sumsal Date: Thu, 7 Jul 2022 12:12:38 +0000 (+0200) Subject: test: create an ASan wrapper for `getent` and `su` X-Git-Tag: v252-rc1~707^2~3 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fdb70dd9222219307ca53662e789fc9304ca3616;p=thirdparty%2Fsystemd.git test: create an ASan wrapper for `getent` and `su` since they "suffer" from the same issue as `login` and other binaries that load PAM stuff --- diff --git a/test/test-functions b/test/test-functions index acb09c20be0..8d24ccf5731 100644 --- a/test/test-functions +++ b/test/test-functions @@ -2482,9 +2482,9 @@ inst_binary() { # Same as above, but we need to wrap certain libraries unconditionally # - # login, useradd, userdel - dlopen()s (not only) systemd's PAM modules + # getent, login, su, 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|useradd|userdel)$ ]]; then + if get_bool "$IS_BUILT_WITH_ASAN" && [[ "$bin" =~ /(getent|login|su|tar|useradd|userdel)$ ]]; then wrap_binary=1 fi