compatibility issues on FreeBSD systems. Thanks to aballier for reporting
the issue and testing this patch.
svn path=/main/trunk/; revision=10751
def testCommand(self):
input = set(test_cps)
- command = find_binary("echo")
- command += " -e "
+ command = find_binary("bash")
+ command += " -c '"
for a in input:
- command += "\"%s\n\"" % a
+ command += " echo -e \"%s\" ; " % a
+ command += "'"
s = CommandOutputSet(command)
atoms = s.getAtoms()
self.assertEqual(atoms, input)