# Fix test for io_uring link_timeout · gitcafe/zig

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

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

Visibility: public

Requested revision: 0714832c21169493a0a857237fbface612e3d5e0

Requested commit: 0714832c21169493a0a857237fbface612e3d5e0

Commit: 0714832c21169493a0a857237fbface612e3d5e0

Tree: c024a0dc7dfe5d836dcec91976fb895b1a18640e

Author: Hiroaki Nakamura

Committer: Andrew Kelley

## Message

```
Fix test for io_uring link_timeout

The old test "timeout_link_chain1" was ported from liburing test_timeout_link_chain1
https://github.com/axboe/liburing/blob/509873c4454012c5810c728695c21911c82acdc4/test/link-timeout.c#L539-L628
However it turns out that both fails with EBADF (-9) on Linux kernel 5.4.

The this new test skips properly on Linux kernel 5.4
and passes on Linux kernel 5.11.

```

## Parents

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

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