From 118ae07af7ad0c257639e97b13bb43b963a1e2a1 Mon Sep 17 00:00:00 2001 From: Fabian Arrotin Date: Jul 29 2019 17:38:04 +0000 Subject: Dumping journalctl for syslog test on c8 Signed-off-by: Fabian Arrotin --- diff --git a/tests/p_syslog/syslog_logging.sh b/tests/p_syslog/syslog_logging.sh index 8229b0f..617ea70 100755 --- a/tests/p_syslog/syslog_logging.sh +++ b/tests/p_syslog/syslog_logging.sh @@ -7,6 +7,11 @@ logger "t_functional_logging_test" sleep 2 +if [ "$centos_ver" -ge 8 ]; then + t_Log "Dumping journalctl to /var/log/maillog" + journalctl >> /var/log/messages +fi + grep "t_functional_logging_test" /var/log/messages > /dev/null 2>&1 t_CheckExitStatus $?