master - tests: check for cache_version that supports v2
Gitweb: https://sourceware.org/git/?p=lvm2.git;a=commitdiff;h=8dea63d30fd336051ec549d96c70abef6a9bfdec Commit: 8dea63d30fd336051ec549d96c70abef6a9bfdec Parent: ce5ea07411d57a2bd276d8d29e46ce30b957f657 Author: Zdenek Kabelac <[email protected]> AuthorDate: Fri Sep 4 20:35:55 2020 +0200 Committer: Zdenek Kabelac <[email protected]> CommitterDate: Tue Sep 8 21:23:03 2020 +0200
tests: check for cache_version that supports v2
--- test/shell/cache-single-split.sh | 5 +++++ 1 file changed, 5 insertions(+)
test/shell/cache-single-split.sh +5 -0
@@ -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"