From 57d60bd2a63fd18298196b9a2a51711699bf0387 Mon Sep 17 00:00:00 2001 From: Johnny Hughes Date: Oct 20 2015 13:43:35 +0000 Subject: modify the ixgbe test to look specifically for the extra kmod version and not the version included in the kernel --- diff --git a/tests/p_ixgbe/01_kmod-ixgbe.sh b/tests/p_ixgbe/01_kmod-ixgbe.sh index 415239b..2eddd77 100755 --- a/tests/p_ixgbe/01_kmod-ixgbe.sh +++ b/tests/p_ixgbe/01_kmod-ixgbe.sh @@ -4,8 +4,7 @@ t_Log "Running $0 - Verifying that kmod-ixbe installs and loads" if [ "$centos_ver" = "7" ] ; then t_InstallPackage kmod-ixgbe - modprobe ixgbe - lsmod | grep -q 'ixgbe' + modnfo ixgbe | grep -q 'filename' | grep -q 'extra' | grep -q 'ixgbe.ko' t_CheckExitStatus $? else t_log "previous versions than CentOS 7 aren't using kmod-ixgbe ... skipping"