Blame tests/p_chkconfig/chkconfig_list_services.sh

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