From f1267e02c49f5d571420d687a6337a85ab76767d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alex=20R=C3=B8nne=20Petersen?= Date: Mon, 12 Jan 2026 18:44:32 +0100 Subject: [PATCH] std.http.test: disable tests on openbsd https://codeberg.org/ziglang/zig/issues/30806 --- lib/std/http/test.zig | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/lib/std/http/test.zig b/lib/std/http/test.zig index 73ca8ae74fb4c9ee205c37f407d1efe99fd741c7..0e6130d66a856f371517f1baa35a912f4c89dd4c 100644 --- a/lib/std/http/test.zig +++ b/lib/std/http/test.zig @@ -13,6 +13,7 @@ const expectError = std.testing.expectError; test "trailers" { if (builtin.cpu.arch.isPowerPC64() and builtin.mode != .Debug) return error.SkipZigTest; // https://github.com/llvm/llvm-project/issues/171879 + if (builtin.os.tag == .openbsd) return error.SkipZigTest; // https://codeberg.org/ziglang/zig/issues/30806 const io = std.testing.io; const test_server = try createTestServer(io, struct { @@ -99,6 +100,7 @@ test "trailers" { test "HTTP server handles a chunked transfer coding request" { if (builtin.cpu.arch.isPowerPC64() and builtin.mode != .Debug) return error.SkipZigTest; // https://github.com/llvm/llvm-project/issues/171879 + if (builtin.os.tag == .openbsd) return error.SkipZigTest; // https://codeberg.org/ziglang/zig/issues/30806 const io = std.testing.io; const test_server = try createTestServer(io, struct { @@ -167,6 +169,7 @@ test "HTTP server handles a chunked transfer coding request" { test "echo content server" { if (builtin.cpu.arch.isPowerPC64() and builtin.mode != .Debug) return error.SkipZigTest; // https://github.com/llvm/llvm-project/issues/171879 + if (builtin.os.tag == .openbsd) return error.SkipZigTest; // https://codeberg.org/ziglang/zig/issues/30806 const io = std.testing.io; const test_server = try createTestServer(io, struct { @@ -257,6 +260,7 @@ test "echo content server" { test "Server.Request.respondStreaming non-chunked, unknown content-length" { if (builtin.cpu.arch.isPowerPC64() and builtin.mode != .Debug) return error.SkipZigTest; // https://github.com/llvm/llvm-project/issues/171879 + if (builtin.os.tag == .openbsd) return error.SkipZigTest; // https://codeberg.org/ziglang/zig/issues/30806 const io = std.testing.io; @@ -335,6 +339,7 @@ test "Server.Request.respondStreaming non-chunked, unknown content-length" { test "receiving arbitrary http headers from the client" { if (builtin.cpu.arch.isPowerPC64() and builtin.mode != .Debug) return error.SkipZigTest; // https://github.com/llvm/llvm-project/issues/171879 + if (builtin.os.tag == .openbsd) return error.SkipZigTest; // https://codeberg.org/ziglang/zig/issues/30806 const io = std.testing.io; @@ -400,6 +405,7 @@ test "receiving arbitrary http headers from the client" { test "general client/server API coverage" { if (builtin.cpu.arch.isPowerPC64() and builtin.mode != .Debug) return error.SkipZigTest; // https://github.com/llvm/llvm-project/issues/171879 + if (builtin.os.tag == .openbsd) return error.SkipZigTest; // https://codeberg.org/ziglang/zig/issues/30806 const io = std.testing.io; @@ -895,6 +901,7 @@ test "general client/server API coverage" { test "Server streams both reading and writing" { if (builtin.cpu.arch.isPowerPC64() and builtin.mode != .Debug) return error.SkipZigTest; // https://github.com/llvm/llvm-project/issues/171879 + if (builtin.os.tag == .openbsd) return error.SkipZigTest; // https://codeberg.org/ziglang/zig/issues/30806 const io = std.testing.io; @@ -1164,6 +1171,7 @@ fn createTestServer(io: Io, S: type) !*TestServer { test "redirect to different connection" { if (builtin.cpu.arch.isPowerPC64() and builtin.mode != .Debug) return error.SkipZigTest; // https://github.com/llvm/llvm-project/issues/171879 + if (builtin.os.tag == .openbsd) return error.SkipZigTest; // https://codeberg.org/ziglang/zig/issues/30806 const io = std.testing.io; const test_server_new = try createTestServer(io, struct { -- 2.54.0