authorgravatar for alex@alexrp.comAlex Rønne Petersen <alex@alexrp.com> 2024-08-20 19:42:07+02:00
committergravatar for andrew@ziglang.orgAndrew Kelley <andrew@ziglang.org> 2024-08-23 22:43:03-07:00
logab69482a5ddd7750039a5ba9531a04ac0051aa18
tree31f5eb0d23987e17db130cdce2c9122d4a464ff0
parentcad69e2c2976891753d96d863ebf65e7c95c0a04

std.fs: Disable `file operations on directories` test on WASI.

https://github.com/ziglang/zig/issues/20747

1 files changed, 1 insertions(+), 0 deletions(-)

lib/std/fs/test.zig+1
...@@ -745,6 +745,7 @@ test "directory operations on files" {...@@ -745,6 +745,7 @@ test "directory operations on files" {
745test "file operations on directories" {745test "file operations on directories" {
746 // TODO: fix this test on FreeBSD. https://github.com/ziglang/zig/issues/1759746 // TODO: fix this test on FreeBSD. https://github.com/ziglang/zig/issues/1759
747 if (native_os == .freebsd) return error.SkipZigTest;747 if (native_os == .freebsd) return error.SkipZigTest;
748 if (native_os == .wasi and builtin.link_libc) return error.SkipZigTest; // https://github.com/ziglang/zig/issues/20747
748749
749 try testWithAllSupportedPathTypes(struct {750 try testWithAllSupportedPathTypes(struct {
750 fn impl(ctx: *TestContext) !void {751 fn impl(ctx: *TestContext) !void {