diff options
author | Jim Meyering <meyering@redhat.com> | 2011-01-31 14:44:15 +0100 |
---|---|---|
committer | Jim Meyering <meyering@redhat.com> | 2011-01-31 14:44:15 +0100 |
commit | 3aae01fa9b3759da90854e7423bfc75b8c634afd (patch) | |
tree | b4beec102a94a8fcf4c90c6a64388954c2c28533 /tests/cp/sparse-fiemap | |
parent | 31dc21f693b5dc9c267be89934ea4cb306806e39 (diff) | |
download | coreutils-3aae01fa9b3759da90854e7423bfc75b8c634afd.tar.xz |
tests: factor fiemap-related predicate into init.cfg
* tests/init.cfg (fiemap_capable_): New function.
* tests/cp/fiemap-perf: Use it.
* tests/cp/sparse-fiemap: Likewise.
* tests/cp/fiemap-2: Likewise.
Diffstat (limited to 'tests/cp/sparse-fiemap')
-rwxr-xr-x | tests/cp/sparse-fiemap | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/cp/sparse-fiemap b/tests/cp/sparse-fiemap index 7e1932b08..f224b5be0 100755 --- a/tests/cp/sparse-fiemap +++ b/tests/cp/sparse-fiemap @@ -19,7 +19,7 @@ . "${srcdir=.}/init.sh"; path_prepend_ ../src print_ver_ cp -if df -T -t btrfs -t xfs -t ext4 -t ocfs2 . ; then +if fiemap_capable_ . ; then : # Current dir is on a partition with working extents. Good! else # It's not; we need to create one, hence we need root access. |