[lxc-devel] [lxcfs/master] tests: Handle different lib paths
stgraber on Github
lxc-bot at linuxcontainers.org
Wed Mar 25 14:56:11 UTC 2020
A non-text attachment was scrubbed...
Name: not available
Type: text/x-mailbox
Size: 355 bytes
Desc: not available
URL: <http://lists.linuxcontainers.org/pipermail/lxc-devel/attachments/20200325/3268ae2c/attachment.bin>
-------------- next part --------------
From 77e23d3b1394c1fbfcd2e4595e74bfcc8332b76f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?St=C3=A9phane=20Graber?= <stgraber at ubuntu.com>
Date: Wed, 25 Mar 2020 10:55:51 -0400
Subject: [PATCH] tests: Handle different lib paths
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Signed-off-by: Stéphane Graber <stgraber at ubuntu.com>
---
tests/test_reload.sh | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tests/test_reload.sh b/tests/test_reload.sh
index 6fc3895..9c6e55f 100755
--- a/tests/test_reload.sh
+++ b/tests/test_reload.sh
@@ -13,7 +13,7 @@ topdir=$(dirname ${dirname})
testdir=`mktemp -t -d libs.XXX`
installdir=`mktemp -t -d libs.XXX`
pidfile=$(mktemp)
-libdir=${installdir}/usr/lib/lxcfs
+libdir=${installdir}/$(grep ^LIBDIR Makefile | awk '{print $NF}')
bindir=${installdir}/usr/bin
lxcfspid=-1
FAILED=1
More information about the lxc-devel
mailing list