mirror of
https://github.com/samba-team/samba.git
synced 2024-12-23 17:34:34 +03:00
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
This commit is contained in:
parent
7c65ab12af
commit
4cf85a7193
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user