]> Cypherpunks repositories - gostls13.git/commit
archive/tar: expand TestPartialRead to cover sparse files
authorJoe Tsai <joetsai@digital-static.net>
Wed, 9 Aug 2017 18:24:18 +0000 (11:24 -0700)
committerJoe Tsai <thebrokentoaster@gmail.com>
Fri, 11 Aug 2017 03:12:27 +0000 (03:12 +0000)
commitc592c05745f42874d205430261c0bda37a272b55
tree67da90eea85816865cb50f77fcdb8d292ed2bde2
parente17405d7544d35cf87694f2abff36a2a906bd9d1
archive/tar: expand TestPartialRead to cover sparse files

Given that sparse file logic is not trivial, there should be a test
in TestPartialRead to ensure that partial reads work.

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