summaryrefslogtreecommitdiff
path: root/test/api
diff options
context:
space:
mode:
authorZdenek Kabelac <zkabelac@redhat.com>2017-07-12 13:50:25 +0200
committerZdenek Kabelac <zkabelac@redhat.com>2017-07-12 13:50:25 +0200
commit1daa1cc3a98b8812912875773ad3be1b9b173c4c (patch)
tree2ff7137d3071507d23f24c4a8326cf8b73c9dd0b /test/api
parent5a91b0a2e24dca07441aefb09fcaccaf98088a03 (diff)
downloadlvm2-1daa1cc3a98b8812912875773ad3be1b9b173c4c.tar.gz
tests: use properly quoted device list
Diffstat (limited to 'test/api')
-rw-r--r--test/api/percent.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/api/percent.sh b/test/api/percent.sh
index f25c441a0..32c089202 100644
--- a/test/api/percent.sh
+++ b/test/api/percent.sh
@@ -18,8 +18,9 @@ SKIP_WITH_LVMPOLLD=1
aux kernel_at_least 2 6 33 || skip
aux prepare_pvs 2
+get_devs
-vgcreate -s 4k $vg $(cat DEVICES)
+vgcreate -s 4k "$vg" "${DEVICES[@]}"
lvcreate -aey -l 5 -n foo $vg
lvcreate -s -n snap $vg/foo -l 3 -c 4k
lvcreate -s -n snap2 $vg/foo -l 6 -c 4k