Commit 796a344
selftests: kselftest_harness: use exit code to store skip
We always use skip in combination with exit_code being 0
(KSFT_PASS). This are basic KSFT / KTAP semantics.
Store the right KSFT_* code in exit_code directly.
This makes it easier to support tests reporting other
extended KSFT_* codes like XFAIL / XPASS.
Reviewed-by: Kees Cook <keescook@chromium.org>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>1 parent 69fe8ec commit 796a344
1 file changed
Lines changed: 5 additions & 14 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
128 | 128 | | |
129 | 129 | | |
130 | 130 | | |
131 | | - | |
132 | | - | |
| 131 | + | |
133 | 132 | | |
134 | 133 | | |
135 | 134 | | |
| |||
387 | 386 | | |
388 | 387 | | |
389 | 388 | | |
390 | | - | |
| 389 | + | |
391 | 390 | | |
392 | 391 | | |
393 | 392 | | |
| |||
837 | 836 | | |
838 | 837 | | |
839 | 838 | | |
840 | | - | |
841 | 839 | | |
842 | 840 | | |
843 | 841 | | |
| |||
944 | 942 | | |
945 | 943 | | |
946 | 944 | | |
947 | | - | |
948 | | - | |
949 | | - | |
| 945 | + | |
950 | 946 | | |
951 | 947 | | |
952 | 948 | | |
| |||
1118 | 1114 | | |
1119 | 1115 | | |
1120 | 1116 | | |
1121 | | - | |
1122 | 1117 | | |
1123 | 1118 | | |
1124 | 1119 | | |
| |||
1138 | 1133 | | |
1139 | 1134 | | |
1140 | 1135 | | |
1141 | | - | |
1142 | | - | |
1143 | | - | |
1144 | | - | |
1145 | | - | |
| 1136 | + | |
1146 | 1137 | | |
1147 | 1138 | | |
1148 | 1139 | | |
1149 | 1140 | | |
1150 | 1141 | | |
1151 | 1142 | | |
1152 | | - | |
| 1143 | + | |
1153 | 1144 | | |
1154 | 1145 | | |
1155 | 1146 | | |
| |||
0 commit comments