Added test for systemd journal daemon [LOGG-2136]

This commit is contained in:
mboelen 2014-11-28 23:50:07 +01:00
parent f826a4f63f
commit 87994330f1
1 changed files with 16 additions and 1 deletions

View File

@ -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