std.os: disable failing fnctl file locking test

See #11074
This commit is contained in:
Andrew Kelley 2022-03-23 17:29:39 -07:00
parent e02ec8f7f5
commit 57539a26b4

View File

@ -832,9 +832,12 @@ test "writev longer than IOV_MAX" {
}
test "POSIX file locking with fcntl" {
if (native_os == .windows or native_os == .wasi) return error.SkipZigTest;
if (native_os == .windows or native_os == .wasi) {
// Not POSIX.
return error.SkipZigTest;
}
if (native_os == .linux) {
if (true) {
// https://github.com/ziglang/zig/issues/11074
return error.SkipZigTest;
}