mirror of
git://sourceware.org/git/lvm2.git
synced 2025-01-03 05:18:29 +03:00
tests: check for cache_version that supports v2
This commit is contained in:
parent
ce5ea07411
commit
8dea63d30f
@ -48,6 +48,11 @@ mount_umount()
|
|||||||
aux have_cache 1 10 0 || skip
|
aux have_cache 1 10 0 || skip
|
||||||
which mkfs.xfs || 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"
|
mount_dir="mnt"
|
||||||
mkdir -p "$mount_dir"
|
mkdir -p "$mount_dir"
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user