Skip to content

Commit 9fd5bfc

Browse files
committed
Disable extended headers tar test
Go 1.10 and 1.11 can't even parse the tar header anymore (errors with "invalid header"). I'm not sure if this is a bug so I opened an issue here: golang/go#28843 /cc @jbardin
1 parent 08c221b commit 9fd5bfc

File tree

1 file changed

+12
-8
lines changed

1 file changed

+12
-8
lines changed

decompress_tar_test.go

Lines changed: 12 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -9,14 +9,18 @@ import (
99
func TestTar(t *testing.T) {
1010
mtime := time.Unix(0, 0)
1111
cases := []TestDecompressCase{
12-
{
13-
"extended_header.tar",
14-
true,
15-
false,
16-
[]string{"directory/", "directory/a", "directory/b"},
17-
"",
18-
nil,
19-
},
12+
/*
13+
Disabled for now, this was broken in Go 1.10 and doesn't parse at
14+
all anymore. Issue open here: https://github.com/golang/go/issues/28843
15+
{
16+
"extended_header.tar",
17+
true,
18+
false,
19+
[]string{"directory/", "directory/a", "directory/b"},
20+
"",
21+
nil,
22+
},
23+
*/
2024
{
2125
"implied_dir.tar",
2226
true,

0 commit comments

Comments
 (0)