mirror of
git://sourceware.org/git/lvm2.git
synced 2025-01-02 01:18:26 +03:00
Fix topology test after last changes to not leak loop devices.
This commit is contained in:
parent
5782a38543
commit
3014fad054
@ -68,7 +68,8 @@ prepare_scsi_debug_dev $DEV_SIZE \
|
|||||||
sector_size=$LOGICAL_BLOCK_SIZE physblk_exp=3
|
sector_size=$LOGICAL_BLOCK_SIZE physblk_exp=3
|
||||||
check_logical_block_size $SCSI_DEBUG_DEV $LOGICAL_BLOCK_SIZE
|
check_logical_block_size $SCSI_DEBUG_DEV $LOGICAL_BLOCK_SIZE
|
||||||
|
|
||||||
aux prepare_vg $NUM_DEVS $PER_DEV_SIZE
|
aux prepare_pvs $NUM_DEVS $PER_DEV_SIZE
|
||||||
|
vgcreate -c n $vg $devs
|
||||||
test_snapshot_mount
|
test_snapshot_mount
|
||||||
vgremove $vg
|
vgremove $vg
|
||||||
|
|
||||||
@ -82,7 +83,8 @@ prepare_scsi_debug_dev $DEV_SIZE \
|
|||||||
sector_size=$LOGICAL_BLOCK_SIZE physblk_exp=3 lowest_aligned=7
|
sector_size=$LOGICAL_BLOCK_SIZE physblk_exp=3 lowest_aligned=7
|
||||||
check_logical_block_size $SCSI_DEBUG_DEV $LOGICAL_BLOCK_SIZE
|
check_logical_block_size $SCSI_DEBUG_DEV $LOGICAL_BLOCK_SIZE
|
||||||
|
|
||||||
aux prepare_vg $NUM_DEVS $PER_DEV_SIZE
|
aux prepare_pvs $NUM_DEVS $PER_DEV_SIZE
|
||||||
|
vgcreate -c n $vg $devs
|
||||||
test_snapshot_mount
|
test_snapshot_mount
|
||||||
vgremove $vg
|
vgremove $vg
|
||||||
|
|
||||||
@ -96,6 +98,7 @@ prepare_scsi_debug_dev $DEV_SIZE \
|
|||||||
sector_size=$LOGICAL_BLOCK_SIZE
|
sector_size=$LOGICAL_BLOCK_SIZE
|
||||||
check_logical_block_size $SCSI_DEBUG_DEV $LOGICAL_BLOCK_SIZE
|
check_logical_block_size $SCSI_DEBUG_DEV $LOGICAL_BLOCK_SIZE
|
||||||
|
|
||||||
aux prepare_vg $NUM_DEVS $PER_DEV_SIZE
|
aux prepare_pvs $NUM_DEVS $PER_DEV_SIZE
|
||||||
|
vgcreate -c n $vg $devs
|
||||||
test_snapshot_mount
|
test_snapshot_mount
|
||||||
vgremove $vg
|
vgremove $vg
|
||||||
|
Loading…
Reference in New Issue
Block a user