aboutsummaryrefslogtreecommitdiff
path: root/lib/std
diff options
context:
space:
mode:
authorAndrew Kelley <andrew@ziglang.org>2022-03-23 17:29:39 -0700
committerAndrew Kelley <andrew@ziglang.org>2022-03-23 17:29:39 -0700
commit57539a26b4b1a118c9947116f2873ea3c0ced3da (patch)
treebe2cc5c4bc98ed9ec8c7dd485d34b84b4cea1e75 /lib/std
parente02ec8f7f5485b4e95ca8089b25a1c76d85c5834 (diff)
downloadzig-57539a26b4b1a118c9947116f2873ea3c0ced3da.tar.gz
zig-57539a26b4b1a118c9947116f2873ea3c0ced3da.zip
std.os: disable failing fnctl file locking test
See #11074
Diffstat (limited to 'lib/std')
-rw-r--r--lib/std/os/test.zig7
1 files changed, 5 insertions, 2 deletions
diff --git a/lib/std/os/test.zig b/lib/std/os/test.zig
index 7f301826b1..1ca83dada6 100644
--- a/lib/std/os/test.zig
+++ b/lib/std/os/test.zig
@@ -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;
}