From dc65824065fea3e6ca9ddedd4b118d26d338ee6e Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Thu, 30 Sep 2010 17:24:50 -0700 Subject: selftest: fixed a selftest error on sn Pair-Programmed-With: Jelmer Vernooij --- source4/selftest/tests.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source4/selftest/tests.py b/source4/selftest/tests.py index a9d1daf82d..63a4bcfd85 100755 --- a/source4/selftest/tests.py +++ b/source4/selftest/tests.py @@ -139,7 +139,7 @@ else: def smb4torture_testsuites(prefix): return filter(lambda x: x.startswith(prefix), smb4torture_testsuite_list) -sub = subprocess.Popen("tap2subunit", stdout=subprocess.PIPE, stdin=subprocess.PIPE) +sub = subprocess.Popen("tap2subunit", stdout=subprocess.PIPE, stdin=subprocess.PIPE, shell=True) sub.communicate("") if sub.returncode != 0: tap2subunit = "PYTHONPATH=%s/../lib/subunit/python:%s/../lib/testtools %s %s/../lib/subunit/filters/tap2subunit" % (samba4srcdir, samba4srcdir, python, samba4srcdir) -- cgit