| ... | @@ -84,6 +84,8 @@ test "statx" { | ... | @@ -84,6 +84,8 @@ test "statx" { |
| 84 | else => unreachable, | 84 | else => unreachable, |
| 85 | } | 85 | } |
| 86 | | 86 | |
| | 87 | if (builtin.cpu.arch == .riscv32) return error.SkipZigTest; // No fstatat, so the rest of the test is meaningless. |
| | 88 | |
| 87 | var stat_buf: linux.Stat = undefined; | 89 | var stat_buf: linux.Stat = undefined; |
| 88 | switch (linux.E.init(linux.fstatat(file.handle, "", &stat_buf, linux.AT.EMPTY_PATH))) { | 90 | switch (linux.E.init(linux.fstatat(file.handle, "", &stat_buf, linux.AT.EMPTY_PATH))) { |
| 89 | .SUCCESS => {}, | 91 | .SUCCESS => {}, |