xfs/188: add and use _require_xfs_mkfs_ciname

Use an explicit mkfs -n version=ci test to check whether the test
should run, instead of checking the xfsprogs version.

Suggested-by: Eryu Guan <eguan@redhat.com>
Signed-off-by: David Disseldorp <ddiss@suse.de>
Reviewed-by: Eryu Guan <eguan@redhat.com>
Signed-off-by: Eryu Guan <eguan@redhat.com>
This commit is contained in:
David Disseldorp
2017-01-12 18:18:47 +01:00
committed by Eryu Guan
parent f722c48d4c
commit 31da5626e9
2 changed files with 8 additions and 5 deletions
+1 -5
View File
@@ -52,12 +52,8 @@ _cleanup()
# real QA test starts here
_supported_fs xfs
_supported_os IRIX Linux
if [ $XFSPROGS_VERSION -lt 21000 ]; then
_notrun "this test requires case-insensitive support"
fi
_require_scratch
_require_xfs_mkfs_ciname
rm -f $seqres.full
_scratch_mkfs -n version=ci >/dev/null 2>&1