diff options
author | robot-contrib <robot-contrib@yandex-team.com> | 2024-11-09 19:14:48 +0300 |
---|---|---|
committer | robot-contrib <robot-contrib@yandex-team.com> | 2024-11-09 19:25:43 +0300 |
commit | 9ade466e8683a2e3b45dacf45f74fcf4a3c40cee (patch) | |
tree | 5386d43454d677cb1239ed7a889dfcf101e99136 /contrib/libs/liburing/test/iopoll.c | |
parent | 1f59ab019232ff97a73c7c13736b254925fa8b0b (diff) | |
download | ydb-9ade466e8683a2e3b45dacf45f74fcf4a3c40cee.tar.gz |
Update contrib/libs/liburing to 2.8
commit_hash:761e2e80642a3d32073f0261b3f5b1992e54a74f
Diffstat (limited to 'contrib/libs/liburing/test/iopoll.c')
-rw-r--r-- | contrib/libs/liburing/test/iopoll.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/contrib/libs/liburing/test/iopoll.c b/contrib/libs/liburing/test/iopoll.c index b77b82d945..6de0e9b78b 100644 --- a/contrib/libs/liburing/test/iopoll.c +++ b/contrib/libs/liburing/test/iopoll.c @@ -88,7 +88,7 @@ static int __test_io(const char *file, struct io_uring *ring, int write, int sqt } fd = open(file, open_flags); if (fd < 0) { - if (errno == EINVAL) + if (errno == EINVAL || errno == EPERM || errno == EACCES) return 0; perror("file open"); goto err; @@ -231,7 +231,7 @@ static int test_io_uring_cqe_peek(const char *file) fd = open(file, O_RDONLY | O_DIRECT); if (fd < 0) { - if (errno == EINVAL) { + if (errno == EINVAL || errno == EPERM || errno == EACCES) { io_uring_queue_exit(&ring); return T_EXIT_SKIP; } @@ -303,7 +303,7 @@ static int test_io_uring_submit_enters(const char *file) open_flags = O_WRONLY | O_DIRECT; fd = open(file, open_flags); if (fd < 0) { - if (errno == EINVAL) + if (errno == EINVAL || errno == EPERM || errno == EACCES) return T_EXIT_SKIP; perror("file open"); goto err; |