mirror of
git://sourceware.org/git/lvm2.git
synced 2025-03-10 16:58:47 +03:00
tests: replace invalid use of 'fail' with 'die'
This commit is contained in:
parent
f104a81932
commit
bca55c9b20
@ -317,7 +317,7 @@ lvremove -ff $vg
|
||||
# to get synced
|
||||
lvcreate -l2 -n $lv1 $vg
|
||||
lvconvert --type mirror -i1 -m1 $vg/$lv1 | tee out
|
||||
grep -e "$vg/$lv1: Converted:" out || fail "Missing sync info in foreground mode"
|
||||
grep -e "$vg/$lv1: Converted:" out || die "Missing sync info in foreground mode"
|
||||
lvremove -ff $vg
|
||||
|
||||
vgremove -ff $vg
|
||||
|
Loading…
x
Reference in New Issue
Block a user