From 87994330f1ddb703a6b5b238f11959d924a80152 Mon Sep 17 00:00:00 2001 From: mboelen Date: Fri, 28 Nov 2014 23:50:07 +0100 Subject: [PATCH] Added test for systemd journal daemon [LOGG-2136] --- include/tests_logging | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/include/tests_logging b/include/tests_logging index e227440a..93541c2c 100644 --- a/include/tests_logging +++ b/include/tests_logging @@ -28,7 +28,6 @@ SYSLOG_DAEMON_PRESENT=0 SYSLOG_DAEMON_RUNNING=0 SYSLOG_NG_RUNNING=0 - #YYY (extend support for systemd journal) SYSTEMD_JOURNAL_RUNNING=0 # ################################################################################# @@ -96,6 +95,22 @@ fi # ################################################################################# +# + # Test : LOGG-2136 + # Description : Check for a running systemd-journal daemon + Register --test-no LOGG-2136 --weight L --network NO --description "Check for running systemd journal daemon" + if [ ${SKIPTEST} -eq 0 ]; then + logtext "Test: Searching for systemd journal daemon in process list" + IsRunning systemd-journal + if [ ${RUNNING} -eq 1 ]; then + Display --indent 4 --text "- Checking systemd journal status" --result FOUND --color GREEN + SYSTEMD_JOURNAL_RUNNING=1 + else + Display --indent 4 --text "- Checking systemd journal status" --result "NOT FOUND" --color WHITE + fi + fi +# +################################################################################# # # Test : LOGG-2210 # Description : Check for a running metalog daemon