# io_uring: fix version check in tests · gitcafe/zig

[View on GitCafe](https://git.cafe/gitcafe/zig/commit/0662f1d52204b9c3bce22b3bd72bf4faf2df3559)

Repository: [gitcafe/zig](https://git.cafe/gitcafe/zig)

Visibility: public

Requested revision: 0662f1d52204b9c3bce22b3bd72bf4faf2df3559

Requested commit: 0662f1d52204b9c3bce22b3bd72bf4faf2df3559

Commit: 0662f1d52204b9c3bce22b3bd72bf4faf2df3559

Tree: a6e603b273c4e705b05b8717f931497cb1cca26a

Author: Vincent Rischmann

Committer: Andrew Kelley

## Message

```
io_uring: fix version check in tests

For renameat, unlinkat, mkdirat, symlinkat and linkat the error code
differs between kernel 5.4 which returns EBADF and kernel 5.10 which returns EINVAL.

Fixes #10466

```

## Parents

- [885d96735de0fb771403c06d258cac316b792de3](https://git.cafe/gitcafe/zig/commit/885d96735de0fb771403c06d258cac316b792de3?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zig/tree/0662f1d52204b9c3bce22b3bd72bf4faf2df3559?format=markdown)
