aboutsummaryrefslogtreecommitdiff
path: root/tests/plaintextnames/file_holes_test.go
diff options
context:
space:
mode:
authorJakob Unterwurzacher2022-01-04 15:21:20 +0100
committerJakob Unterwurzacher2022-01-04 15:21:20 +0100
commit700ae685cc7cb99b396caeaeee4e39eeac20f1c7 (patch)
tree760586f04bb0ab513a21c2dd45fb6eccd1aa410e /tests/plaintextnames/file_holes_test.go
parent4b251f3ce1f0a0472ed10a00aeef70c69ba03a5d (diff)
tests: improve SEEK_DATA test for MacOS
(1) Create a 1 GiB file instead of 1 TiB, because apparently, on MacOS, the file (sometimes?) is not created sparse, and fills up users' disks: https://github.com/rfjakob/gocryptfs/issues/625 (2) On darwin, SEEK_DATA is not the same as on Linux ( https://github.com/golang/go/commit/2f8b555de27198775f9606e001ef19b76efdb415 ) so use the value provided by the unix package.
Diffstat (limited to 'tests/plaintextnames/file_holes_test.go')
0 files changed, 0 insertions, 0 deletions