tests: support more file systems in the cp fiemap tests
commit0f56019db8d5a58e87adb61c7aab411113daf3c0
authorPádraig Brady <P@draigBrady.com>
Sun, 13 Feb 2011 18:56:10 +0000 (13 18:56 +0000)
committerPádraig Brady <P@draigBrady.com>
Tue, 15 Feb 2011 00:02:29 +0000 (15 00:02 +0000)
treea31c2ed9bc790c0f641be63c8f77c1de39e9ceb7
parent275c831a3c4fd53638d4a1109cd266c359abc3c1
tests: support more file systems in the cp fiemap tests

* tests/cp/sparse-fiemap: Check for fiemap support against a file
rather than a directory to enable tests on BTRFS for example.
Explicity disable the test on ext3 or file systems where we
can't determine the type.
* tests/cp/fiemap-perf: Likewise.  Also disable the test on older
BTRFS (like in Fedora 14), where extents are returned for holes.
* tests/init.cfg: Comment that BTRFS only supports fiemap
for regular files.
tests/cp/fiemap-perf
tests/cp/sparse-fiemap
tests/init.cfg