summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--pym/portage/tests/sets/shell/testShell.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/pym/portage/tests/sets/shell/testShell.py b/pym/portage/tests/sets/shell/testShell.py
index cc0a1bb87..938c265e1 100644
--- a/pym/portage/tests/sets/shell/testShell.py
+++ b/pym/portage/tests/sets/shell/testShell.py
@@ -3,6 +3,7 @@
# Distributed under the terms of the GNU General Public License v2
# $Id$
+from portage.process import find_binary
from portage.tests import TestCase, test_cps
from portage.sets.shell import CommandOutputSet
@@ -18,7 +19,8 @@ class CommandOutputSetTestCase(TestCase):
def testCommand(self):
input = set(test_cps)
- command = "/usr/bin/echo -e "
+ command = find_binary("echo")
+ command += " -e "
for a in input:
command += "\"%s\n\"" % a
s = CommandOutputSet('testset', command)