]> git.apps.os.sepia.ceph.com Git - xfstests-dev.git/commit
common: use _require_xfs_io_command() directly to check fiemap
authorXiao Yang <yangx.jy@cn.fujitsu.com>
Wed, 17 May 2017 01:42:32 +0000 (09:42 +0800)
committerEryu Guan <eguan@redhat.com>
Wed, 17 May 2017 09:38:26 +0000 (17:38 +0800)
commiteaa2d30dbaa1bbe26095543c6460fea2aab595b7
tree13d2fdb0d9c06ed7084a5939470d203ded6aa742
parent777e1d628029664705d83b16136546ce601889e3
common: use _require_xfs_io_command() directly to check fiemap

1) _require_fiemap and _require_xfs_io_command "fiemap" do the
   same thing, but some test cases use the former and some use
   the latter, so i feel they should be unified.

2) The number of helpers like this is slowly growing, but it's
   easy to simply use _require_xfs_io_command directly and just
   specify the command we want to check.

This is just a cleanup for keeping it simple.

Signed-off-by: Xiao Yang <yangx.jy@cn.fujitsu.com>
Reviewed-by: Eryu Guan <eguan@redhat.com>
Signed-off-by: Eryu Guan <eguan@redhat.com>
43 files changed:
common/rc
common/reflink
tests/generic/043
tests/generic/044
tests/generic/045
tests/generic/046
tests/generic/047
tests/generic/048
tests/generic/049
tests/generic/092
tests/generic/301
tests/generic/302
tests/generic/305
tests/generic/326
tests/generic/327
tests/generic/328
tests/generic/352
tests/generic/353
tests/generic/372
tests/generic/414
tests/generic/425
tests/xfs/180
tests/xfs/182
tests/xfs/184
tests/xfs/192
tests/xfs/193
tests/xfs/198
tests/xfs/200
tests/xfs/204
tests/xfs/207
tests/xfs/208
tests/xfs/209
tests/xfs/210
tests/xfs/211
tests/xfs/212
tests/xfs/213
tests/xfs/214
tests/xfs/231
tests/xfs/232
tests/xfs/344
tests/xfs/345
tests/xfs/346
tests/xfs/347