[dpdk-stable] patch 'test/kvargs: fix invalid cases check' has been queued to LTS release 18.11.9

Kevin Traynor ktraynor at redhat.com
Thu May 28 18:22:12 CEST 2020


Hi,

FYI, your patch has been queued to LTS release 18.11.9

Note it hasn't been pushed to http://dpdk.org/browse/dpdk-stable yet.
It will be pushed if I get no objections before 06/03/20. So please
shout if anyone has objections.

Also note that after the patch there's a diff of the upstream commit vs the
patch applied to the branch. This will indicate if there was any rebasing
needed to apply to the stable branch. If there were code changes for rebasing
(ie: not only metadata diffs), please double check that the rebase was
correctly done.

Queued patches are on a temporary branch at:
https://github.com/kevintraynor/dpdk-stable-queue

This queued commit can be viewed at:
https://github.com/kevintraynor/dpdk-stable-queue/commit/aef236bd6c59d4d279711a021a38eaa423c12b95

Thanks.

Kevin.

---
>From aef236bd6c59d4d279711a021a38eaa423c12b95 Mon Sep 17 00:00:00 2001
From: Olivier Matz <olivier.matz at 6wind.com>
Date: Fri, 27 Mar 2020 09:09:54 +0100
Subject: [PATCH] test/kvargs: fix invalid cases check

[ upstream commit 4bf2b36fd14da74f5dd5c111501698a5b7cb0f6d ]

The return was not properly placed, and only the first test case
was validated.

Fixes: e495f5435524 ("kvargs: add test case in app/test")

Signed-off-by: Olivier Matz <olivier.matz at 6wind.com>
Reviewed-by: David Marchand <david.marchand at redhat.com>
---
 test/test/test_kvargs.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/test/test/test_kvargs.c b/test/test/test_kvargs.c
index d3db88a57a..f823b771fb 100644
--- a/test/test/test_kvargs.c
+++ b/test/test/test_kvargs.c
@@ -231,6 +231,6 @@ static int test_invalid_kvargs(void)
 			goto fail;
 		}
-		return 0;
 	}
+	return 0;
 
  fail:
-- 
2.21.3

---
  Diff of the applied patch vs upstream commit (please double-check if non-empty:
---
--- -	2020-05-28 17:13:00.474272327 +0100
+++ 0025-test-kvargs-fix-invalid-cases-check.patch	2020-05-28 17:12:59.085556762 +0100
@@ -1 +1 @@
-From 4bf2b36fd14da74f5dd5c111501698a5b7cb0f6d Mon Sep 17 00:00:00 2001
+From aef236bd6c59d4d279711a021a38eaa423c12b95 Mon Sep 17 00:00:00 2001
@@ -5,0 +6,2 @@
+[ upstream commit 4bf2b36fd14da74f5dd5c111501698a5b7cb0f6d ]
+
@@ -10 +11,0 @@
-Cc: stable at dpdk.org
@@ -15 +16 @@
- app/test/test_kvargs.c | 2 +-
+ test/test/test_kvargs.c | 2 +-
@@ -18 +19 @@
-diff --git a/app/test/test_kvargs.c b/app/test/test_kvargs.c
+diff --git a/test/test/test_kvargs.c b/test/test/test_kvargs.c
@@ -20,2 +21,2 @@
---- a/app/test/test_kvargs.c
-+++ b/app/test/test_kvargs.c
+--- a/test/test/test_kvargs.c
++++ b/test/test/test_kvargs.c



More information about the stable mailing list