From 650b5f09d716e29edb3cd60fb30e1f236d64c3fa Mon Sep 17 00:00:00 2001 From: Fabian Arrotin Date: May 20 2014 12:14:49 +0000 Subject: Skipped test for webalizer (not available for el7) --- diff --git a/tests/p_webalizer/0-install_webalizer.sh b/tests/p_webalizer/0-install_webalizer.sh index a29c8b4..94e360a 100755 --- a/tests/p_webalizer/0-install_webalizer.sh +++ b/tests/p_webalizer/0-install_webalizer.sh @@ -3,6 +3,12 @@ t_Log "Running $0 - attempting to install webalizer" +if [ "$centos_ver" = "7" ] ; then + t_Log "No webalizer package for CentOS $centos_ver -> SKIP" + t_CheckExitStatus 0 + exit 0 +fi + t_InstallPackage webalizer t_InstallPackage httpd t_ServiceControl httpd stop diff --git a/tests/p_webalizer/webalizer_test.sh b/tests/p_webalizer/webalizer_test.sh index c90201d..041d835 100755 --- a/tests/p_webalizer/webalizer_test.sh +++ b/tests/p_webalizer/webalizer_test.sh @@ -3,6 +3,12 @@ t_Log "Running $0 - Webalizer test." +if [ "$centos_ver" = "7" ] ; then + t_Log "No webalizer package for CentOS $centos_ver -> SKIP" + t_CheckExitStatus 0 + exit 0 +fi + # Run some requests for i in `seq 10` do