From 90322633761aca303fd1d37baa5f5f5efc83e6cc Mon Sep 17 00:00:00 2001 From: Pablo Greco Date: Jul 24 2019 20:11:03 +0000 Subject: Skip chkconfig test in CentOS8 --- diff --git a/tests/p_chkconfig/chkconfig_list_services.sh b/tests/p_chkconfig/chkconfig_list_services.sh index 7d4716e..f7cdd28 100755 --- a/tests/p_chkconfig/chkconfig_list_services.sh +++ b/tests/p_chkconfig/chkconfig_list_services.sh @@ -4,6 +4,11 @@ t_Log "Running $0 - check if chkconfig can list a service status" +if [ $centos_ver -ge 8 ]; then + echo "CentOS $centos_ver does not use chkconfig, skipping" + exit 0 +fi + # network is used as example because it's standard with minimal install chkconfig --list network | grep -q '3:on'