git.droids-corp.org
/
dpdk.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
75ee240
)
test/kni: fix module miss fallback
author
Pallantla Poornima
<pallantlax.poornima@intel.com>
Tue, 13 Nov 2018 14:00:15 +0000
(14:00 +0000)
committer
Thomas Monjalon
<thomas@monjalon.net>
Wed, 14 Nov 2018 03:54:25 +0000
(
04:54
+0100)
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
patch
|
blob
|
history
diff --git
a/test/test/test_kni.c
b/test/test/test_kni.c
index
f3c19b5
..
c92c090
100644
(file)
--- a/
test/test/test_kni.c
+++ b/
test/test/test_kni.c
@@
-549,7
+549,7
@@
test_kni(void)
if (!dir) {
if (errno == ENOENT) {
printf("Cannot run UT due to missing rte_kni module\n");
- return
-1
;
+ return
TEST_SKIPPED
;
}
printf("opendir: %s", strerror(errno));
return -1;