From 9d8ac2c7d73012f1c2612b5e3990518c75f0c31c Mon Sep 17 00:00:00 2001 From: Auke Kok Date: Wed, 28 Aug 2024 14:36:55 -0700 Subject: [PATCH] Write to kmsg which test we're executing. This is done by xfstests and it's so much easier to follow what is going on from logs or e.g. serial console that I thought I should do this for scoutfs tests as well. It makes it so much easier to discern which test may have been cause for issues when running a bunch of tests and you're looking back at logs later. Signed-off-by: Auke Kok --- tests/run-tests.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tests/run-tests.sh b/tests/run-tests.sh index d2aa3246..fe28a8a6 100755 --- a/tests/run-tests.sh +++ b/tests/run-tests.sh @@ -557,6 +557,9 @@ for t in $tests; do printf " %-30s $stats" "$test_name" + # mark in dmesg as to what test we are running + echo "run scoutfs test $test_name" > /dev/kmsg + # record dmesg before dmesg | t_filter_dmesg > "$T_TMPDIR/dmesg.before"