| ... | @@ -4121,7 +4121,7 @@ test "openat_direct/close_direct" { | ... | @@ -4121,7 +4121,7 @@ test "openat_direct/close_direct" { |
| 4121 | } | 4121 | } |
| 4122 | | 4122 | |
| 4123 | /// For use in tests. Returns SkipZigTest is kernel version is less than required. | 4123 | /// For use in tests. Returns SkipZigTest is kernel version is less than required. |
| 4124 | fn skipKernelLessThan(required: std.SemanticVersion) !void { | 4124 | inline fn skipKernelLessThan(required: std.SemanticVersion) !void { |
| 4125 | if (builtin.os.tag != .linux) return error.SkipZigTest; | 4125 | if (builtin.os.tag != .linux) return error.SkipZigTest; |
| 4126 | | 4126 | |
| 4127 | var uts: linux.utsname = undefined; | 4127 | var uts: linux.utsname = undefined; |