diff options
author | thegeorg <thegeorg@yandex-team.com> | 2023-07-26 17:26:21 +0300 |
---|---|---|
committer | thegeorg <thegeorg@yandex-team.com> | 2023-07-26 17:26:21 +0300 |
commit | 3785d5f97965bccf048718d8717904cf50f9f8f9 (patch) | |
tree | b7ce8ae67d7eb7fcf7767c54379f0564c281147f /contrib/libs/liburing/test/skip-cqe.c | |
parent | 1f6b57071583f89299bb5abd3863d594f23c5be5 (diff) | |
download | ydb-3785d5f97965bccf048718d8717904cf50f9f8f9.tar.gz |
Update contrib/libs/liburing to 2.4
Diffstat (limited to 'contrib/libs/liburing/test/skip-cqe.c')
-rw-r--r-- | contrib/libs/liburing/test/skip-cqe.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/contrib/libs/liburing/test/skip-cqe.c b/contrib/libs/liburing/test/skip-cqe.c index c73e2b8dea..87010a4ca0 100644 --- a/contrib/libs/liburing/test/skip-cqe.c +++ b/contrib/libs/liburing/test/skip-cqe.c @@ -9,6 +9,7 @@ #include <assert.h> #include "liburing.h" +#include "helpers.h" #define LINK_SIZE 6 #define TIMEOUT_USER_DATA (-1) @@ -324,10 +325,8 @@ int main(int argc, char *argv[]) return 1; } - if (!(ring.features & IORING_FEAT_CQE_SKIP)) { - printf("IOSQE_CQE_SKIP_SUCCESS is not supported, skip\n"); - return 0; - } + if (!(ring.features & IORING_FEAT_CQE_SKIP)) + return T_EXIT_SKIP; for (i = 0; i < 4; i++) { bool skip_last = i & 1; |