patch 'test/cfgfile: fix typo in error messages' has been queued to stable release 22.11.5

luca.boccassi at gmail.com luca.boccassi at gmail.com
Mon Mar 25 13:08:23 CET 2024


Hi,

FYI, your patch has been queued to stable release 22.11.5

Note it hasn't been pushed to http://dpdk.org/browse/dpdk-stable yet.
It will be pushed if I get no objections before 03/27/24. 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/bluca/dpdk-stable

This queued commit can be viewed at:
https://github.com/bluca/dpdk-stable/commit/8a9e1d1f86ea2996b742e70e742ec204945b27a9

Thanks.

Luca Boccassi

---
>From 8a9e1d1f86ea2996b742e70e742ec204945b27a9 Mon Sep 17 00:00:00 2001
From: Holly Nichols <hollynichols04 at gmail.com>
Date: Thu, 21 Mar 2024 19:05:29 -0400
Subject: [PATCH] test/cfgfile: fix typo in error messages

[ upstream commit fbca1ad85f7725b876d032cb732b3332d247e1f4 ]

Caught by codespell.

Fixes: c54e7234bc9e ("test/cfgfile: add basic unit tests")

Signed-off-by: Holly Nichols <hollynichols04 at gmail.com>
Signed-off-by: Vinh Tran <vinh.t.tran10 at gmail.com>
Signed-off-by: Thomas Monjalon <thomas at monjalon.net>
---
 .mailmap                | 2 ++
 app/test/test_cfgfile.c | 8 ++++----
 2 files changed, 6 insertions(+), 4 deletions(-)

diff --git a/.mailmap b/.mailmap
index a6992311ba..918e959344 100644
--- a/.mailmap
+++ b/.mailmap
@@ -506,6 +506,7 @@ Hideyuki Yamashita <yamashita.hideyuki at po.ntt-tx.co.jp>
 Hiroki Shirokura <slank.dev at gmail.com>
 Hiroshi Shimamoto <h-shimamoto at ct.jp.nec.com>
 Hiroyuki Mikita <h.mikita89 at gmail.com>
+Holly Nichols <hollynichols04 at gmail.com>
 Hongbo Zheng <zhenghongbo3 at huawei.com>
 Hongjun Ni <hongjun.ni at intel.com>
 Hongzhi Guo <guohongzhi1 at huawei.com>
@@ -1438,6 +1439,7 @@ Vincent Guo <guopengfei160 at 163.com>
 Vincent Jardin <vincent.jardin at 6wind.com>
 Vincent Li <vincent.mc.li at gmail.com>
 Vincent S. Cojot <vcojot at redhat.com>
+Vinh Tran <vinh.t.tran10 at gmail.com>
 Vipin Varghese <vipin.varghese at amd.com> <vipin.varghese at intel.com>
 Vipul Ashri <vipul.ashri at oracle.com>
 Visa Hankala <visa at hankala.org>
diff --git a/app/test/test_cfgfile.c b/app/test/test_cfgfile.c
index 2f596affee..a5e3d8699c 100644
--- a/app/test/test_cfgfile.c
+++ b/app/test/test_cfgfile.c
@@ -168,7 +168,7 @@ test_cfgfile_invalid_section_header(void)
 	struct rte_cfgfile *cfgfile;
 
 	cfgfile = rte_cfgfile_load(CFG_FILES_ETC "/invalid_section.ini", 0);
-	TEST_ASSERT_NULL(cfgfile, "Expected failured did not occur");
+	TEST_ASSERT_NULL(cfgfile, "Expected failure did not occur");
 
 	return 0;
 }
@@ -185,7 +185,7 @@ test_cfgfile_invalid_comment(void)
 
 	cfgfile = rte_cfgfile_load_with_params(CFG_FILES_ETC "/sample2.ini", 0,
 					       &params);
-	TEST_ASSERT_NULL(cfgfile, "Expected failured did not occur");
+	TEST_ASSERT_NULL(cfgfile, "Expected failure did not occur");
 
 	return 0;
 }
@@ -196,7 +196,7 @@ test_cfgfile_invalid_key_value_pair(void)
 	struct rte_cfgfile *cfgfile;
 
 	cfgfile = rte_cfgfile_load(CFG_FILES_ETC "/empty_key_value.ini", 0);
-	TEST_ASSERT_NULL(cfgfile, "Expected failured did not occur");
+	TEST_ASSERT_NULL(cfgfile, "Expected failure did not occur");
 
 	return 0;
 }
@@ -236,7 +236,7 @@ test_cfgfile_missing_section(void)
 	struct rte_cfgfile *cfgfile;
 
 	cfgfile = rte_cfgfile_load(CFG_FILES_ETC "/missing_section.ini", 0);
-	TEST_ASSERT_NULL(cfgfile, "Expected failured did not occur");
+	TEST_ASSERT_NULL(cfgfile, "Expected failure did not occur");
 
 	return 0;
 }
-- 
2.39.2

---
  Diff of the applied patch vs upstream commit (please double-check if non-empty:
---
--- -	2024-03-25 11:28:37.803738780 +0000
+++ 0008-test-cfgfile-fix-typo-in-error-messages.patch	2024-03-25 11:28:37.212389359 +0000
@@ -1 +1 @@
-From fbca1ad85f7725b876d032cb732b3332d247e1f4 Mon Sep 17 00:00:00 2001
+From 8a9e1d1f86ea2996b742e70e742ec204945b27a9 Mon Sep 17 00:00:00 2001
@@ -5,0 +6,2 @@
+[ upstream commit fbca1ad85f7725b876d032cb732b3332d247e1f4 ]
+
@@ -9 +10,0 @@
-Cc: stable at dpdk.org
@@ -20 +21 @@
-index 6bb0855236..f3a25a7402 100644
+index a6992311ba..918e959344 100644
@@ -23 +24 @@
-@@ -528,6 +528,7 @@ Hiral Shah <hshah at marvell.com>
+@@ -506,6 +506,7 @@ Hideyuki Yamashita <yamashita.hideyuki at po.ntt-tx.co.jp>
@@ -31 +32 @@
-@@ -1513,6 +1514,7 @@ Vincent Guo <guopengfei160 at 163.com>
+@@ -1438,6 +1439,7 @@ Vincent Guo <guopengfei160 at 163.com>


More information about the stable mailing list