summaryrefslogtreecommitdiff
path: root/test/shell/snapshot-lvm1.sh
diff options
context:
space:
mode:
authorZdenek Kabelac <zkabelac@redhat.com>2017-07-06 19:41:25 +0200
committerZdenek Kabelac <zkabelac@redhat.com>2017-07-10 14:23:53 +0200
commit160cb1e713d1b48f579c26d393e83ee0fd0e6e7d (patch)
tree271c7caedb671573e1a3957a2ab601d2e4a71bb5 /test/shell/snapshot-lvm1.sh
parente11de5847d8f367c6c07221db560d3c82371ed81 (diff)
downloadlvm2-160cb1e713d1b48f579c26d393e83ee0fd0e6e7d.tar.gz
tests: replace cat usage
Diffstat (limited to 'test/shell/snapshot-lvm1.sh')
-rw-r--r--test/shell/snapshot-lvm1.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/shell/snapshot-lvm1.sh b/test/shell/snapshot-lvm1.sh
index 3a078b58a..75c97cb8b 100644
--- a/test/shell/snapshot-lvm1.sh
+++ b/test/shell/snapshot-lvm1.sh
@@ -19,8 +19,9 @@ SKIP_WITH_LVMPOLLD=1
. lib/inittest
aux prepare_devs 2
+get_devs
-vgcreate --metadatatype 1 $vg $(cat DEVICES)
+vgcreate --metadatatype 1 "$vg" "${DEVICES[@]}"
# Make origin volume
lvcreate -ae -l5 $vg -n origin