std: disable failing test on macos

See tracking issue https://github.com/ziglang/zig/issues/18395
This commit is contained in:
Andrew Kelley 2023-12-28 21:21:42 -07:00
parent 668c0cdeda
commit 96b4eeab55

View File

@ -752,6 +752,11 @@ test "fsync" {
}
test "getrlimit and setrlimit" {
if (builtin.target.os.tag == .macos) {
// https://github.com/ziglang/zig/issues/18395
return error.SkipZigTest;
}
if (!@hasDecl(os.system, "rlimit")) {
return error.SkipZigTest;
}