Skip to content

Commit

Permalink
test/wq-aff: ensure T_EXIT_SKIP is propagated correctly
Browse files Browse the repository at this point in the history
Signed-off-by: Jens Axboe <[email protected]>
  • Loading branch information
axboe committed Oct 2, 2023
1 parent f0e60d0 commit fc8f7e4
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion test/wq-aff.c
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,9 @@ int main(int argc, char *argv[])
return T_EXIT_SKIP;

ret = test(1);
if (ret) {
if (ret == T_EXIT_SKIP) {
return T_EXIT_SKIP;
} else if (ret != T_EXIT_PASS) {
fprintf(stderr, "test sqpoll failed\n");
return T_EXIT_FAIL;
}
Expand Down

0 comments on commit fc8f7e4

Please sign in to comment.