diff options
author | Zdenek Kabelac <zkabelac@redhat.com> | 2019-10-13 00:02:58 +0200 |
---|---|---|
committer | Zdenek Kabelac <zkabelac@redhat.com> | 2019-10-14 15:20:25 +0200 |
commit | 6666c3934631eddebe0c00125d9df8517bc3da9a (patch) | |
tree | e21df24cb73acfbb9c8362739eb9a5adf9a9b49e | |
parent | c70bab75311def1a52a42a109737184e1982949c (diff) | |
download | lvm2-6666c3934631eddebe0c00125d9df8517bc3da9a.tar.gz |
tests: cvol
-rw-r--r-- | test/shell/cache-single-types.sh | 2 | ||||
-rw-r--r-- | test/shell/cache-single-usage.sh | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/test/shell/cache-single-types.sh b/test/shell/cache-single-types.sh index 34a799abb..85582420d 100644 --- a/test/shell/cache-single-types.sh +++ b/test/shell/cache-single-types.sh @@ -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 diff --git a/test/shell/cache-single-usage.sh b/test/shell/cache-single-usage.sh index 4896d7ab6..a885bf793 100644 --- a/test/shell/cache-single-usage.sh +++ b/test/shell/cache-single-usage.sh @@ -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 |