anitazha / rpms / systemd

Forked from rpms/systemd 3 years ago
Clone

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

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