]> Cypherpunks repositories - gostls13.git/commit
archive/tar: perform test for hole-detection on specific builders
authorJoe Tsai <joetsai@digital-static.net>
Thu, 21 Sep 2017 15:44:05 +0000 (08:44 -0700)
committerJoe Tsai <thebrokentoaster@gmail.com>
Thu, 21 Sep 2017 20:42:11 +0000 (20:42 +0000)
commit718d9de60fd4337d9044cdc2c685177dd2177ef6
treeb7e0867a075af6ef0e4525a2bbc3956583712529
parent2f7b57e9d82c1d8d0bc15bd35b1acf084e1367d3
archive/tar: perform test for hole-detection on specific builders

The test for hole-detection is heavily dependent on whether the
OS and underlying FS provides support for it.
Even on Linux, which has support for SEEK_HOLE and SEEK_DATA,
the underlying filesystem may not have support for it.
In order to avoid an ever-changing game of whack-a-mole,
we whitelist the specific builders that we expect the test to pass on.

Updates #21964

Change-Id: I7334e8532c96cc346ea83aabbb81b719685ad7e5
Reviewed-on: https://go-review.googlesource.com/65270
Run-TryBot: Joe Tsai <thebrokentoaster@gmail.com>
Reviewed-by: Ian Lance Taylor <iant@golang.org>
src/archive/tar/tar_test.go