teknoraver / rpms / systemd

Forked from rpms/systemd 3 months ago
Clone

Blame SOURCES/0356-test-install-libraries-required-by-tests.patch

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