Blame tests/p_audit/1_auditd_running.sh

40b4c8
#!/bin/bash
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
40b4c8
if [ "$SKIP_QA_HARNESS" -eq 1 ] | [ "$CONTAINERTEST" -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