summaryrefslogtreecommitdiff
path: root/test/shell/lvcreate-thin-big.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/lvcreate-thin-big.sh
parente11de5847d8f367c6c07221db560d3c82371ed81 (diff)
downloadlvm2-160cb1e713d1b48f579c26d393e83ee0fd0e6e7d.tar.gz
tests: replace cat usage
Diffstat (limited to 'test/shell/lvcreate-thin-big.sh')
-rw-r--r--test/shell/lvcreate-thin-big.sh4
1 files changed, 3 insertions, 1 deletions
diff --git a/test/shell/lvcreate-thin-big.sh b/test/shell/lvcreate-thin-big.sh
index c6c4a19e5..46e017a0f 100644
--- a/test/shell/lvcreate-thin-big.sh
+++ b/test/shell/lvcreate-thin-big.sh
@@ -25,7 +25,9 @@ aux have_thin 1 0 0 || skip
# Test --poolmetadatasize range
# allocating large devices for testing
aux prepare_pvs 10 16500
-vgcreate $vg -s 64K $(cat DEVICES)
+get_devs
+
+vgcreate -s 64K "$vg" "${DEVICES[@]}"
# Size 0 is not valid
invalid lvcreate -L4M --chunksize 128 --poolmetadatasize 0 -T $vg/pool1 2>out