zig

fork of https://codeberg.org/ziglang/zig
Log | Files | Refs | README | LICENSE

commit ed4303fe59a1fd166ce88d1ad3253d4f8f919d0d (tree)
parent e1fc46fb6d24e34c77481845bd1ae3608061fc8c
Author: Stephen Gregoratto <dev@sgregoratto.me>
Date:   Fri, 20 Feb 2026 12:40:43 +1100

IoUring: Handle OPNOTSUPP for symlinkat test

Diffstat:
Mlib/std/os/linux/IoUring/test.zig | 2++
1 file changed, 2 insertions(+), 0 deletions(-)

diff --git a/lib/std/os/linux/IoUring/test.zig b/lib/std/os/linux/IoUring/test.zig @@ -1273,6 +1273,8 @@ test "symlinkat" { .SUCCESS => {}, // This kernel's io_uring does not yet implement symlinkat (kernel version < 5.15) .BADF, .INVAL => return error.SkipZigTest, + // Can occur on certain filesystems (seen on CIFS) + .OPNOTSUPP => return error.SkipZigTest, else => |errno| std.debug.panic("unhandled errno: {}", .{errno}), } try testing.expectEqual(linux.io_uring_cqe{