Blame tests/p_audit/1_auditd_running.sh

Athmane Madjoudj 39a2ca
#!/bin/sh
Athmane Madjoudj 39a2ca
# Author: Athmane Madjoudj <athmanem@gmail.com>
Athmane Madjoudj 39a2ca
Athmane Madjoudj 39a2ca
t_Log "Running $0 -  check if auditd is running."
Athmane Madjoudj 39a2ca
Karanbir Singh 23b6ba
if [ $SKIP_QA_HARNESS -eq 1 ]; then
Athmane Madjoudj 9d2331
    echo "Skipping this test ..."
Athmane Madjoudj 9d2331
else
Athmane Madjoudj 9d2331
    service auditd status > /dev/null 2>&1
Athmane Madjoudj 9d2331
    t_CheckExitStatus $?
Athmane Madjoudj 9d2331
fi