Skip to content

Commit

Permalink
archive/tar: skip TestSparseFiles on Plan 9
Browse files Browse the repository at this point in the history
CL 60871 added TestSparseFiles. This test is succeeding
on Plan 9 when executed on the ramfs file system, but
is failing when executed on the Fossil file system.

This may be due to an issue in the handling of sparse
files in the Fossil file system on Plan 9 that should
be investigated.

Updates #21977.

Change-Id: I177afff519b862a5c548e094203c219504852006
Reviewed-on: https://go-review.googlesource.com/65352
Reviewed-by: Ian Lance Taylor <[email protected]>
  • Loading branch information
0intro committed Sep 22, 2017
1 parent 5993a75 commit d83b23f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/archive/tar/tar_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -768,6 +768,9 @@ func TestHeaderAllowedFormats(t *testing.T) {
}

func TestSparseFiles(t *testing.T) {
if runtime.GOOS == "plan9" {
t.Skip("skipping test on plan9; see https://golang.org/issue/21977")
}
// Only perform the tests for hole-detection on the builders,
// where we have greater control over the filesystem.
sparseSupport := testenv.Builder() != ""
Expand Down

0 comments on commit d83b23f

Please sign in to comment.