Blame tests/p_chkconfig/chkconfig_list_services.sh

Athmane Madjoudj 1ce520
#!/bin/bash
Athmane Madjoudj 1ce520
# Author: Athmane Madjoudj <athmanem@gmail.com>
Athmane Madjoudj 1ce520
Athmane Madjoudj 1ce520
t_Log "Running $0 - check if chkconfig can list a service status"
Athmane Madjoudj 1ce520
Athmane Madjoudj 1ce520
# auditd is used as example because it's standard with minimal install
Athmane Madjoudj 1ce520
chkconfig --list auditd | grep -q '3:on'
Athmane Madjoudj 1ce520
Athmane Madjoudj 1ce520
t_CheckExitStatus $?
Athmane Madjoudj 1ce520