1
0
mirror of git://sourceware.org/git/lvm2.git synced 2025-01-18 10:04:20 +03:00

tests: use get_devs

This commit is contained in:
Zdenek Kabelac 2017-07-15 00:13:33 +02:00
parent 413209f3f8
commit c64e2a85cb

View File

@ -23,11 +23,11 @@ aux lvmconf 'allocation/maximise_cling = 0' \
'activation/raid_fault_policy = "allocate"' 'activation/raid_fault_policy = "allocate"'
aux prepare_vg 8 80 aux prepare_vg 8 80
get_devs
function delay function delay
{ {
for d in $(< DEVICES) for d in "${DEVICES[@]}"; do
do
aux delay_dev "$d" 0 $1 "$(get first_extent_sector "$d")" aux delay_dev "$d" 0 $1 "$(get first_extent_sector "$d")"
done done
} }