summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2010-09-30 17:24:50 -0700
committerAndrew Tridgell <tridge@samba.org>2010-09-30 17:42:49 -0700
commitdc65824065fea3e6ca9ddedd4b118d26d338ee6e (patch)
tree8090074123fc1961d70bc72e98b3559d080ee688
parent9917d37c3ccebbb8d9ff44b70702394805f2c5e7 (diff)
downloadsamba-dc65824065fea3e6ca9ddedd4b118d26d338ee6e.tar.gz
samba-dc65824065fea3e6ca9ddedd4b118d26d338ee6e.tar.bz2
samba-dc65824065fea3e6ca9ddedd4b118d26d338ee6e.zip
selftest: fixed a selftest error on sn
Pair-Programmed-With: Jelmer Vernooij <jelmer@samba.org>
-rwxr-xr-xsource4/selftest/tests.py2
1 files changed, 1 insertions, 1 deletions
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)