test: improve the cp fiemap tests
commit5c3fd50a751a93acf5ad7bb69d01261267a53a1e
authorPádraig Brady <P@draigBrady.com>
Fri, 4 Feb 2011 22:05:20 +0000 (4 22:05 +0000)
committerPádraig Brady <P@draigBrady.com>
Tue, 8 Feb 2011 22:46:25 +0000 (8 22:46 +0000)
tree4bfb77b4702a9068f774a9cb9fa9b64e4deec4a3
parent480c0dc9e7c1890b11797c0e7704bd0e2e9821b7
test: improve the cp fiemap tests

* tests/cp/fiemap-2: Enable the fiemap check for files, which
will enable the test for files on ext3.
* tests/cp/fiemap-perf: Comment why we're not enabling for ext3.
* tests/cp/sparse-fiemap: Ditto.  Also sync the files before
doing a fiemap which was needed for ext4 loop back at least.
Add a comment that FIEMAP_FLAG_SYNC is ineffective, thus
requiring the explicit syncs.
* tests/fiemap-capable: A new python script to determine
if a specified path supports fiemap.
* tests/init.cfg (fiemap_capable_): Use the new python script.
* tests/Makefile.am (EXTRA_DIST): Include the new python script.
tests/Makefile.am
tests/cp/fiemap-2
tests/cp/fiemap-perf
tests/cp/sparse-fiemap
tests/fiemap-capable [new file with mode: 0644]
tests/init.cfg