From f1ac72c84804aa1c00aa385caec9eb007fd39aee Mon Sep 17 00:00:00 2001 From: Zdenek Kabelac Date: Tue, 16 Oct 2018 21:32:28 +0200 Subject: [PATCH] tests: properly enforce v1 Since with smq policy we can still pick format v2 - enforce format v1 explicitely. --- test/shell/lvcreate-cache-no-tools.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/shell/lvcreate-cache-no-tools.sh b/test/shell/lvcreate-cache-no-tools.sh index 23528e493..253c8a559 100644 --- a/test/shell/lvcreate-cache-no-tools.sh +++ b/test/shell/lvcreate-cache-no-tools.sh @@ -94,9 +94,9 @@ lvremove -f $vg fi +# Enforce older cache target format V1 +aux lvmconf 'allocation/cache_metadata_format = 1' -# On older cache target that supports only V1 format -aux lvmconf 'global/cache_disabled_features = [ "policy_smq" ]' rm -f fake-tool.sh lvcreate -aey -l1 -n $lv1 $vg -- 2.43.5