Blame tests/p_logwatch/logwatch_test.sh

Athmane Madjoudj 8846d4
#!/bin/sh
Athmane Madjoudj 8846d4
# Author: Athmane Madjoudj <athmanem@gmail.com>
Athmane Madjoudj 8846d4
Athmane Madjoudj 8846d4
t_Log "Running $0 - logwatch test."
Athmane Madjoudj 8846d4
399110
if [ "$centos_ver" = "7" ] ; then
399110
 lw_options="--range Today"
399110
else
399110
 lw_options="--range Today --print"
399110
fi
399110
399110
logwatch ${lw_options}| grep -q 'Logwatch End'
Athmane Madjoudj 8846d4
Athmane Madjoudj 8846d4
t_CheckExitStatus $?