From c64e2a85cb1c76413cf2eee49873bfb9ee24393f Mon Sep 17 00:00:00 2001 From: Zdenek Kabelac Date: Sat, 15 Jul 2017 00:13:33 +0200 Subject: [PATCH] tests: use get_devs --- test/shell/lvconvert-repair-raid.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/shell/lvconvert-repair-raid.sh b/test/shell/lvconvert-repair-raid.sh index 93b7db259..c866455dd 100644 --- a/test/shell/lvconvert-repair-raid.sh +++ b/test/shell/lvconvert-repair-raid.sh @@ -23,11 +23,11 @@ aux lvmconf 'allocation/maximise_cling = 0' \ 'activation/raid_fault_policy = "allocate"' aux prepare_vg 8 80 +get_devs function delay { - for d in $(< DEVICES) - do + for d in "${DEVICES[@]}"; do aux delay_dev "$d" 0 $1 "$(get first_extent_sector "$d")" done } -- 2.43.5