From 0bcb5148a0ef68e0097360391a430718bd42cec7 Mon Sep 17 00:00:00 2001 From: Mark Kittisopikul Date: Mon, 8 Jan 2024 06:03:03 -0500 Subject: [PATCH] Compare tree_hash with extract with copy_symlinks --- test/runtests.jl | 1 + 1 file changed, 1 insertion(+) diff --git a/test/runtests.jl b/test/runtests.jl index 8dfe365..0325a4c 100644 --- a/test/runtests.jl +++ b/test/runtests.jl @@ -499,6 +499,7 @@ end @test read(path, String) == data end dir = Tar.extract(tarball, copy_symlinks=true) + @test tree_hash(dir) == Tar.tree_hash(tarball; copy_symlinks=true) test_file("file", data₁) test_file("link-file", data₁) test_none("link-file-slash")