Skip to contentSkip to conversation

master - tests: cvol

PATCH Zdenek Kabelac 1 participant 1 message Oct 14, 2019

lore
Share & tools
lore
#0 lore raw
Gitweb:        https://sourceware.org/git/?p=lvm2.git;a=commitdiff;h=6666c3934631eddebe0c00125d9df8517bc3da9a
Commit:        6666c3934631eddebe0c00125d9df8517bc3da9a
Parent:        c70bab75311def1a52a42a109737184e1982949c
Author:        Zdenek Kabelac <[email protected]>
AuthorDate:    Sun Oct 13 00:02:58 2019 +0200
Committer:     Zdenek Kabelac <[email protected]>
CommitterDate: Mon Oct 14 15:20:25 2019 +0200

tests: cvol

---
 test/shell/cache-single-types.sh |    2 +-
 test/shell/cache-single-usage.sh |    4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)
test/shell/cache-single-types.sh +1 -1
index 34a799a..8558242 100644
@@ -49,7 +49,7 @@ lvconvert -y --type cache --cachevol $lv2 $vg/$lv1
 
 check lv_field $vg/$lv1 segtype cache
 
-lvs -a $vg/$lv2 --noheadings -o segtype >out
+lvs -a $vg/${lv2}_cvol --noheadings -o segtype >out
 grep raid1 out
 
 lvchange -ay $vg/$lv1
test/shell/cache-single-usage.sh +2 -2
index 4896d7a..a885bf7 100644
@@ -52,7 +52,7 @@ lvconvert -y --type cache --cachevol $lv2 $vg/$lv1
 
 check lv_field $vg/$lv1 segtype cache
 
-lvs -a $vg/$lv2 --noheadings -o segtype >out
+lvs -a $vg/${lv2}_cvol --noheadings -o segtype >out
 grep linear out
 
 lvchange -ay $vg/$lv1
@@ -94,7 +94,7 @@ lvconvert -y --type cache --cachevol $lv2 $vg/$lv1
 
 check lv_field $vg/$lv1 segtype cache
 
-lvs -a $vg/$lv2 --noheadings -o segtype >out
+lvs -a $vg/${lv2}_cvol --noheadings -o segtype >out
 grep linear out
 
 lvchange -ay $vg/$lv1