diff options
author | Marian Csontos <mcsontos@redhat.com> | 2022-06-09 12:11:35 +0200 |
---|---|---|
committer | Marian Csontos <mcsontos@redhat.com> | 2022-06-09 14:37:48 +0200 |
commit | c30881fd959885195c7062cab29ea825ea386d22 (patch) | |
tree | 444460fe6d1db896d2c8585bb9b8a620f6459f4f | |
parent | 64ba9e4eca46ba4c1879413bbd032e1035ff532c (diff) | |
download | lvm2-dev-mcsontos-test-unit.tar.gz |
test: Print running test to console and syslogdev-mcsontos-test-unit
-rw-r--r-- | test/lib/inittest.sh | 8 |
1 files changed, 7 insertions, 1 deletions
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 |