mirror of
https://github.com/samba-team/samba.git
synced 2025-01-11 05:18:09 +03:00
selftest: fixed a selftest error on sn
Pair-Programmed-With: Jelmer Vernooij <jelmer@samba.org>
This commit is contained in:
parent
9917d37c3c
commit
dc65824065
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user