]> Git Repo - linux.git/commitdiff
selftests/livepatch: add test delimiter to dmesg
authorJoe Lawrence <[email protected]>
Thu, 18 Jun 2020 18:10:40 +0000 (14:10 -0400)
committerPetr Mladek <[email protected]>
Fri, 19 Jun 2020 08:47:18 +0000 (10:47 +0200)
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]
tools/testing/selftests/livepatch/functions.sh

index 5e5a79179fc1d7c56a06e3c89cff1547adc0b9a6..36648ca367c23841d84acce8146f4f33903ccad6 100644 (file)
@@ -264,6 +264,7 @@ function start_test {
 
        save_dmesg
        echo -n "TEST: $test ... "
+       log "===== TEST: $test ====="
 }
 
 # check_result() - verify dmesg output
This page took 0.063756 seconds and 4 git commands to generate.