| ... | ... | @@ -349,6 +349,7 @@ test "linkat with different directories" { |
| 349 | 349 | } |
| 350 | 350 | |
| 351 | 351 | test "fstatat" { |
| 352 | if (builtin.cpu.arch == .riscv32 and builtin.os.tag == .linux and !builtin.link_libc) return error.SkipZigTest; // No `fstatat()`. |
| 352 | 353 | // enable when `fstat` and `fstatat` are implemented on Windows |
| 353 | 354 | if (native_os == .windows) return error.SkipZigTest; |
| 354 | 355 | |
| ... | ... | @@ -1264,6 +1265,9 @@ test "fchmodat smoke test" { |
| 1264 | 1265 | 0o644, |
| 1265 | 1266 | ); |
| 1266 | 1267 | posix.close(fd); |
| 1268 | |
| 1269 | if (builtin.cpu.arch == .riscv32 and builtin.os.tag == .linux and !builtin.link_libc) return error.SkipZigTest; // No `fstatat()`. |
| 1270 | |
| 1267 | 1271 | try posix.symlinkat("regfile", tmp.dir.fd, "symlink"); |
| 1268 | 1272 | const sym_mode = blk: { |
| 1269 | 1273 | const st = try posix.fstatat(tmp.dir.fd, "symlink", posix.AT.SYMLINK_NOFOLLOW); |