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

https://github.com/ziglang/zig/issues/20747
This commit is contained in:
Alex Rønne Petersen
2024-08-20 19:42:07 +02:00
committed by Andrew Kelley
parent cad69e2c29
commit ab69482a5d

View File

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