mirror of
https://github.com/samba-team/samba.git
synced 2025-01-08 21:18:16 +03:00
PY3: ensure output of subprocess.Popen is decoded
Signed-off-by: Noel Power <noel.power@suse.com> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
This commit is contained in:
parent
6c62e22c1c
commit
dc9117e418
@ -165,7 +165,7 @@ bbdir = os.path.join(srcdir(), "testprogs/blackbox")
|
||||
configuration = "--configfile=$SMB_CONF_PATH"
|
||||
|
||||
smbtorture4 = binpath("smbtorture")
|
||||
smbtorture4_testsuite_list = subprocess.Popen([smbtorture4, "--list-suites"], stdout=subprocess.PIPE, stderr=subprocess.PIPE).communicate("")[0].splitlines()
|
||||
smbtorture4_testsuite_list = subprocess.Popen([smbtorture4, "--list-suites"], stdout=subprocess.PIPE, stderr=subprocess.PIPE).communicate("")[0].decode('utf8').splitlines()
|
||||
|
||||
smbtorture4_options = [
|
||||
configuration,
|
||||
|
Loading…
Reference in New Issue
Block a user