From f161c6ee9fad4d2ddefb97d4837d29360e5bc280 Mon Sep 17 00:00:00 2001 From: Zdenek Kabelac Date: Fri, 7 Jul 2017 12:12:24 +0200 Subject: [PATCH] tests: assign as string Assigning an array to a string! Assign as array, or use * instead of @ to concatenate. --- test/shell/vgsplit-operation.sh | 2 +- test/shell/vgsplit-raid.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/test/shell/vgsplit-operation.sh b/test/shell/vgsplit-operation.sh index 5dff173dd..2ec140b5b 100644 --- a/test/shell/vgsplit-operation.sh +++ b/test/shell/vgsplit-operation.sh @@ -21,7 +21,7 @@ export LVM_TEST_LVMETAD_DEBUG_OPTS=${LVM_TEST_LVMETAD_DEBUG_OPTS-} . lib/inittest COMM() { - LAST_TEST="$@" + LAST_TEST="$*" } create_vg_() { diff --git a/test/shell/vgsplit-raid.sh b/test/shell/vgsplit-raid.sh index dc2ef5af0..08e2a8ecc 100644 --- a/test/shell/vgsplit-raid.sh +++ b/test/shell/vgsplit-raid.sh @@ -17,7 +17,7 @@ SKIP_WITH_LVMPOLLD=1 . lib/inittest COMM() { - LAST_TEST="$@" + LAST_TEST="$*" } create_vg_() { -- 2.43.5