| ... | @@ -464,9 +464,6 @@ test "tar case sensitivity" { | ... | @@ -464,9 +464,6 @@ test "tar case sensitivity" { |
| 464 | } | 464 | } |
| 465 | | 465 | |
| 466 | test "tar pipeToFileSystem" { | 466 | test "tar pipeToFileSystem" { |
| 467 | const builtin = @import("builtin"); | | |
| 468 | if (builtin.os.tag == .windows) return error.SkipZigTest; | | |
| 469 | | | |
| 470 | // $ tar tvf | 467 | // $ tar tvf |
| 471 | // pipe_to_file_system_test/ | 468 | // pipe_to_file_system_test/ |
| 472 | // pipe_to_file_system_test/b/ | 469 | // pipe_to_file_system_test/b/ |
| ... | @@ -494,6 +491,6 @@ test "tar pipeToFileSystem" { | ... | @@ -494,6 +491,6 @@ test "tar pipeToFileSystem" { |
| 494 | try testing.expect((try root.dir.statFile("a/file")).kind == .file); | 491 | try testing.expect((try root.dir.statFile("a/file")).kind == .file); |
| 495 | // TODO is there better way to test symlink | 492 | // TODO is there better way to test symlink |
| 496 | try testing.expect((try root.dir.statFile("b/symlink")).kind == .file); // statFile follows symlink | 493 | try testing.expect((try root.dir.statFile("b/symlink")).kind == .file); // statFile follows symlink |
| 497 | var buf: [8]u8 = undefined; | 494 | var buf: [32]u8 = undefined; |
| 498 | _ = try root.dir.readLink("b/symlink", &buf); | 495 | _ = try root.dir.readLink("b/symlink", &buf); |
| 499 | } | 496 | } |