Message ID | 20240315085019.3183671-1-liwang@redhat.com |
---|---|
State | Accepted |
Headers | show |
Series | tools: fix broken failure-detection when using individual dmesg logs | expand |
Hi Li, all,
Reviewed-by: Petr Vorel <pvorel@suse.cz>
Kind regards,
Petr
Patch applied, thanks!
diff --git a/tools/create_dmesg_entries_for_each_test.awk b/tools/create_dmesg_entries_for_each_test.awk index ffd807fb4..b21364ae0 100644 --- a/tools/create_dmesg_entries_for_each_test.awk +++ b/tools/create_dmesg_entries_for_each_test.awk @@ -28,6 +28,8 @@ NF && ! /^#/ { s = s " " $i } sub(/[;]+$/, "", s) + s = s "; EXIT_CODE=$?" s = s "; dmesg > " DMESG_DIR "/" $1 ".dmesg.log" + s = s "; exit $EXIT_CODE" print s }