mirror of
https://codeberg.org/ziglang/zig.git
synced 2025-12-06 05:44:20 +00:00
std: disable tests that depend on getFdPath on openbsd
This commit is contained in:
parent
e90c639fde
commit
6a1b4e6f8a
2 changed files with 8 additions and 0 deletions
|
|
@ -340,6 +340,7 @@ test "openDir" {
|
||||||
|
|
||||||
test "accessAbsolute" {
|
test "accessAbsolute" {
|
||||||
if (native_os == .wasi) return error.SkipZigTest;
|
if (native_os == .wasi) return error.SkipZigTest;
|
||||||
|
if (native_os == .openbsd) return error.SkipZigTest;
|
||||||
|
|
||||||
var tmp = tmpDir(.{});
|
var tmp = tmpDir(.{});
|
||||||
defer tmp.cleanup();
|
defer tmp.cleanup();
|
||||||
|
|
@ -352,6 +353,7 @@ test "accessAbsolute" {
|
||||||
|
|
||||||
test "openDirAbsolute" {
|
test "openDirAbsolute" {
|
||||||
if (native_os == .wasi) return error.SkipZigTest;
|
if (native_os == .wasi) return error.SkipZigTest;
|
||||||
|
if (native_os == .openbsd) return error.SkipZigTest;
|
||||||
|
|
||||||
var tmp = tmpDir(.{});
|
var tmp = tmpDir(.{});
|
||||||
defer tmp.cleanup();
|
defer tmp.cleanup();
|
||||||
|
|
@ -441,6 +443,7 @@ test "openDir non-cwd parent '..'" {
|
||||||
|
|
||||||
test "readLinkAbsolute" {
|
test "readLinkAbsolute" {
|
||||||
if (native_os == .wasi) return error.SkipZigTest;
|
if (native_os == .wasi) return error.SkipZigTest;
|
||||||
|
if (native_os == .openbsd) return error.SkipZigTest;
|
||||||
|
|
||||||
var tmp = tmpDir(.{});
|
var tmp = tmpDir(.{});
|
||||||
defer tmp.cleanup();
|
defer tmp.cleanup();
|
||||||
|
|
@ -1047,6 +1050,7 @@ test "rename" {
|
||||||
|
|
||||||
test "renameAbsolute" {
|
test "renameAbsolute" {
|
||||||
if (native_os == .wasi) return error.SkipZigTest;
|
if (native_os == .wasi) return error.SkipZigTest;
|
||||||
|
if (native_os == .openbsd) return error.SkipZigTest;
|
||||||
|
|
||||||
var tmp_dir = tmpDir(.{});
|
var tmp_dir = tmpDir(.{});
|
||||||
defer tmp_dir.cleanup();
|
defer tmp_dir.cleanup();
|
||||||
|
|
@ -1950,6 +1954,7 @@ test "'.' and '..' in fs.Dir functions" {
|
||||||
|
|
||||||
test "'.' and '..' in absolute functions" {
|
test "'.' and '..' in absolute functions" {
|
||||||
if (native_os == .wasi) return error.SkipZigTest;
|
if (native_os == .wasi) return error.SkipZigTest;
|
||||||
|
if (native_os == .openbsd) return error.SkipZigTest;
|
||||||
|
|
||||||
var tmp = tmpDir(.{});
|
var tmp = tmpDir(.{});
|
||||||
defer tmp.cleanup();
|
defer tmp.cleanup();
|
||||||
|
|
|
||||||
|
|
@ -45,6 +45,7 @@ test "check WASI CWD" {
|
||||||
test "open smoke test" {
|
test "open smoke test" {
|
||||||
if (native_os == .wasi) return error.SkipZigTest;
|
if (native_os == .wasi) return error.SkipZigTest;
|
||||||
if (native_os == .windows) return error.SkipZigTest;
|
if (native_os == .windows) return error.SkipZigTest;
|
||||||
|
if (native_os == .openbsd) return error.SkipZigTest;
|
||||||
|
|
||||||
// TODO verify file attributes using `fstat`
|
// TODO verify file attributes using `fstat`
|
||||||
|
|
||||||
|
|
@ -720,6 +721,7 @@ test "POSIX file locking with fcntl" {
|
||||||
test "rename smoke test" {
|
test "rename smoke test" {
|
||||||
if (native_os == .wasi) return error.SkipZigTest;
|
if (native_os == .wasi) return error.SkipZigTest;
|
||||||
if (native_os == .windows) return error.SkipZigTest;
|
if (native_os == .windows) return error.SkipZigTest;
|
||||||
|
if (native_os == .openbsd) return error.SkipZigTest;
|
||||||
|
|
||||||
var tmp = tmpDir(.{});
|
var tmp = tmpDir(.{});
|
||||||
defer tmp.cleanup();
|
defer tmp.cleanup();
|
||||||
|
|
@ -788,6 +790,7 @@ test "rename smoke test" {
|
||||||
test "access smoke test" {
|
test "access smoke test" {
|
||||||
if (native_os == .wasi) return error.SkipZigTest;
|
if (native_os == .wasi) return error.SkipZigTest;
|
||||||
if (native_os == .windows) return error.SkipZigTest;
|
if (native_os == .windows) return error.SkipZigTest;
|
||||||
|
if (native_os == .openbsd) return error.SkipZigTest;
|
||||||
|
|
||||||
var tmp = tmpDir(.{});
|
var tmp = tmpDir(.{});
|
||||||
defer tmp.cleanup();
|
defer tmp.cleanup();
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue