test/kni: fix module miss fallback
authorPallantla Poornima <pallantlax.poornima@intel.com>
Tue, 13 Nov 2018 14:00:15 +0000 (14:00 +0000)
committerThomas Monjalon <thomas@monjalon.net>
Wed, 14 Nov 2018 03:54:25 +0000 (04:54 +0100)
commit5835b7d3758b99e84ef362c521f193dd6d3a5c46
tree0e088fa2787f96a587304d8e2d1cf643a269a062
parent75ee240b2aab58a7f6c8ef903d73a10b63348099
test/kni: fix module miss fallback

Kni_autotest should be skipped if rte_kni.ko module is not loaded.
Hence changed return as TEST_SKIPPED.

Fixes: ee1caebc4d ("test/kni: check module dependency")
Cc: stable@dpdk.org
Signed-off-by: Pallantla Poornima <pallantlax.poornima@intel.com>
Acked-by: Reshma Pattan <reshma.pattan@intel.com>
test/test/test_kni.c