mirror of
https://github.com/linux-apfs/apfstests.git
synced 2026-05-01 15:01:44 -07:00
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:
committed by
Eryu Guan
parent
f722c48d4c
commit
31da5626e9
@@ -587,3 +587,10 @@ _require_meta_uuid()
|
||||
|| _notrun "Kernel doesn't support meta_uuid feature"
|
||||
_scratch_unmount
|
||||
}
|
||||
|
||||
# this test requires mkfs.xfs have case-insensitive naming support
|
||||
_require_xfs_mkfs_ciname()
|
||||
{
|
||||
_scratch_mkfs_xfs_supported -n version=ci >/dev/null 2>&1 \
|
||||
|| _notrun "need case-insensitive naming support in mkfs.xfs"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user