diff options
| author | Ryan Liptak <squeek502@hotmail.com> | 2024-02-29 15:55:06 -0800 |
|---|---|---|
| committer | Ryan Liptak <squeek502@hotmail.com> | 2024-02-29 16:12:24 -0800 |
| commit | e80d4bc6f88d477af802c9e4db413814d0888c78 (patch) | |
| tree | 03522729f8078ebc9bde950a7c603040f7ed326a /lib/std | |
| parent | e233971e4fe19953ce8af63860a0791f5ca1268e (diff) | |
| download | zig-e80d4bc6f88d477af802c9e4db413814d0888c78.tar.gz zig-e80d4bc6f88d477af802c9e4db413814d0888c78.zip | |
Re-enable and fix tar pipeToFileSystem test on Windows
Diffstat (limited to 'lib/std')
| -rw-r--r-- | lib/std/tar/test.zig | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/lib/std/tar/test.zig b/lib/std/tar/test.zig index 8939a8a05d..67c4fe0198 100644 --- a/lib/std/tar/test.zig +++ b/lib/std/tar/test.zig @@ -464,9 +464,6 @@ test "tar case sensitivity" { } test "tar pipeToFileSystem" { - const builtin = @import("builtin"); - if (builtin.os.tag == .windows) return error.SkipZigTest; - // $ tar tvf // pipe_to_file_system_test/ // pipe_to_file_system_test/b/ @@ -494,6 +491,6 @@ test "tar pipeToFileSystem" { try testing.expect((try root.dir.statFile("a/file")).kind == .file); // TODO is there better way to test symlink try testing.expect((try root.dir.statFile("b/symlink")).kind == .file); // statFile follows symlink - var buf: [8]u8 = undefined; + var buf: [32]u8 = undefined; _ = try root.dir.readLink("b/symlink", &buf); } |
