From da1d6ef373ae72896dbbd818679dcefc99b74ff5 Mon Sep 17 00:00:00 2001 From: Fabian Arrotin Date: May 19 2014 14:12:55 +0000 Subject: Fixed the (j)whois test for el7 -> different package name --- diff --git a/tests/p_jwhois/0-install_jwhois.sh b/tests/p_jwhois/0-install_jwhois.sh index c5163b2..f9f9ad1 100755 --- a/tests/p_jwhois/0-install_jwhois.sh +++ b/tests/p_jwhois/0-install_jwhois.sh @@ -2,5 +2,12 @@ # Author: Athmane Madjoudj # nc (netcat) is required for the test -t_InstallPackage jwhois nc + +if [ "$centos_ver" = "7" ] ;then + whois_pkg="whois" +else + whois_pkg="jwhois" +fi + +t_InstallPackage $whois_pkg nc