authorgravatar for andrew@ziglang.orgAndrew Kelley <andrew@ziglang.org> 2025-12-25 15:29:35-08:00
committergravatar for andrew@ziglang.orgAndrew Kelley <andrew@ziglang.org> 2025-12-26 19:58:56-08:00
log8d96d7d2193670f25768287accd0858249992395
treee0ed2a0cd29dccdfcf02cfcff7324f51a5894f5a
parentdc1d27a646b37bbdfae9c8bab46df6384921d13a

remove test for nonexistent API


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

lib/std/posix/test.zig-9
......@@ -20,15 +20,6 @@ const expectEqualStrings = std.testing.expectEqualStrings;
2020const expectError = std.testing.expectError;
2121const tmpDir = std.testing.tmpDir;
2222
23// https://github.com/ziglang/zig/issues/20288
24test "WTF-8 to WTF-16 conversion buffer overflows" {
25 if (native_os != .windows) return error.SkipZigTest;
26
27 const input_wtf8 = "\u{10FFFF}" ** 16385;
28 try expectError(error.NameTooLong, posix.chdir(input_wtf8));
29 try expectError(error.NameTooLong, posix.chdirZ(input_wtf8));
30}
31
3223test "check WASI CWD" {
3324 if (native_os == .wasi) {
3425 if (std.options.wasiCwd() != 3) {