projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
758d751
)
Fix hardcoded /usr/bin/echo to use portage.process.find_binary().
author
Zac Medico
<zmedico@gentoo.org>
Sun, 22 Jul 2007 23:21:14 +0000
(23:21 -0000)
committer
Zac Medico
<zmedico@gentoo.org>
Sun, 22 Jul 2007 23:21:14 +0000
(23:21 -0000)
svn path=/main/trunk/; revision=7363
pym/portage/tests/sets/shell/testShell.py
patch
|
blob
|
history
diff --git
a/pym/portage/tests/sets/shell/testShell.py
b/pym/portage/tests/sets/shell/testShell.py
index cc0a1bb879c88370bc5e6d211743ec8bec6323bd..938c265e1194df189aaefff042d9f6b9073901c5 100644
(file)
--- 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)