Commit d83b23fd authored by David du Colombier's avatar David du Colombier

archive/tar: skip TestSparseFiles on Plan 9

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/65352Reviewed-by: default avatarIan Lance Taylor <iant@golang.org>
parent 5993a758
...@@ -768,6 +768,9 @@ func TestHeaderAllowedFormats(t *testing.T) { ...@@ -768,6 +768,9 @@ func TestHeaderAllowedFormats(t *testing.T) {
} }
func TestSparseFiles(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, // Only perform the tests for hole-detection on the builders,
// where we have greater control over the filesystem. // where we have greater control over the filesystem.
sparseSupport := testenv.Builder() != "" sparseSupport := testenv.Builder() != ""
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment