From c30881fd959885195c7062cab29ea825ea386d22 Mon Sep 17 00:00:00 2001 From: Marian Csontos Date: Thu, 9 Jun 2022 12:11:35 +0200 Subject: [PATCH] test: Print running test to console and syslog --- test/lib/inittest.sh | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/test/lib/inittest.sh b/test/lib/inittest.sh index 9f2713062..9dcfce418 100644 --- a/test/lib/inittest.sh +++ b/test/lib/inittest.sh @@ -188,6 +188,12 @@ if test -n "$LVM_TEST_LVMLOCKD_TEST" ; then aux prepare_lvmlockd fi -echo "<======== Processing test: \"$TESTNAME\" ========>" +( + MSG="<======== Processing test: \"$TESTNAME\" ========>" + echo "$MSG" + echo "$MSG" > /dev/console 2>/dev/null + logger -p user.notice "$MSG" 2>/dev/null + true +) set -vx