From: Joe Lawrence Date: Thu, 18 Jun 2020 18:10:40 +0000 (-0400) Subject: selftests/livepatch: add test delimiter to dmesg X-Git-Tag: v5.9-rc1~126^2~2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=3fd9bd8b7e41a1908bf8bc0cd06606f2b787cd39;p=thirdparty%2Fkernel%2Flinux.git 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 Signed-off-by: Joe Lawrence Reviewed-by: Kamalesh Babulal Reviewed-by: Yannick Cote Reviewed-by: Petr Mladek Acked-by: Miroslav Benes Signed-off-by: Petr Mladek Link: https://lore.kernel.org/r/20200618181040.21132-4-joe.lawrence@redhat.com --- diff --git a/tools/testing/selftests/livepatch/functions.sh b/tools/testing/selftests/livepatch/functions.sh index 5e5a79179fc1d..36648ca367c23 100644 --- a/tools/testing/selftests/livepatch/functions.sh +++ b/tools/testing/selftests/livepatch/functions.sh @@ -264,6 +264,7 @@ function start_test { save_dmesg echo -n "TEST: $test ... " + log "===== TEST: $test =====" } # check_result() - verify dmesg output