Skip to contentSkip to conversation

master - tests: aux.sh add -r to read

PATCH Zdenek Kabelac 1 participant 1 message Jun 29, 2017

lore
Share & tools
lore
#0 lore raw
Gitweb:        https://sourceware.org/git/?p=lvm2.git;a=commitdiff;h=96fcf82dddd7bcc7b5c09de09d49d70a04ae8b12
Commit:        96fcf82dddd7bcc7b5c09de09d49d70a04ae8b12
Parent:        ec02307e952ef29d4a28fe134c807ac79a61908a
Author:        Zdenek Kabelac <[email protected]>
AuthorDate:    Thu Jun 29 20:50:06 2017 +0200
Committer:     Zdenek Kabelac <[email protected]>
CommitterDate: Thu Jun 29 22:23:17 2017 +0200

tests: aux.sh add -r to read

---
 test/lib/aux.sh |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
test/lib/aux.sh +1 -1
index 5e7340e..f39d400 100644
@@ -877,7 +877,7 @@ common_dev_() {
 	local pvdev
 	local offset
 
-	read pos size type pvdev offset < "$name.table"
+	read -r pos size type pvdev offset < "$name.table"
 
 	for fromlen in "${offsets[@]}"; do
 		from=${fromlen%%:*}