Spelling: Fixed a spelling mistake.

Message ID 20240321231633.1621-1-hollynichols04@gmail.com (mailing list archive)
State Accepted, archived
Delegated to: Thomas Monjalon
Headers
Series Spelling: Fixed a spelling mistake. |

Checks

Context Check Description
ci/checkpatch success coding style OK
ci/loongarch-compilation success Compilation OK
ci/loongarch-unit-testing success Unit Testing PASS
ci/Intel-compilation success Compilation OK
ci/intel-Testing success Testing PASS
ci/intel-Functional success Functional PASS
ci/github-robot: build success github build: passed
ci/iol-intel-Performance success Performance Testing PASS
ci/iol-mellanox-Performance success Performance Testing PASS
ci/iol-intel-Functional success Functional Testing PASS
ci/iol-compile-amd64-testing success Testing PASS
ci/iol-unit-arm64-testing success Testing PASS
ci/iol-abi-testing success Testing PASS
ci/iol-unit-amd64-testing success Testing PASS
ci/iol-compile-arm64-testing success Testing PASS
ci/iol-sample-apps-testing success Testing PASS
ci/iol-broadcom-Performance success Performance Testing PASS
ci/iol-broadcom-Functional success Functional Testing PASS

Commit Message

hollynichols04@gmail.com March 21, 2024, 11:16 p.m. UTC
  From: Holly Nichols <hollynichols04@gmail.com>

Caught by codespell.

Signed-off-by: Holly Nichols <hollynichols04@gmail.com>
---
 app/test/test_cfgfile.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
  

Comments

Thomas Monjalon March 25, 2024, 2:41 a.m. UTC | #1
22/03/2024 00:16, hollynichols04@gmail.com:
> From: Holly Nichols <hollynichols04@gmail.com>
> 
> Caught by codespell.
> 
> Signed-off-by: Holly Nichols <hollynichols04@gmail.com>
> ---
> -	TEST_ASSERT_NULL(cfgfile, "Expected failured did not occur");
> +	TEST_ASSERT_NULL(cfgfile, "Expected failure did not occur");

There are 3 more occurrences in this file.

I've completed the fix, added root cause
Fixes: c54e7234bc9e ("test/cfgfile: add basic unit tests")
Cc: stable@dpdk.org

and added your name in .mailmap

Merged with the suggestion from Vinh Tran, thanks.
  

Patch

diff --git a/app/test/test_cfgfile.c b/app/test/test_cfgfile.c
index 2f596affee..21bf34a718 100644
--- a/app/test/test_cfgfile.c
+++ b/app/test/test_cfgfile.c
@@ -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;
 }