Message ID | 20231228072109.349636-1-shichen@redhat.com |
---|---|
State | Accepted |
Headers | show |
Series | [v2,1/1] tools: Fix syntax error caused by "; ; " in create_dmesg_entry awk script | expand |
Pushed, thanks!
diff --git a/tools/create_dmesg_entries_for_each_test.awk b/tools/create_dmesg_entries_for_each_test.awk index 25d750a55..ffd807fb4 100644 --- a/tools/create_dmesg_entries_for_each_test.awk +++ b/tools/create_dmesg_entries_for_each_test.awk @@ -27,6 +27,7 @@ NF && ! /^#/ { for (i = 2; i <= NF; i++) { s = s " " $i } + sub(/[;]+$/, "", s) s = s "; dmesg > " DMESG_DIR "/" $1 ".dmesg.log" print s }