Module: check_mk
Branch: master
Commit: e18c709be14f892d517571b0172fac0134223325
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=e18c709be14f89…
Author: Lars Michelsen <lm(a)mathias-kettner.de>
Date: Tue Apr 4 14:36:40 2017 +0200
Fixed rpath length limitation issue in fake version for tests
Change-Id: I4a809c3e9c2612d4ca6bf07248084936f2817919
---
tests/testlib/__init__.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tests/testlib/__init__.py b/tests/testlib/__init__.py
index 179aa3b..8be7f85 100644
--- a/tests/testlib/__init__.py
+++ b/tests/testlib/__init__.py
@@ -340,7 +340,7 @@ class Site(object):
raise Exception("Failed to set new version to bin/omd")
if os.system("sudo chrpath -r %s/lib %s/bin/python" %
- (self.version.version_path(), self.version.version_path())) >> 8 != 0:
+ (self.root, self.version.version_path())) >> 8 != 0:
raise Exception("Failed to set new version to bin/python")