Debug unhandled errno
This commit is contained in:
@@ -24,7 +24,10 @@ test "fallocate" {
|
||||
0 => {},
|
||||
linux.ENOSYS => return error.SkipZigTest,
|
||||
linux.EOPNOTSUPP => return error.SkipZigTest,
|
||||
else => unreachable,
|
||||
else |errno| => {
|
||||
std.debug.print("Unhandled Errno:" errno);
|
||||
return error.SkipZigTest;
|
||||
},
|
||||
}
|
||||
|
||||
expect((try file.stat()).size == len);
|
||||
|
||||
Reference in New Issue
Block a user