You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
QA/tests/p_audit/3_auditd_logging.sh

12 lines
274 B

#!/bin/sh
# Author: Athmane Madjoudj <athmanem@gmail.com>
if [ $SKIP_QA_HARNESS -eq 1 -o $CONTAINERTEST -eq 1 ]; then
echo "Skipping this test ..."
else
t_Log "Running $0 - check if audit log is not empty."
[[ -s /var/log/audit/audit.log ]]
t_CheckExitStatus $?
fi