.. | .. |
---|
71 | 71 | swapcontext(&sc, &uc); |
---|
72 | 72 | ksft_print_msg("%s\n", p->msg); |
---|
73 | 73 | if (!p->flag) { |
---|
74 | | - ksft_exit_skip("[RUN]\tAborting\n"); |
---|
| 74 | + ksft_exit_fail_msg("[RUN]\tAborting\n"); |
---|
75 | 75 | exit(EXIT_FAILURE); |
---|
76 | 76 | } |
---|
77 | 77 | } |
---|
.. | .. |
---|
109 | 109 | int err; |
---|
110 | 110 | |
---|
111 | 111 | ksft_print_header(); |
---|
| 112 | + ksft_set_plan(3); |
---|
112 | 113 | |
---|
113 | 114 | sigemptyset(&act.sa_mask); |
---|
114 | 115 | act.sa_flags = SA_ONSTACK | SA_SIGINFO; |
---|
.. | .. |
---|
143 | 144 | err = sigaltstack(&stk, NULL); |
---|
144 | 145 | if (err) { |
---|
145 | 146 | if (errno == EINVAL) { |
---|
146 | | - ksft_exit_skip( |
---|
| 147 | + ksft_test_result_skip( |
---|
147 | 148 | "[NOTE]\tThe running kernel doesn't support SS_AUTODISARM\n"); |
---|
148 | 149 | /* |
---|
149 | 150 | * If test cases for the !SS_AUTODISARM variant were |
---|