bstinson / centos / t_functional

Forked from centos/t_functional 4 years ago
Clone

Blame tests/p_audit/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
Athmane Madjoudj 9d2331
if [ $SKIP_QA_HARNESS ]; 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