Thread (5 messages) 5 messages, 2 authors, 2020-06-19
STALE2184d LANDED: 3 (1M)
Revisions (2)
  1. v1 [diff vs current]
  2. v3 current

[PATCH v3 3/3] selftests/livepatch: add test delimiter to dmesg

From: Joe Lawrence <joe.lawrence@redhat.com>
Date: 2020-06-18 18:11:09
Also in: linux-kselftest
Subsystem: kernel selftest framework, live patching, the rest · Maintainers: Shuah Khan, Josh Poimboeuf, Jiri Kosina, Miroslav Benes, Petr Mladek, Linus Torvalds

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>
Acked-by: Miroslav Benes <mbenes@suse.cz>
Reviewed-by: Kamalesh Babulal <redacted>
Revieved-by: Petr Mladek [off-list ref]
Reviewed-by: Yannick Cote <redacted>
---
 tools/testing/selftests/livepatch/functions.sh | 1 +
 1 file changed, 1 insertion(+)
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
-- 
2.21.3
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help