Skip to content

Commit 68c7261

Browse files
committed
disable bad std lib tests
see tracking issue ziglang#14968
1 parent b4d58e9 commit 68c7261

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

lib/std/os/test.zig

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,11 @@ const ArenaAllocator = std.heap.ArenaAllocator;
2424
test "chdir smoke test" {
2525
if (native_os == .wasi) return error.SkipZigTest;
2626

27+
if (true) {
28+
// https://github.com/ziglang/zig/issues/14968
29+
return error.SkipZigTest;
30+
}
31+
2732
// Get current working directory path
2833
var old_cwd_buf: [fs.MAX_PATH_BYTES]u8 = undefined;
2934
const old_cwd = try os.getcwd(old_cwd_buf[0..]);
@@ -173,6 +178,10 @@ test "openat smoke test" {
173178
test "symlink with relative paths" {
174179
if (native_os == .wasi and builtin.link_libc) return error.SkipZigTest;
175180

181+
if (true) {
182+
// https://github.com/ziglang/zig/issues/14968
183+
return error.SkipZigTest;
184+
}
176185
const cwd = fs.cwd();
177186
cwd.deleteFile("file.txt") catch {};
178187
cwd.deleteFile("symlinked") catch {};
@@ -228,6 +237,10 @@ test "link with relative paths" {
228237
.wasi, .linux, .solaris => {},
229238
else => return error.SkipZigTest,
230239
}
240+
if (true) {
241+
// https://github.com/ziglang/zig/issues/14968
242+
return error.SkipZigTest;
243+
}
231244
var cwd = fs.cwd();
232245

233246
cwd.deleteFile("example.txt") catch {};
@@ -267,6 +280,10 @@ test "linkat with different directories" {
267280
.wasi, .linux, .solaris => {},
268281
else => return error.SkipZigTest,
269282
}
283+
if (true) {
284+
// https://github.com/ziglang/zig/issues/14968
285+
return error.SkipZigTest;
286+
}
270287
var cwd = fs.cwd();
271288
var tmp = tmpDir(.{});
272289

0 commit comments

Comments
 (0)