authorgravatar for alex@alexrp.comAlex Rønne Petersen <alex@alexrp.com> 2026-01-12 18:44:32+01:00
committergravatar for alex@alexrp.comAlex Rønne Petersen <alex@alexrp.com> 2026-01-12 18:44:32+01:00
logf1267e02c49f5d571420d687a6337a85ab76767d
treefdb364dc59f57c98014bd2449c58309d4a470e0d
parentb671baee1aaed4e8ea7e289fd17fb8ee11ffaf65
signaturebadge-check Signed by SSH key SHA256:7B/LJ7bpR1eX8aCXSr4mtd5M45VMPKcx9zY8e95b5QM

std.http.test: disable tests on openbsd

https://codeberg.org/ziglang/zig/issues/30806

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

lib/std/http/test.zig+8
......@@ -13,6 +13,7 @@ const expectError = std.testing.expectError;
1313
1414test "trailers" {
1515 if (builtin.cpu.arch.isPowerPC64() and builtin.mode != .Debug) return error.SkipZigTest; // https://github.com/llvm/llvm-project/issues/171879
16 if (builtin.os.tag == .openbsd) return error.SkipZigTest; // https://codeberg.org/ziglang/zig/issues/30806
1617
1718 const io = std.testing.io;
1819 const test_server = try createTestServer(io, struct {
......@@ -99,6 +100,7 @@ test "trailers" {
99100
100101test "HTTP server handles a chunked transfer coding request" {
101102 if (builtin.cpu.arch.isPowerPC64() and builtin.mode != .Debug) return error.SkipZigTest; // https://github.com/llvm/llvm-project/issues/171879
103 if (builtin.os.tag == .openbsd) return error.SkipZigTest; // https://codeberg.org/ziglang/zig/issues/30806
102104
103105 const io = std.testing.io;
104106 const test_server = try createTestServer(io, struct {
......@@ -167,6 +169,7 @@ test "HTTP server handles a chunked transfer coding request" {
167169
168170test "echo content server" {
169171 if (builtin.cpu.arch.isPowerPC64() and builtin.mode != .Debug) return error.SkipZigTest; // https://github.com/llvm/llvm-project/issues/171879
172 if (builtin.os.tag == .openbsd) return error.SkipZigTest; // https://codeberg.org/ziglang/zig/issues/30806
170173
171174 const io = std.testing.io;
172175 const test_server = try createTestServer(io, struct {
......@@ -257,6 +260,7 @@ test "echo content server" {
257260
258261test "Server.Request.respondStreaming non-chunked, unknown content-length" {
259262 if (builtin.cpu.arch.isPowerPC64() and builtin.mode != .Debug) return error.SkipZigTest; // https://github.com/llvm/llvm-project/issues/171879
263 if (builtin.os.tag == .openbsd) return error.SkipZigTest; // https://codeberg.org/ziglang/zig/issues/30806
260264
261265 const io = std.testing.io;
262266
......@@ -335,6 +339,7 @@ test "Server.Request.respondStreaming non-chunked, unknown content-length" {
335339
336340test "receiving arbitrary http headers from the client" {
337341 if (builtin.cpu.arch.isPowerPC64() and builtin.mode != .Debug) return error.SkipZigTest; // https://github.com/llvm/llvm-project/issues/171879
342 if (builtin.os.tag == .openbsd) return error.SkipZigTest; // https://codeberg.org/ziglang/zig/issues/30806
338343
339344 const io = std.testing.io;
340345
......@@ -400,6 +405,7 @@ test "receiving arbitrary http headers from the client" {
400405
401406test "general client/server API coverage" {
402407 if (builtin.cpu.arch.isPowerPC64() and builtin.mode != .Debug) return error.SkipZigTest; // https://github.com/llvm/llvm-project/issues/171879
408 if (builtin.os.tag == .openbsd) return error.SkipZigTest; // https://codeberg.org/ziglang/zig/issues/30806
403409
404410 const io = std.testing.io;
405411
......@@ -895,6 +901,7 @@ test "general client/server API coverage" {
895901
896902test "Server streams both reading and writing" {
897903 if (builtin.cpu.arch.isPowerPC64() and builtin.mode != .Debug) return error.SkipZigTest; // https://github.com/llvm/llvm-project/issues/171879
904 if (builtin.os.tag == .openbsd) return error.SkipZigTest; // https://codeberg.org/ziglang/zig/issues/30806
898905
899906 const io = std.testing.io;
900907
......@@ -1164,6 +1171,7 @@ fn createTestServer(io: Io, S: type) !*TestServer {
11641171
11651172test "redirect to different connection" {
11661173 if (builtin.cpu.arch.isPowerPC64() and builtin.mode != .Debug) return error.SkipZigTest; // https://github.com/llvm/llvm-project/issues/171879
1174 if (builtin.os.tag == .openbsd) return error.SkipZigTest; // https://codeberg.org/ziglang/zig/issues/30806
11671175
11681176 const io = std.testing.io;
11691177 const test_server_new = try createTestServer(io, struct {