mirror of
git://sourceware.org/git/lvm2.git
synced 2024-12-21 13:34:40 +03:00
tests: utils use read without slash mangling
Do not use backslash as escape character for path.
This commit is contained in:
parent
470f1058a8
commit
b80404f2c6
@ -285,7 +285,7 @@ prepare_test_vars() {
|
||||
|
||||
if test -n "$LVM_TEST_DEVICE_LIST"; then
|
||||
local count=0
|
||||
while read path; do
|
||||
while read -r path; do
|
||||
count=$(( count + 1 ))
|
||||
eval "dev$count=\"$path\""
|
||||
done < "$LVM_TEST_DEVICE_LIST"
|
||||
|
Loading…
Reference in New Issue
Block a user