[lvm-devel] master - tests: check for cvol

Zdenek Kabelac zkabelac at sourceware.org
Sat Sep 19 22:38:59 UTC 2020


Gitweb:        https://sourceware.org/git/?p=lvm2.git;a=commitdiff;h=e556c7b7c641c78f7bdd94120d6e79860a6220aa
Commit:        e556c7b7c641c78f7bdd94120d6e79860a6220aa
Parent:        6c769eb460c70556ba4bf2b3e6801fc846b2d4dd
Author:        Zdenek Kabelac <zkabelac at redhat.com>
AuthorDate:    Sat Sep 19 23:02:17 2020 +0200
Committer:     Zdenek Kabelac <zkabelac at redhat.com>
CommitterDate: Sat Sep 19 23:02:17 2020 +0200

tests: check for cvol

Check for cvol.
Add check for cmeta.
---
 test/shell/integrity.sh | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/test/shell/integrity.sh b/test/shell/integrity.sh
index be435976e..1f031e0ed 100644
--- a/test/shell/integrity.sh
+++ b/test/shell/integrity.sh
@@ -782,7 +782,7 @@ lvcreate --type raid1 -m1 -n $lv1 -l 8 $vg
 lvcreate --type raid1 -m1 -n $lv2 -l 8 $vg
 lvconvert -y --type cache --cachevol $lv2 $vg/$lv1
 not lvconvert --raidintegrity y $vg/${lv1}_corig
-not lvconvert --raidintegrity y $vg/${lv2}_vol
+not lvconvert --raidintegrity y $vg/${lv2}_cvol
 lvremove -y $vg/$lv1
 
 lvcreate --type raid1 -m1 -n $lv1 -l 8 $vg
@@ -790,6 +790,7 @@ lvcreate --type raid1 -m1 -n $lv2 -l 8 $vg
 lvconvert -y --type cache --cachepool $lv2 $vg/$lv1
 not lvconvert --raidintegrity y $vg/${lv1}_corig
 not lvconvert --raidintegrity y $vg/${lv2}_cpool_cdata
+not lvconvert --raidintegrity y $vg/${lv2}_cpool_cmeta
 lvremove -y $vg/$lv1
 
 # cannot add integrity to raid that has a snapshot




More information about the lvm-devel mailing list