tests: fix a false positive fiemap test on some file systems
authorPádraig Brady <P@draigBrady.com>
Wed, 13 Apr 2011 06:58:02 +0000 (07:58 +0100)
committerPádraig Brady <P@draigBrady.com>
Wed, 13 Apr 2011 10:18:48 +0000 (11:18 +0100)
commit403e8e3b8964a41b6252089f9712e25768f7b7c6
tree699c97b389fae7ad3145e48be55b1dd66a1ea511
parent501ce81b6a8400b37661fe65e66dfc33c5660ca0
tests: fix a false positive fiemap test on some file systems

* tests/filefrag-extent-compare: Don't check the length of the
last extent, as this was seen to vary on XFS, where it leaves
trailing blocks allocated for performance reasons.
* tests/cp/fiemap-empty: Though not seen as an issue in practise,
try to avoid possible issues with the allocator in file systems,
by requesting to allocate a power of 2.
tests/cp/fiemap-empty
tests/filefrag-extent-compare