Blame tests/p_initscripts/initscripts_service_status.sh

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