authorgravatar for pat.github@tullmann.orgPat Tullmann <pat.github@tullmann.org> 2023-10-23 15:23:19-07:00
committergravatar for andrew@ziglang.orgAndrew Kelley <andrew@ziglang.org> 2024-01-04 17:12:07-07:00
log1564cb0ab978b904e612a056c013bce8d6663a1b
tree7fb79e15cca805f5966266126d4d2ccbf2cee955
parent2c6372a11741cee93057fe15b002735e488b7dc9

std/fs/test.zig: Remove work-around for stat() failures on glibc

glibc variants now support the stat-family of calls correctly, so this test is safe to include.

1 files changed, 0 insertions(+), 3 deletions(-)

lib/std/fs/test.zig-3
...@@ -660,9 +660,6 @@ test "readAllAlloc" {...@@ -660,9 +660,6 @@ test "readAllAlloc" {
660}660}
661661
662test "Dir.statFile" {662test "Dir.statFile" {
663 // TODO: Re-enable once https://github.com/ziglang/zig/issues/17034 is solved
664 if (builtin.os.tag == .linux and builtin.link_libc and builtin.abi == .gnu) return error.SkipZigTest;
665
666 try testWithAllSupportedPathTypes(struct {663 try testWithAllSupportedPathTypes(struct {
667 fn impl(ctx: *TestContext) !void {664 fn impl(ctx: *TestContext) !void {
668 const test_file_name = try ctx.transformPath("test_file");665 const test_file_name = try ctx.transformPath("test_file");