zig

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

commit 68c7261e1daf7787dcbf0cd6f9b01e5678d20a93 (tree)
parent b4d58e93ea4d0bbfe674f80d301279d302fe8fc8
Author: Andrew Kelley <andrew@ziglang.org>
Date:   Thu, 16 Mar 2023 18:25:59 -0700

disable bad std lib tests

see tracking issue #14968

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

diff --git a/lib/std/os/test.zig b/lib/std/os/test.zig @@ -24,6 +24,11 @@ const ArenaAllocator = std.heap.ArenaAllocator; test "chdir smoke test" { if (native_os == .wasi) return error.SkipZigTest; + if (true) { + // https://github.com/ziglang/zig/issues/14968 + return error.SkipZigTest; + } + // Get current working directory path var old_cwd_buf: [fs.MAX_PATH_BYTES]u8 = undefined; const old_cwd = try os.getcwd(old_cwd_buf[0..]); @@ -173,6 +178,10 @@ test "openat smoke test" { test "symlink with relative paths" { if (native_os == .wasi and builtin.link_libc) return error.SkipZigTest; + if (true) { + // https://github.com/ziglang/zig/issues/14968 + return error.SkipZigTest; + } const cwd = fs.cwd(); cwd.deleteFile("file.txt") catch {}; cwd.deleteFile("symlinked") catch {}; @@ -228,6 +237,10 @@ test "link with relative paths" { .wasi, .linux, .solaris => {}, else => return error.SkipZigTest, } + if (true) { + // https://github.com/ziglang/zig/issues/14968 + return error.SkipZigTest; + } var cwd = fs.cwd(); cwd.deleteFile("example.txt") catch {}; @@ -267,6 +280,10 @@ test "linkat with different directories" { .wasi, .linux, .solaris => {}, else => return error.SkipZigTest, } + if (true) { + // https://github.com/ziglang/zig/issues/14968 + return error.SkipZigTest; + } var cwd = fs.cwd(); var tmp = tmpDir(.{});