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