1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-21 13:34:40 +03:00

tests: check for cache_version that supports v2

This commit is contained in:
Zdenek Kabelac 2020-09-04 20:35:55 +02:00
parent ce5ea07411
commit 8dea63d30f

View File

@ -48,6 +48,11 @@ mount_umount()
aux have_cache 1 10 0 || skip
which mkfs.xfs || skip
case $(cache_check -V) in
# support for v2 starts with version 0.7
0.[0..6]*) skip 'At least version 0.7 of cache_check tool is needed.' ;;
esac
mount_dir="mnt"
mkdir -p "$mount_dir"