dryang / rpms / systemd

Forked from rpms/systemd 2 years ago
Clone
c2dfb7
From 98e4c0d39a83a325038d0b39715fc534c7613bef Mon Sep 17 00:00:00 2001
c2dfb7
From: Yu Watanabe <watanabe.yu+github@gmail.com>
c2dfb7
Date: Wed, 12 Sep 2018 18:19:45 +0900
c2dfb7
Subject: [PATCH] test: install libraries required by tests
c2dfb7
c2dfb7
(cherry picked from commit e3d3dada248c5f30e2978840ca1f0a03a4675b53)
c2dfb7
c2dfb7
Resolves: #1823767
c2dfb7
---
c2dfb7
 test/test-functions | 2 +-
c2dfb7
 1 file changed, 1 insertion(+), 1 deletion(-)
c2dfb7
c2dfb7
diff --git a/test/test-functions b/test/test-functions
c2dfb7
index da83891f46..f7ca3ad975 100644
c2dfb7
--- a/test/test-functions
c2dfb7
+++ b/test/test-functions
c2dfb7
@@ -420,7 +420,7 @@ get_ldpath() {
c2dfb7
 
c2dfb7
 install_missing_libraries() {
c2dfb7
     # install possible missing libraries
c2dfb7
-    for i in $initdir{,/usr}/{sbin,bin}/* $initdir{,/usr}/lib/systemd/*; do
c2dfb7
+    for i in $initdir{,/usr}/{sbin,bin}/* $initdir{,/usr}/lib/systemd/{,tests/{,manual/,unsafe/}}*; do
c2dfb7
         LD_LIBRARY_PATH=$(get_ldpath $i) inst_libs $i
c2dfb7
     done
c2dfb7
 }