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/1_auditd_running.sh

12 lines
290 B

#!/bin/bash
# Author: Athmane Madjoudj <athmanem@gmail.com>
t_Log "Running $0 - check if auditd is running."
if [ "$SKIP_QA_HARNESS" -eq 1 ] | [ "$CONTAINERTEST" -eq 1 ] ; then
echo "Skipping this test ..."
else
service auditd status > /dev/null 2>&1
t_CheckExitStatus $?
fi