Skip to contentSkip to conversation

selftests: futex; Fix spelling in test messages

PATCH Superseded bhanuseshukumar 2 participants 2 messages Aug 21, 2025 – Aug 26, 2025

Subsystems (2)

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 selftests: futex; Fix spelling in test messages

Correct a few spelling mistakes in selftest output messages to improve readability

---
This fix is part of kselftest pre-requisite task for kernel mentorship fall 2025

 tools/testing/selftests/futex/functional/futex_priv_hash.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
tools/testing/selftests/futex/functional/futex_priv_hash.c +2 -2
index aea001ac4946..a8cec7bd2b5d 100644
@@ -132,7 +132,7 @@ static void usage(char *prog)
 {
 	printf("Usage: %s\n", prog);
 	printf("  -c    Use color\n");
-	printf("  -g    Test global hash instead intead local immutable \n");
+	printf("  -g    Test global hash instead local immutable\n");
 	printf("  -h    Display this help message\n");
 	printf("  -v L  Verbosity level: %d=QUIET %d=CRITICAL %d=INFO\n",
 	       VQUIET, VCRITICAL, VINFO);
@@ -267,7 +267,7 @@ int main(int argc, char *argv[])
 	join_max_threads();
 
 	ret = futex_hash_slots_get();
-	ksft_test_result(ret == 2, "No more auto-resize after manaul setting, got %d\n",
+	ksft_test_result(ret == 2, "No more auto-resize after manual setting, got %d\n",
 			 ret);
 
 	futex_hash_slots_set_must_fail(1 << 29);
Signature · 1 line
2.34.1
#1 lore raw

tools/testing/selftests/futex/functional/futex_priv_hash.c static void usage(char *prog) · line 135

Quoted 2 lines · bhanuseshukumar
tools/testing/selftests/futex/functional/futex_priv_hash.c +1 -1
-	printf("  -g    Test global hash instead intead local immutable \n");
+	printf("  -g    Test global hash instead local immutable\n");

instead of local immutable

tools/testing/selftests/futex/functional/futex_priv_hash.c int main(int argc, char *argv[]) · line 270

Quoted 2 lines
tools/testing/selftests/futex/functional/futex_priv_hash.c +1 -1
-	ksft_test_result(ret == 2, "No more auto-resize after manaul setting, got %d\n",
+	ksft_test_result(ret == 2, "No more auto-resize after manual setting, got %d\n",

This one looks OK.

Thanks.

Signature · 1 line
An old man doll... just what I always wanted! - Clara