]> git.ipfire.org Git - thirdparty/coreutils.git/commit
tests: fix tests/cp/sparse-2.sh false failure on some systems
authorPádraig Brady <P@draigBrady.com>
Sun, 9 May 2021 22:41:00 +0000 (23:41 +0100)
committerPádraig Brady <P@draigBrady.com>
Wed, 12 May 2021 21:14:11 +0000 (22:14 +0100)
commit6b499720fecae935dc00e236d6aefe94d9010482
tree80138a4715db60ce953379396c90a68b0eb5db56
parent4eb2e9c11a8336e3ffcca289b56ede98a2431c8f
tests: fix tests/cp/sparse-2.sh false failure on some systems

* tests/cp/sparse-2.sh: Double check cp --sparse=always,
with dd conv=sparse, in the case where the former didn't
create a sparse file.  Now that this test is being newly run
on macos, we're seeing a failure due to seek() not creating
holes on apfs unless the size is >= 16MiB.
tests/cp/sparse-2.sh