[lvm-devel] stable-2.02 - tests: split args

Zdenek Kabelac zkabelac at sourceware.org
Fri Jul 5 23:26:35 UTC 2019


Gitweb:        https://sourceware.org/git/?p=lvm2.git;a=commitdiff;h=143aca25daa2303a9494bace28262e64bd77698d
Commit:        143aca25daa2303a9494bace28262e64bd77698d
Parent:        1e9c409a3eef3c18f97b70a3d679ea24a2458886
Author:        Zdenek Kabelac <zkabelac at redhat.com>
AuthorDate:    Mon May 6 13:02:45 2019 +0200
Committer:     Zdenek Kabelac <zkabelac at redhat.com>
CommitterDate: Sat Jul 6 01:24:28 2019 +0200

tests: split args

Here we want args to be splited into individual strings.
---
 test/shell/fsadm-crypt.sh |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/test/shell/fsadm-crypt.sh b/test/shell/fsadm-crypt.sh
index 9c85edf..68fed95 100644
--- a/test/shell/fsadm-crypt.sh
+++ b/test/shell/fsadm-crypt.sh
@@ -137,7 +137,7 @@ get_crypt_kname() {
 # $1 device
 # $2 pass
 crypt_format() {
-	echo "$2" | cryptsetup luksFormat "$FORMAT_PARAMS" "$1"
+	echo "$2" | cryptsetup luksFormat $FORMAT_PARAMS "$1"
 }
 
 




More information about the lvm-devel mailing list