Skip to content

Commit

Permalink
update the extended_header.tar test file
Browse files Browse the repository at this point in the history
There was a bug in the original test file which is now properly caught
by the Go tar package. Update the file with a current version of git,
and re-enable the test.
  • Loading branch information
jbardin committed Nov 19, 2018
1 parent cd71cea commit f327330
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 12 deletions.
20 changes: 8 additions & 12 deletions decompress_tar_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,18 +9,14 @@ import (
func TestTar(t *testing.T) {
mtime := time.Unix(0, 0)
cases := []TestDecompressCase{
/*
Disabled for now, this was broken in Go 1.10 and doesn't parse at
all anymore. Issue open here: https://github.com/golang/go/issues/28843
{
"extended_header.tar",
true,
false,
[]string{"directory/", "directory/a", "directory/b"},
"",
nil,
},
*/
{
"extended_header.tar",
true,
false,
[]string{"directory/", "directory/a", "directory/b"},
"",
nil,
},
{
"implied_dir.tar",
true,
Expand Down
Binary file modified test-fixtures/decompress-tar/extended_header.tar
Binary file not shown.

0 comments on commit f327330

Please sign in to comment.