1
0
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:
Zdenek Kabelac 2023-10-04 22:14:13 +02:00
parent 470f1058a8
commit b80404f2c6

View File

@ -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"