bstinson / centos / t_functional

Forked from centos/t_functional 3 years ago
Clone

Blame tests/p_ixgbe/01_kmod-ixgbe.sh

be2573
#!/bin/bash
be2573
be2573
t_Log "Running $0 -  Verifying that kmod-ixbe installs and loads"
be2573
be2573
if [ "$centos_ver" = "7" ] ; then
be2573
  t_InstallPackage kmod-ixgbe
3a4e81
  modinfo ixgbe | grep 'filename' | egrep 'extra|weak' | grep -q 'ixgbe.ko'
be2573
  t_CheckExitStatus $?
be2573
else
0fbdd9
  t_log "previous versions than CentOS 7 aren't using kmod-ixgbe ... skipping"
be2573
  exit 0
be2573
fi
be2573