selftests/exec: Fix grammar in an error message.

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

Signed-off-by: Chang Yu <marcus.yu.56@gmail.com>
Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>
This commit is contained in:
Chang Yu 2024-07-23 21:21:28 -07:00 committed by Shuah Khan
parent 45eb1bf4d7
commit 37ee7d1995

View file

@ -117,7 +117,7 @@ static int check_execveat_invoked_rc(int fd, const char *path, int flags,
} }
if ((WEXITSTATUS(status) != expected_rc) && if ((WEXITSTATUS(status) != expected_rc) &&
(WEXITSTATUS(status) != expected_rc2)) { (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, child, WEXITSTATUS(status), expected_rc,
expected_rc2); expected_rc2);
ksft_test_result_fail("%s\n", test_name); ksft_test_result_fail("%s\n", test_name);