If tap can not be created, mark test as SKIPPED not FAILED.

Signed-off-by: Stephen Hemminger <[email protected]>
---
 app/test/test_pmd_tap.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app/test/test_pmd_tap.c b/app/test/test_pmd_tap.c
index 482c70b3f6..dabd7d3506 100644
--- a/app/test/test_pmd_tap.c
+++ b/app/test/test_pmd_tap.c
@@ -719,7 +719,7 @@ test_tap_setup(void)
                       rte_strerror(-ret));
                rte_mempool_free(mp);
                mp = NULL;
-               return -1;
+               return TEST_SKIPPED;
        }
 
        /* Create second TAP device */
-- 
2.53.0

Reply via email to