bstinson / centos / t_functional

Forked from centos/t_functional 4 years ago
Clone
Blob Blame History Raw
#!/bin/bash

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'
  t_CheckExitStatus $?
else
  t_log "previous versions than CentOS 7 aren't using kmod-ixgbe ... skipping"
  exit 0
fi