diff options
| author | thegeorg <[email protected]> | 2023-07-26 17:26:21 +0300 |
|---|---|---|
| committer | thegeorg <[email protected]> | 2023-07-26 17:26:21 +0300 |
| commit | 3785d5f97965bccf048718d8717904cf50f9f8f9 (patch) | |
| tree | b7ce8ae67d7eb7fcf7767c54379f0564c281147f /contrib/libs/liburing/test/eeed8b54e0df.c | |
| parent | 1f6b57071583f89299bb5abd3863d594f23c5be5 (diff) | |
Update contrib/libs/liburing to 2.4
Diffstat (limited to 'contrib/libs/liburing/test/eeed8b54e0df.c')
| -rw-r--r-- | contrib/libs/liburing/test/eeed8b54e0df.c | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/contrib/libs/liburing/test/eeed8b54e0df.c b/contrib/libs/liburing/test/eeed8b54e0df.c index c4118a2d51d..6b73a35db69 100644 --- a/contrib/libs/liburing/test/eeed8b54e0df.c +++ b/contrib/libs/liburing/test/eeed8b54e0df.c @@ -103,13 +103,18 @@ int main(int argc, char *argv[]) goto err; } + ret = T_EXIT_PASS; if (cqe->res != -EAGAIN && cqe->res != 4096) { - printf("cqe error: %d\n", cqe->res); - goto err; + if (cqe->res == -EOPNOTSUPP) { + ret = T_EXIT_SKIP; + } else { + printf("cqe error: %d\n", cqe->res); + goto err; + } } close(fd); - return T_EXIT_PASS; + return ret; err: close(fd); return T_EXIT_FAIL; |
