1
0
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:
Ondrej Kozina 2015-10-29 13:30:29 +01:00
parent f104a81932
commit bca55c9b20

View File

@ -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