]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
selftests/exec: Fix grammar in an error message.
authorChang Yu <marcus.yu.56@gmail.com>
Wed, 24 Jul 2024 04:21:28 +0000 (21:21 -0700)
committerShuah Khan <skhan@linuxfoundation.org>
Wed, 31 Jul 2024 17:42:30 +0000 (11:42 -0600)
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>
tools/testing/selftests/exec/execveat.c

index 6418ded40bdddc7efa95c047d848359709f1ee70..071e03532cba1089f45fef153e23f507d0c91a89 100644 (file)
@@ -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);