chiark / gitweb /
test-functions:install_libnss() call dracut_install with all $NSS_LIBS
[elogind.git] / test / test-functions
index b9468a458f3e19da2bb9357e05e364af2eb2ee8d..368e7a1e52ca33ea45c8e2c038d4aefc6e53fd55 100644 (file)
@@ -244,9 +244,7 @@ install_debug_tools() {
 install_libnss() {
     # install libnss_files for login
     NSS_LIBS=$(LD_DEBUG=files getent passwd 2>&1 >/dev/null |sed -n '/calling init: .*libnss_/ {s!^.* /!/!; p}')
-    for l in $NSS_LIBS; do
-        dracut_install $l
-    done
+    dracut_install $NSS_LIBS
 }
 
 install_dbus() {