]> git.apps.os.sepia.ceph.com Git - xfstests-dev.git/commit
common: cleanup _require_xfs_io_command
authorXiao Yang <yangx.jy@cn.fujitsu.com>
Wed, 17 May 2017 01:42:33 +0000 (09:42 +0800)
committerEryu Guan <eguan@redhat.com>
Wed, 17 May 2017 10:15:35 +0000 (18:15 +0800)
commit704c27f69fa13f0ba14f458deeac2df1a7a5f5ff
treeff13f57cc476aabfbb356195edde015d6dbd33a4
parenteaa2d30dbaa1bbe26095543c6460fea2aab595b7
common: cleanup _require_xfs_io_command

We don't need to check specific flags at the end of this function
if we have checked them before. e.g, generic/071 and generic/422
are marked as notrun unexpectedly because xfs_io doesn't support
long-format help for falloc before xfsprogs v4.9.  Actually, xfs_io
has supported falloc, so these case should not be marked as notrun.

[eguan: declare local vars as local, rename param_check to
param_checked]

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>
common/rc