commit 36b28050f4e6c00424e835d54d965670b5cfeff0 (tree)
parent c3d474bf6f247469f1277a2b4a5d3810f8222a21
Author: Alex Rønne Petersen <alex@alexrp.com>
Date: Fri, 27 Mar 2026 02:15:10 +0100
std.fs.test: disable AtomicFile test on windows
https://codeberg.org/ziglang/zig/issues/31389
Diffstat:
1 file changed, 2 insertions(+), 0 deletions(-)
diff --git a/lib/std/fs/test.zig b/lib/std/fs/test.zig
@@ -1665,6 +1665,8 @@ fn expectFileContents(io: Io, dir: Dir, file_path: []const u8, data: []const u8)
}
test "AtomicFile" {
+ if (native_os == .windows) return error.SkipZigTest; // https://codeberg.org/ziglang/zig/issues/31389
+
try testWithAllSupportedPathTypes(struct {
fn impl(ctx: *TestContext) !void {
const io = ctx.io;