Skip to contentSkip to conversation

master - tests: use read -r

PATCH Zdenek Kabelac 1 participant 1 message Jul 10, 2017

lore
Share & tools
lore
#0 lore raw
Gitweb:        https://sourceware.org/git/?p=lvm2.git;a=commitdiff;h=74ef5f07d0940a1ce784d569ce7d0bbeef74db87
Commit:        74ef5f07d0940a1ce784d569ce7d0bbeef74db87
Parent:        7a8f87d28b3ccd3fc4890606c3edf83896d6624e
Author:        Zdenek Kabelac <[email protected]>
AuthorDate:    Mon Jul 10 10:39:18 2017 +0200
Committer:     Zdenek Kabelac <[email protected]>
CommitterDate: Mon Jul 10 14:23:53 2017 +0200

tests: use read -r

---
 test/shell/clvmd-restart.sh |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
test/shell/clvmd-restart.sh +1 -1
index e3c9d5f..7e3257a 100644
@@ -21,7 +21,7 @@ SKIP_WITH_LVMPOLLD=1
 . lib/inittest
 
 # only clvmd based test, skip otherwise
-read LOCAL_CLVMD < LOCAL_CLVMD
+read -r LOCAL_CLVMD < LOCAL_CLVMD
 
 # TODO read from build, for now hardcoded
 CLVMD_SOCKET="/var/run/lvm/clvmd.sock"