From 48f3e22204333f9dc3ef38816af836cc918807bf Mon Sep 17 00:00:00 2001 From: Christoph Galuschka Date: Nov 07 2014 12:09:26 +0000 Subject: fixed test: C7 uses firewalld --- diff --git a/tests/p_iptables/iptables_kmod_loaded.sh b/tests/p_iptables/iptables_kmod_loaded.sh index bc0f4bd..00a0a6e 100755 --- a/tests/p_iptables/iptables_kmod_loaded.sh +++ b/tests/p_iptables/iptables_kmod_loaded.sh @@ -3,6 +3,12 @@ t_Log "Running $0 - check if iptables kernel modules are loaded" +if [ "$centos_ver" = "7" ];then + t_Log "CentOS $centos_ver uses firewalld and not iptables -> SKIP" + t_CheckExitStatus 0 + exit 0 +fi + lsmod | grep "ip_tables" > /dev/null 2>&1 t_CheckExitStatus $?