From 7b57011427a8204bd63671b08dde56cd9e879d68 Mon Sep 17 00:00:00 2001 From: Vincent Fu Date: Wed, 2 Aug 2023 12:30:17 -0400 Subject: [PATCH] t/fiotestlib: make recorded command prettier Instead of recording fio test commands as a single very long line, put each option on its own line to make the command easier for humans to digest. Signed-off-by: Vincent Fu --- t/fiotestlib.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/t/fiotestlib.py b/t/fiotestlib.py index 0fe17b74..1f35de0a 100755 --- a/t/fiotestlib.py +++ b/t/fiotestlib.py @@ -75,7 +75,7 @@ class FioExeTest(FioTest): command = [self.paths['exe']] + self.parameters with open(self.filenames['cmd'], "w+", encoding=locale.getpreferredencoding()) as command_file: - command_file.write(" ".join(command)) + command_file.write(" \\\n ".join(command)) try: with open(self.filenames['stdout'], "w+", -- 2.25.1