From fc8f7e424b6188aa5c7bef314d0ae080f050bc7f Mon Sep 17 00:00:00 2001 From: Jens Axboe Date: Mon, 2 Oct 2023 10:48:04 -0600 Subject: [PATCH] test/wq-aff: ensure T_EXIT_SKIP is propagated correctly Signed-off-by: Jens Axboe --- test/wq-aff.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/test/wq-aff.c b/test/wq-aff.c index f779c8b36..7773003d1 100644 --- a/test/wq-aff.c +++ b/test/wq-aff.c @@ -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; }