diff options
author | Jakob Unterwurzacher | 2022-01-04 15:21:20 +0100 |
---|---|---|
committer | Jakob Unterwurzacher | 2022-01-04 15:21:20 +0100 |
commit | 700ae685cc7cb99b396caeaeee4e39eeac20f1c7 (patch) | |
tree | 760586f04bb0ab513a21c2dd45fb6eccd1aa410e /tests/plaintextnames | |
parent | 4b251f3ce1f0a0472ed10a00aeef70c69ba03a5d (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')
0 files changed, 0 insertions, 0 deletions