Skip to content

Commit

Permalink
Compare tree_hash with extract with copy_symlinks
Browse files Browse the repository at this point in the history
  • Loading branch information
mkitti committed Jan 8, 2024
1 parent c7d5bdd commit 0bcb514
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions test/runtests.jl
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down

0 comments on commit 0bcb514

Please sign in to comment.