Skip to content

Commit

Permalink
runtests: add one space to check result more clearly when command nam…
Browse files Browse the repository at this point in the history
…e 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 <[email protected]>
  • Loading branch information
xupengfe authored and ysun committed Sep 28, 2023
1 parent 74a3b90 commit e606bcd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion runtests
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ runtest() {
else
echo -e "<<<test end, result: $result, duration: ${duration}s>>\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"
}

Expand Down

0 comments on commit e606bcd

Please sign in to comment.