| author | |
| committer | |
| log | 3c708b19fea5e855197c6f3f8130a39a903b3f77 |
| tree | 5f3086229ff68f3ffd7dc7b1e0b052bfd5ea8387 |
| parent | 2b01764d86d8c1b808a1ffb5913442e8f055762f |
tracked by #207472 files changed, 9 insertions(+), 0 deletions(-)
lib/std/Io/Threaded/test.zig+5| ... | @@ -206,6 +206,11 @@ test "cancel blocked read from pipe" { | ... | @@ -206,6 +206,11 @@ test "cancel blocked read from pipe" { |
| 206 | } | 206 | } |
| 207 | 207 | ||
| 208 | test "memory mapping fallback" { | 208 | test "memory mapping fallback" { |
| 209 | if (builtin.os.tag == .wasi and builtin.link_libc) { | ||
| 210 | // https://github.com/ziglang/zig/issues/20747 (open fd does not have write permission) | ||
| 211 | return error.SkipZigTest; | ||
| 212 | } | ||
| 213 | |||
| 209 | var threaded: std.Io.Threaded = .init(std.testing.allocator, .{ | 214 | var threaded: std.Io.Threaded = .init(std.testing.allocator, .{ |
| 210 | .argv0 = .empty, | 215 | .argv0 = .empty, |
| 211 | .environ = .empty, | 216 | .environ = .empty, |
lib/std/Io/test.zig+4| ... | @@ -595,6 +595,10 @@ test "randomSecure" { | ... | @@ -595,6 +595,10 @@ test "randomSecure" { |
| 595 | 595 | ||
| 596 | test "memory mapping" { | 596 | test "memory mapping" { |
| 597 | if (builtin.cpu.arch == .hexagon) return error.SkipZigTest; // mmap returned EINVAL | 597 | if (builtin.cpu.arch == .hexagon) return error.SkipZigTest; // mmap returned EINVAL |
| 598 | if (builtin.os.tag == .wasi and builtin.link_libc) { | ||
| 599 | // https://github.com/ziglang/zig/issues/20747 (open fd does not have write permission) | ||
| 600 | return error.SkipZigTest; | ||
| 601 | } | ||
| 598 | 602 | ||
| 599 | const io = testing.io; | 603 | const io = testing.io; |
| 600 | 604 |