summaryrefslogtreecommitdiff
path: root/test/test-functions
diff options
context:
space:
mode:
Diffstat (limited to 'test/test-functions')
-rw-r--r--test/test-functions4
1 files changed, 3 insertions, 1 deletions
diff --git a/test/test-functions b/test/test-functions
index 3dfbf94cad..331e98c04e 100644
--- a/test/test-functions
+++ b/test/test-functions
@@ -2569,8 +2569,10 @@ inst_binary() {
# Same as above, but we need to wrap certain libraries unconditionally
#
# getent, login, su, useradd, userdel - dlopen()s (not only) systemd's PAM modules
+ # ls, stat - pulls in nss_systemd with certain options (like ls -l) when
+ # nsswitch.conf uses [SUCCESS=merge] (like on Arch Linux)
# tar - called by machinectl in TEST-25
- if get_bool "$IS_BUILT_WITH_ASAN" && [[ "$bin" =~ /(getent|login|su|tar|useradd|userdel)$ ]]; then
+ if get_bool "$IS_BUILT_WITH_ASAN" && [[ "$bin" =~ /(getent|login|ls|stat|su|tar|useradd|userdel)$ ]]; then
wrap_binary=1
fi