From b8d785a672b9352d70beea966a91b7eaeaaef9a4 Mon Sep 17 00:00:00 2001 From: Andrew Innes Date: Sun, 30 Jul 2023 06:46:37 +0800 Subject: [PATCH] Update btrfstests.py --- contrib/windows/tests/btrfstests.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/contrib/windows/tests/btrfstests.py b/contrib/windows/tests/btrfstests.py index 86a7b239a710..797c6490c345 100644 --- a/contrib/windows/tests/btrfstests.py +++ b/contrib/windows/tests/btrfstests.py @@ -229,8 +229,10 @@ def main(): print(ret.stdout.decode()) - print(str(test), ret.stdout.decode().splitlines()[-1]) - log_file.write(str(test), ret.stdout.decode().splitlines()[-1]) + out = " ".join(str(test), ret.stdout.decode().splitlines()[-1]) + + print(out) + log_file.write(out) preTest() runWithPrint(["zpool", "destroy", "-f", "test01"])