From a544776260519aaee59434a6935ec255ab132053 Mon Sep 17 00:00:00 2001 From: Pablo Greco Date: Jul 28 2019 19:05:26 +0000 Subject: Webalizer not available in CentOS8, disable test --- diff --git a/tests/p_webalizer/0-install_webalizer.sh b/tests/p_webalizer/0-install_webalizer.sh index 94e360a..49a247a 100755 --- a/tests/p_webalizer/0-install_webalizer.sh +++ b/tests/p_webalizer/0-install_webalizer.sh @@ -3,7 +3,7 @@ t_Log "Running $0 - attempting to install webalizer" -if [ "$centos_ver" = "7" ] ; then +if [ "$centos_ver" -ge 7 ] ; then t_Log "No webalizer package for CentOS $centos_ver -> SKIP" t_CheckExitStatus 0 exit 0 diff --git a/tests/p_webalizer/webalizer_test.sh b/tests/p_webalizer/webalizer_test.sh index 041d835..d914faa 100755 --- a/tests/p_webalizer/webalizer_test.sh +++ b/tests/p_webalizer/webalizer_test.sh @@ -3,7 +3,7 @@ t_Log "Running $0 - Webalizer test." -if [ "$centos_ver" = "7" ] ; then +if [ "$centos_ver" -ge 7 ] ; then t_Log "No webalizer package for CentOS $centos_ver -> SKIP" t_CheckExitStatus 0 exit 0