summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorJoe Lawrence <joe.lawrence@redhat.com>2020-06-18 20:10:40 +0200
committerPetr Mladek <pmladek@suse.com>2020-06-19 10:47:18 +0200
commit3fd9bd8b7e41a1908bf8bc0cd06606f2b787cd39 (patch)
tree51a72562b20da5addf95ef5713b3b7d64f5739d0 /tools
parentselftests/livepatch: refine dmesg 'taints' in dmesg comparison (diff)
downloadlinux-3fd9bd8b7e41a1908bf8bc0cd06606f2b787cd39.tar.xz
linux-3fd9bd8b7e41a1908bf8bc0cd06606f2b787cd39.zip
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 <pmladek@suse.com> Signed-off-by: Joe Lawrence <joe.lawrence@redhat.com> Reviewed-by: Kamalesh Babulal <kamalesh@linux.vnet.ibm.com> Reviewed-by: Yannick Cote <ycote@redhat.com> Reviewed-by: Petr Mladek <pmladek@suse.com> Acked-by: Miroslav Benes <mbenes@suse.cz> Signed-off-by: Petr Mladek <pmladek@suse.com> Link: https://lore.kernel.org/r/20200618181040.21132-4-joe.lawrence@redhat.com
Diffstat (limited to 'tools')
-rw-r--r--tools/testing/selftests/livepatch/functions.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/testing/selftests/livepatch/functions.sh b/tools/testing/selftests/livepatch/functions.sh
index 5e5a79179fc1..36648ca367c2 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