From 3369105f31990fc803c8cab0b6488ed96f03c000 Mon Sep 17 00:00:00 2001 From: Seth Howell Date: Fri, 6 Dec 2019 10:57:09 -0700 Subject: [PATCH] test/lvol: fix shellcheck failures on master. Change-Id: Ia3dd62384a34564092b352487042a1eb2908f9fc Signed-off-by: Seth Howell Reviewed-on: https://review.gerrithub.io/c/spdk/spdk/+/477079 Tested-by: SPDK CI Jenkins Reviewed-by: Jim Harris --- test/lvol/common.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/lvol/common.sh b/test/lvol/common.sh index 6bf4c842c..058be9888 100644 --- a/test/lvol/common.sh +++ b/test/lvol/common.sh @@ -7,11 +7,11 @@ LVS_DEFAULT_CAPACITY_MB=$(( MALLOC_SIZE_MB - LVS_DEFAULT_CLUSTER_SIZE_MB )) LVS_DEFAULT_CAPACITY=$(( LVS_DEFAULT_CAPACITY_MB * 1024 * 1024 )) function rpc_cmd() { - $rootdir/scripts/rpc.py $@ + $rootdir/scripts/rpc.py "$@" } function run_lvol_test() { - run_test suite $@ + run_test suite "$@" leftover_bdevs=$(rpc_cmd bdev_get_bdevs) [ "$(jq length <<< "$leftover_bdevs")" == "0" ]