diff options
author | Jim Meyering <meyering@redhat.com> | 2011-01-31 15:20:29 +0100 |
---|---|---|
committer | Jim Meyering <meyering@redhat.com> | 2011-01-31 15:20:29 +0100 |
commit | 96a93f9480e0a420c21db7b58662a6e3ddf16124 (patch) | |
tree | 797f64358b8dfe911fbfa477282078009958b0ae /tests/init.cfg | |
parent | aeed6c1d8981e89d414f6ba0f4dd078a1ab755f0 (diff) | |
download | coreutils-96a93f9480e0a420c21db7b58662a6e3ddf16124.tar.xz |
tests: gfs2 also supports FIEMAP
* tests/init.cfg (fiemap_capable_): Add gfs2.
Clarify comment.
Diffstat (limited to 'tests/init.cfg')
-rw-r--r-- | tests/init.cfg | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/tests/init.cfg b/tests/init.cfg index fa15aa4b1..b2d1bab81 100644 --- a/tests/init.cfg +++ b/tests/init.cfg @@ -295,11 +295,13 @@ require_proc_pid_status_() kill $pid } -# Return nonzero if the specified directory is on a file system -# for which FIEMAP support exists. +# Return nonzero if the specified directory is on a file system for +# which FIEMAP support exists, and the file system type is new enough +# (unlike ext2 and ext3) that it is hard to find an instance *without* +# FIEMAP support. fiemap_capable_() { - df -T -t btrfs -t xfs -t ext4 -t ocfs2 "$@" + df -T -t btrfs -t xfs -t ext4 -t ocfs2 -t gfs2 "$@" } # Does the current (working-dir) file system support sparse files? |