summaryrefslogtreecommitdiff
path: root/source4/selftest
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2010-10-02 14:21:11 -0700
committerAndrew Tridgell <tridge@samba.org>2010-10-02 21:11:52 -0700
commit3bb59255bb5d0275242cc7c81b3935612b729354 (patch)
treea20a6efbe3c767a649ff154377d0f0d6f41d3832 /source4/selftest
parent762ad1c4baf04aa2e5dcdbcf6242b3e34d92cd4e (diff)
downloadsamba-3bb59255bb5d0275242cc7c81b3935612b729354.tar.gz
samba-3bb59255bb5d0275242cc7c81b3935612b729354.tar.bz2
samba-3bb59255bb5d0275242cc7c81b3935612b729354.zip
s4-test: silence a tap2subunit error
Diffstat (limited to 'source4/selftest')
-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 1913c40c28..b6402e8a46 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, shell=True)
+sub = subprocess.Popen("tap2subunit 2> /dev/null", 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)