1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-30 17:18:21 +03:00

tests: correcting test for invalid commnad

Correting typo in specification of create --typo.
Also removing some unnecessary parts...
This commit is contained in:
Zdenek Kabelac 2024-04-26 19:55:47 +02:00
parent 95fca3d1d5
commit 82c062be74

View File

@ -18,19 +18,13 @@ export LVM_TEST_THIN_REPAIR_CMD=${LVM_TEST_THIN_REPAIR_CMD-/bin/false}
. lib/inittest
aux have_thin 1 0 0 || skip
aux have_vdo 6 2 0 || skip
#
# Main
#
aux have_thin 1 0 0 || skip
aux have_vdo 6 2 0 || skip
which mkfs.ext4 || skip
aux prepare_pvs 2 6400
get_devs
vgcreate $SHARED -s 64K "$vg" "${DEVICES[@]}"
aux prepare_vg 2 6400
# convert to thin-pool with VDO backend from existing VDO VG/LV
lvcreate --type thin-pool -L5G --pooldatavdo y --name $lv1 $vg
@ -42,7 +36,7 @@ lvremove -f $vg
# cannot create thin as thin-pool tupe
invalid lvcreate --type-pool thin -L5G --pooldatavdo y -V20 $vg/pool
invalid lvcreate --type thin-pool -L5G --pooldatavdo y -V20 $vg/pool
# try to create VDO _tdata without deduplication