From 3bb59255bb5d0275242cc7c81b3935612b729354 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Sat, 2 Oct 2010 14:21:11 -0700 Subject: s4-test: silence a tap2subunit error --- source4/selftest/tests.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source4/selftest/tests.py') 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) -- cgit