linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] selftests/exec: Fix grammar in an error message.
@ 2024-07-24  4:21 Chang Yu
  2024-07-31 17:44 ` Shuah Khan
  0 siblings, 1 reply; 2+ messages in thread
From: Chang Yu @ 2024-07-24  4:21 UTC (permalink / raw)
  To: ebiederm
  Cc: kees, shuah, linux-mm, linux-kselftest, linux-kernel,
	marcus.yu.56, chang.yu.56, skhan

Replace "not ... nor" in the error message with "neither ... nor".

Signed-off-by: Chang Yu <marcus.yu.56@gmail.com>
---
 tools/testing/selftests/exec/execveat.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tools/testing/selftests/exec/execveat.c b/tools/testing/selftests/exec/execveat.c
index 6418ded40bdd..071e03532cba 100644
--- a/tools/testing/selftests/exec/execveat.c
+++ b/tools/testing/selftests/exec/execveat.c
@@ -117,7 +117,7 @@ static int check_execveat_invoked_rc(int fd, const char *path, int flags,
 	}
 	if ((WEXITSTATUS(status) != expected_rc) &&
 	    (WEXITSTATUS(status) != expected_rc2)) {
-		ksft_print_msg("child %d exited with %d not %d nor %d\n",
+		ksft_print_msg("child %d exited with %d neither %d nor %d\n",
 			       child, WEXITSTATUS(status), expected_rc,
 			       expected_rc2);
 		ksft_test_result_fail("%s\n", test_name);
-- 
2.45.2



^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH] selftests/exec: Fix grammar in an error message.
  2024-07-24  4:21 [PATCH] selftests/exec: Fix grammar in an error message Chang Yu
@ 2024-07-31 17:44 ` Shuah Khan
  0 siblings, 0 replies; 2+ messages in thread
From: Shuah Khan @ 2024-07-31 17:44 UTC (permalink / raw)
  To: Chang Yu, ebiederm
  Cc: kees, shuah, linux-mm, linux-kselftest, linux-kernel,
	chang.yu.56, Shuah Khan

On 7/23/24 22:21, Chang Yu wrote:
> Replace "not ... nor" in the error message with "neither ... nor".
> 
> Signed-off-by: Chang Yu <marcus.yu.56@gmail.com>
> ---
>   tools/testing/selftests/exec/execveat.c | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/tools/testing/selftests/exec/execveat.c b/tools/testing/selftests/exec/execveat.c
> index 6418ded40bdd..071e03532cba 100644
> --- a/tools/testing/selftests/exec/execveat.c
> +++ b/tools/testing/selftests/exec/execveat.c
> @@ -117,7 +117,7 @@ static int check_execveat_invoked_rc(int fd, const char *path, int flags,
>   	}
>   	if ((WEXITSTATUS(status) != expected_rc) &&
>   	    (WEXITSTATUS(status) != expected_rc2)) {
> -		ksft_print_msg("child %d exited with %d not %d nor %d\n",
> +		ksft_print_msg("child %d exited with %d neither %d nor %d\n",
>   			       child, WEXITSTATUS(status), expected_rc,
>   			       expected_rc2);
>   		ksft_test_result_fail("%s\n", test_name);


Applied to linux-kselftest next for Linux 6.12-rc1

thanks,
-- Shuah


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2024-07-31 17:44 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-07-24  4:21 [PATCH] selftests/exec: Fix grammar in an error message Chang Yu
2024-07-31 17:44 ` Shuah Khan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox