diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2010-11-28 04:58:52 +0100 |
---|---|---|
committer | Jelmer Vernooij <jelmer@samba.org> | 2010-11-28 05:45:05 +0100 |
commit | 4cf85a719350942960d131adfd120eb649c5c861 (patch) | |
tree | 8620d07e31f24ae8337e7385a3719ecd47004ced /source4/selftest | |
parent | 7c65ab12af355ca07c989cd3f1cdffba2a98362a (diff) | |
download | samba-4cf85a719350942960d131adfd120eb649c5c861.tar.gz samba-4cf85a719350942960d131adfd120eb649c5c861.tar.bz2 samba-4cf85a719350942960d131adfd120eb649c5c861.zip |
s4-selftest: Ignore broken pipe error from grep.
Autobuild-User: Jelmer Vernooij <jelmer@samba.org>
Autobuild-Date: Sun Nov 28 05:45:05 CET 2010 on sn-devel-104
Diffstat (limited to 'source4/selftest')
-rwxr-xr-x | source4/selftest/tests.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/selftest/tests.py b/source4/selftest/tests.py index 1d95ad2d9f..180f089642 100755 --- a/source4/selftest/tests.py +++ b/source4/selftest/tests.py @@ -150,7 +150,7 @@ if sub.returncode != 0: tap2subunit = "PYTHONPATH=%s/../lib/subunit/python:%s/../lib/testtools %s %s/../lib/subunit/filters/tap2subunit" % (samba4srcdir, samba4srcdir, python, samba4srcdir) else: cmd = "echo -ne \"1..1\nok 1 # skip doesn't seem to work yet\n\" | tap2subunit 2> /dev/null | grep skip" - sub = subprocess.Popen(cmd, stdout=subprocess.PIPE, stdin=subprocess.PIPE, shell=True) + sub = subprocess.Popen(cmd, stdout=subprocess.PIPE, stdin=subprocess.PIPE, stderr=subprocess.PIPE, shell=True) if sub.returncode == 0: tap2subunit = "tap2subunit" else: |