Re-enable and fix tar pipeToFileSystem test on Windows

This commit is contained in:
Ryan Liptak 2024-02-29 15:55:06 -08:00
parent e233971e4f
commit e80d4bc6f8

View File

@ -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);
}