From 3a4e81f468c76f597cfd70eb5aa24271798e781b Mon Sep 17 00:00:00 2001 From: Johnny Hughes Date: Nov 04 2015 14:36:36 +0000 Subject: fix ixgbe test for newer kernel --- diff --git a/tests/p_ixgbe/01_kmod-ixgbe.sh b/tests/p_ixgbe/01_kmod-ixgbe.sh index d741e1b..d9e7561 100755 --- a/tests/p_ixgbe/01_kmod-ixgbe.sh +++ b/tests/p_ixgbe/01_kmod-ixgbe.sh @@ -4,7 +4,7 @@ t_Log "Running $0 - Verifying that kmod-ixbe installs and loads" if [ "$centos_ver" = "7" ] ; then t_InstallPackage kmod-ixgbe - modinfo ixgbe | grep 'filename' | grep 'extra' | grep -q 'ixgbe.ko' + modinfo ixgbe | grep 'filename' | egrep 'extra|weak' | grep -q 'ixgbe.ko' t_CheckExitStatus $? else t_log "previous versions than CentOS 7 aren't using kmod-ixgbe ... skipping"