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

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

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

Visibility: public

Requested revision: eee395287f701b32e222c396ba4ae2615b23c4bb

Requested commit: eee395287f701b32e222c396ba4ae2615b23c4bb

Commit: eee395287f701b32e222c396ba4ae2615b23c4bb

Tree: 313b0910d6564474635f80b3f7eed970b35eeb28

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

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

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