Spelling: Fix Spelling mistake.

Message ID 20240321230529.2677-1-vinh.t.tran10@gmail.com (mailing list archive)
State Superseded, archived
Delegated to: Thomas Monjalon
Headers
Series Spelling: Fix Spelling mistake. |

Checks

Context Check Description
ci/checkpatch warning coding style issues
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-mellanox-Performance success Performance Testing PASS
ci/iol-abi-testing success Testing PASS
ci/iol-intel-Performance success Performance Testing PASS
ci/iol-intel-Functional success Functional Testing PASS
ci/iol-unit-arm64-testing success Testing PASS
ci/iol-compile-amd64-testing success Testing PASS
ci/iol-compile-arm64-testing success Testing PASS
ci/iol-unit-amd64-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

vinh.t.tran10@gmail.com March 21, 2024, 11:05 p.m. UTC
  From: vtran0314 <vinh.t.tran10@gmail.com>

Caught by codespell.

Signed-off-by: Vinh Tran <vinh.t.tran10@gmail.com>
---
 app/test/test_cfgfile.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
  

Comments

Thomas Monjalon March 25, 2024, 2:33 a.m. UTC | #1
22/03/2024 00:05, vinh.t.tran10@gmail.com:
> From: vtran0314 <vinh.t.tran10@gmail.com>
> 
> Caught by codespell.
> 
> Signed-off-by: Vinh Tran <vinh.t.tran10@gmail.com>
[..]
> -	TEST_ASSERT_NULL(cfgfile, "Expected failured did not occur");
> +	TEST_ASSERT_NULL(cfgfile, "Expected failed did not occur");

Correct wording should be "Expected failure".
And 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

Signed-off-by: Vinh Tran <vinh.t.tran10@gmail.com>
Signed-off-by: Thomas Monjalon <thomas@monjalon.net>
  

Patch

diff --git a/app/test/test_cfgfile.c b/app/test/test_cfgfile.c
index 2f596affee..adc6732cd1 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 failed did not occur");
 
 	return 0;
 }