Skip to content

Commit 3fd9bd8

Browse files
joe-lawrencepmladek
authored andcommitted
selftests/livepatch: add test delimiter to dmesg
Make it bit easier to parse the kernel logs during the selftests by adding a "===== TEST: $test =====" delimiter when each individual test begins. Suggested-by: Petr Mladek <[email protected]> Signed-off-by: Joe Lawrence <[email protected]> Reviewed-by: Kamalesh Babulal <[email protected]> Reviewed-by: Yannick Cote <[email protected]> Reviewed-by: Petr Mladek <[email protected]> Acked-by: Miroslav Benes <[email protected]> Signed-off-by: Petr Mladek <[email protected]> Link: https://lore.kernel.org/r/[email protected]
1 parent c401088 commit 3fd9bd8

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tools/testing/selftests/livepatch/functions.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -264,6 +264,7 @@ function start_test {
264264

265265
save_dmesg
266266
echo -n "TEST: $test ... "
267+
log "===== TEST: $test ====="
267268
}
268269

269270
# check_result() - verify dmesg output

0 commit comments

Comments
 (0)