Spdk/test/common
Michal Berger a11aab73e8 test/common: Check if igb_uio is loaded before removing it
igb_uio doesn't necessarily have to be loaded into the kernel as SDPK
still may be built with support for it but only particular set of
tests is actually using it. If such a condition is met then rmmod will
fail the entire test run since it always exits with != 0 if given
module is not found.

Avoid this by checking first if igb_uio is actually in use.

Change-Id: Ib97488797c657f810b588a0b427e578807ebe6c6
Signed-off-by: Michal Berger <michalx.berger@intel.com>
Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/625
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Reviewed-by: Jim Harris <james.r.harris@intel.com>
Reviewed-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com>
Reviewed-by: Ben Walker <benjamin.walker@intel.com>
Community-CI: SPDK CI Jenkins <sys_sgci@intel.com>
2020-02-10 10:23:39 +00:00
..
config doc: Fix Markdown MD032 linter warnings 2020-02-06 09:46:06 +00:00
lib sock/posix: Add flush 2020-01-22 13:53:09 +00:00
autotest_common.sh test/common: Check if igb_uio is loaded before removing it 2020-02-10 10:23:39 +00:00
skipped_build_files.txt autobuild: Confirm we are building all files w/ scanbuild 2020-01-22 13:50:17 +00:00
skipped_tests.txt test/bdev: remove the gpt conf file / parameterize tests 2020-01-22 13:50:17 +00:00