]> git.ipfire.org Git - thirdparty/coreutils.git/commit
tests: fix false dd conv=sparse failure on newer XFS
authorPádraig Brady <P@draigBrady.com>
Fri, 11 Apr 2014 22:44:13 +0000 (23:44 +0100)
committerPádraig Brady <P@draigBrady.com>
Fri, 11 Apr 2014 22:52:08 +0000 (23:52 +0100)
commit7c03fe2c9f498bad7e40d29f2eb4573d23e102d0
treedfee25f3115d501d25fc233bb76b7194244dc379
parente9cb3eb6cee714865eff7a29e6c2101e545617c2
tests: fix false dd conv=sparse failure on newer XFS

* tests/dd/sparse.sh: When testing that a hole is created,
use an existing sparse destination file, so that we're
not write extending the file size, and thus avoiding
speculative preallocation which can result in smaller
holes than requested.
Workaround suggested by Brian Foster
THANKS.in
tests/dd/sparse.sh