From e606bcdc8eeabfa778df550818019189012a5cb9 Mon Sep 17 00:00:00 2001 From: Pengfei Xu Date: Wed, 27 Sep 2023 11:49:36 +0800 Subject: [PATCH] runtests: add one space to check result more clearly when command name is too long VM case result is long like as following: guest.test_launcher.sh -v 1 -s 1 -m 1 -d on -t tdx -x TD_BOOT -c "accept_memory=lazy" -p offPASS 0 21.070s Add one space and make the result more clearly as following: guest.test_launcher.sh -v 1 -s 1 -m 1 -d on -t tdx -x TD_BOOT -c "accept_memory=lazy" -p off PASS 0 21.000s Signed-off-by: Pengfei Xu --- runtests | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/runtests b/runtests index acd377e1..91429689 100755 --- a/runtests +++ b/runtests @@ -93,7 +93,7 @@ runtest() { else echo -e "<<>\n" fi - case_result=$(printf "%-76s%-11s%-12s%-8s" "$cmdline" "$result" "$code" "${duration}s") + case_result=$(printf "%-76s%-11s%-12s%-8s" "$cmdline" " $result" "$code" "${duration}s") echo "$case_result" >> "$SUMMRY_LOG" }