Skip to contentSkip to conversation

master - tests: properly enforce v1

PATCH Zdenek Kabelac 1 participant 1 message Oct 16, 2018

lore
Share & tools
lore
#0 lore raw
Gitweb:        https://sourceware.org/git/?p=lvm2.git;a=commitdiff;h=f1ac72c84804aa1c00aa385caec9eb007fd39aee
Commit:        f1ac72c84804aa1c00aa385caec9eb007fd39aee
Parent:        4db228b9079386b9e24e0389a080f86ac3008e69
Author:        Zdenek Kabelac <[email protected]>
AuthorDate:    Tue Oct 16 21:32:28 2018 +0200
Committer:     Zdenek Kabelac <[email protected]>
CommitterDate: Tue Oct 16 21:56:00 2018 +0200

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 files changed, 2 insertions(+), 2 deletions(-)
test/shell/lvcreate-cache-no-tools.sh +2 -2
index 23528e4..253c8a5 100644
@@ -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