Now that we no longer need low exit codes to communicate
assertion steps - use normal KSFT exit codes.
Acked-by: Kees Cook <keescook@chromium.org>
Tested-by: Jakub Sitnicki <jakub@cloudflare.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
                fprintf(TH_LOG_STREAM,
                        "# %s: Test terminated by timeout\n", t->name);
        } else if (WIFEXITED(status)) {
-               if (WEXITSTATUS(status) == 255) {
+               if (WEXITSTATUS(status) == KSFT_SKIP) {
                        /* SKIP */
                        t->passed = 1;
                        t->skip = 1;
                } else {
                        switch (WEXITSTATUS(status)) {
                        /* Success */
-                       case 0:
+                       case KSFT_PASS:
                                t->passed = 1;
                                break;
                        /* Failure */
                setpgrp();
                t->fn(t, variant);
                if (t->skip)
-                       _exit(255);
-               /* Pass is exit 0 */
+                       _exit(KSFT_SKIP);
                if (t->passed)
-                       _exit(0);
-               _exit(1);
+                       _exit(KSFT_PASS);
+               _exit(KSFT_FAIL);
        } else {
                __wait_for_test(t);
        }