]> sourceware.org Git - lvm2.git/commitdiff
tests: use get_devs
authorZdenek Kabelac <zkabelac@redhat.com>
Fri, 14 Jul 2017 22:13:33 +0000 (00:13 +0200)
committerZdenek Kabelac <zkabelac@redhat.com>
Fri, 14 Jul 2017 22:13:33 +0000 (00:13 +0200)
test/shell/lvconvert-repair-raid.sh

index 93b7db259f29b9d3f97535932a064a31a676113e..c866455ddfa49ee167da7bb07405e4ac88396c77 100644 (file)
@@ -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
 }
This page took 0.04085 seconds and 5 git commands to generate.