aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVincent Fu <vincent.fu@samsung.com>2023-08-02 12:30:17 -0400
committerVincent Fu <vincent.fu@samsung.com>2023-08-02 12:58:16 -0400
commit7b57011427a8204bd63671b08dde56cd9e879d68 (patch)
treefe0fe1db4c434d7b62dff3217c003fd0709211a5
parentdf50839f20a95d6b576b76b034041c6a12015ee0 (diff)
downloadfio-7b57011427a8204bd63671b08dde56cd9e879d68.tar.gz
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 <vincent.fu@samsung.com>
-rwxr-xr-xt/fiotestlib.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/t/fiotestlib.py b/t/fiotestlib.py
index 0fe17b74b..1f35de0ae 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+",