Skip to contentSkip to conversation

master - tests: add lvchange cachemode passthrough in cache-single-options

PATCH David Teigland 1 participant 1 message Nov 8, 2018

lore
Share & tools
lore
#0 lore raw
Gitweb:        https://sourceware.org/git/?p=lvm2.git;a=commitdiff;h=025332edc2c608e5892af373ebb764ac8ec5d8be
Commit:        025332edc2c608e5892af373ebb764ac8ec5d8be
Parent:        8794fb71dbc3db8bebf133e6048bcd6ffdad7568
Author:        David Teigland <[email protected]>
AuthorDate:    Thu Nov 8 10:08:38 2018 -0600
Committer:     David Teigland <[email protected]>
CommitterDate: Thu Nov 8 10:08:38 2018 -0600

tests: add lvchange cachemode passthrough in cache-single-options

---
 test/shell/cache-single-options.sh |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)
test/shell/cache-single-options.sh +4 -0
index 62cfeaf..d9e7e01 100644
@@ -236,6 +236,10 @@ lvchange --cachemode writethrough $vg/$lv1
 
 check lv_field $vg/$lv1 cachemode "writethrough"
 
+lvchange --cachemode passthrough $vg/$lv1
+
+check lv_field $vg/$lv1 cachemode "passthrough"
+
 lvchange -an $vg/$lv1
 
 lvchange --cachepolicy mq --cachesettings 'migration_threshold=100' $vg/$lv1