net/dpaa2: report error on queue deferred start
[dpdk.git] / app / test / test_kvargs.c
index d3db88a..2a2dae4 100644 (file)
@@ -217,6 +217,7 @@ static int test_invalid_kvargs(void)
                "foo=1,=2",        /* no key */
                "foo=[1,2",        /* no closing bracket in value */
                ",=",              /* also test with a smiley */
+               "foo=[",           /* no value in list and no closing bracket */
                NULL };
        const char **args;
        const char *valid_keys_list[] = { "foo", "check", NULL };
@@ -230,8 +231,8 @@ static int test_invalid_kvargs(void)
                        rte_kvargs_free(kvlist);
                        goto fail;
                }
-               return 0;
        }
+       return 0;
 
  fail:
        printf("while processing <%s>", *args);