diff --git a/test/test-functions b/test/test-functions index 98650a503f..9d369685d9 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