Signed-off-by: Masashi Honma <masashi.honma@xxxxxxxxx> --- tests/hwsim/vm/parallel-vm.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/hwsim/vm/parallel-vm.py b/tests/hwsim/vm/parallel-vm.py index cf7f8df65..f8bb64872 100755 --- a/tests/hwsim/vm/parallel-vm.py +++ b/tests/hwsim/vm/parallel-vm.py @@ -90,7 +90,7 @@ def vm_read_stdout(vm, i): ready = False try: - out = vm['proc'].stdout.read() + out = vm['proc'].stdout.read().decode() except: return False logger.debug("VM[%d] stdout.read[%s]" % (i, out)) @@ -191,7 +191,7 @@ def show_progress(scr): running = True first_running = True try: - err = vm[i]['proc'].stderr.read() + err = vm[i]['proc'].stderr.read().decode() vm[i]['err'] += err logger.debug("VM[%d] stderr.read[%s]" % (i, err)) except: @@ -400,7 +400,7 @@ def main(): cmd += args.testmodules lst = subprocess.Popen(cmd, stdout=subprocess.PIPE) for l in lst.stdout.readlines(): - name = l.split(' ')[0] + name = l.decode().split(' ')[0] tests.append(name) if len(tests) == 0: sys.exit("No test cases selected") -- 2.17.1 _______________________________________________ Hostap mailing list Hostap@xxxxxxxxxxxxxxxxxxx http://lists.infradead.org/mailman/listinfo/hostap