authorgravatar for alex@alexrp.comAlex Rønne Petersen <alex@alexrp.com> 2026-01-07 05:04:11+01:00
committergravatar for alex@alexrp.comAlex Rønne Petersen <alex@alexrp.com> 2026-01-07 05:06:12+01:00
log9db475de70fb7a91fefbf32a6da170f93cc17dbc
tree26cad54db400cd23445f69e39f199151571f7e93
parent1bef876636ab96449703ad2e8f9f22918546e99c
signaturebadge-check Signed by SSH key SHA256:7B/LJ7bpR1eX8aCXSr4mtd5M45VMPKcx9zY8e95b5QM

std.fs.test: skip executablePath and openExecutable on OpenBSD

processExecutablePath() is unsupported.

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

lib/std/fs/test.zig+2
...@@ -1131,6 +1131,7 @@ test "renameAbsolute" {...@@ -1131,6 +1131,7 @@ test "renameAbsolute" {
11311131
1132test "openExecutable" {1132test "openExecutable" {
1133 if (native_os == .wasi) return error.SkipZigTest;1133 if (native_os == .wasi) return error.SkipZigTest;
1134 if (native_os == .openbsd) return error.SkipZigTest;
11341135
1135 const io = testing.io;1136 const io = testing.io;
11361137
...@@ -1140,6 +1141,7 @@ test "openExecutable" {...@@ -1140,6 +1141,7 @@ test "openExecutable" {
11401141
1141test "executablePath" {1142test "executablePath" {
1142 if (native_os == .wasi) return error.SkipZigTest;1143 if (native_os == .wasi) return error.SkipZigTest;
1144 if (native_os == .openbsd) return error.SkipZigTest;
11431145
1144 const io = testing.io;1146 const io = testing.io;
1145 var buf: [Dir.max_path_bytes]u8 = undefined;1147 var buf: [Dir.max_path_bytes]u8 = undefined;