authorgravatar for joran@ronomon.comJoran Dirk Greef <joran@ronomon.com> 2020-11-02 09:52:33+02:00
committergravatar for joran@ronomon.comJoran Dirk Greef <joran@ronomon.com> 2020-11-02 09:52:42+02:00
log9dec3108260638dd81dd5110bcf87d58f6834d25
treedeaf697632fd462692b1166d02fe3f237b7ec69a
parentc910f03a7b7a42bd742b7447e1101e07a2a12d74

Debug unhandled errno


1 files changed, 4 insertions(+), 1 deletions(-)

lib/std/os/linux/test.zig+4-1
......@@ -24,7 +24,10 @@ test "fallocate" {
2424 0 => {},
2525 linux.ENOSYS => return error.SkipZigTest,
2626 linux.EOPNOTSUPP => return error.SkipZigTest,
27 else => unreachable,
27 else |errno| => {
28 std.debug.print("Unhandled Errno:" errno);
29 return error.SkipZigTest;
30 },
2831 }
2932
3033 expect((try file.stat()).size == len);