Blame tests/p_audit/3_auditd_logging.sh

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