commit: 02ed485976fbf88a548c7b83978e23e3b50f41a2
Author: Brian Dolbec <dolsen <AT> gentoo <DOT> org>
AuthorDate: Mon Sep 29 21:48:20 2014 +0000
Commit: Brian Dolbec <brian.dolbec <AT> gmail <DOT> com>
CommitDate: Mon Sep 29 22:26:35 2014 +0000
URL:
http://sources.gentoo.org/gitweb/?p=proj/portage.git;a=commit;h=02ed4859
Fix travis test failures due to setup.py installing future sbin scripts in
bindir
---
pym/portage/tests/__init__.py | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/pym/portage/tests/__init__.py b/pym/portage/tests/__init__.py
index 708dd59..afa57e3 100644
--- a/pym/portage/tests/__init__.py
+++ b/pym/portage/tests/__init__.py
@@ -197,7 +197,9 @@ class TestCase(unittest.TestCase):
self.cnf_path = cnf_path
self.cnf_etc_path = cnf_etc_path
self.bindir = cnf_bindir
- self.sbindir = cnf_sbindir
+ # sbin scripts are installed by setup.py to the bindir
+ # they are relocated to /usr/sbin dir by the ebuild later
+ self.sbindir = self.bindir
def defaultTestResult(self):
return TextTestResult()