From 0882c73b1d367ec133c2514d875e439fc9c14bc9 Mon Sep 17 00:00:00 2001 From: Arshad Hussain Date: Wed, 9 Mar 2022 12:57:25 +0530 Subject: [PATCH] LU-15626 tests: Fix "error" reported by shellcheck for sanity-dom This patch fixes "error" issues reported by shellcheck for file lustre/tests/sanity-dom.sh Test-Parameters: trivial testlist=sanity-dom Signed-off-by: Arshad Hussain Change-Id: I185622dcb30abbc43a2118cbfaa9c643f8ce52bc Reviewed-on: https://review.whamcloud.com/46796 Tested-by: jenkins Tested-by: Maloo Reviewed-by: Andreas Dilger Reviewed-by: Oleg Drokin --- lustre/tests/sanity-dom.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lustre/tests/sanity-dom.sh b/lustre/tests/sanity-dom.sh index 4fa9ce4..ad139f1 100644 --- a/lustre/tests/sanity-dom.sh +++ b/lustre/tests/sanity-dom.sh @@ -10,7 +10,7 @@ ONLY=${ONLY:-"$*"} LUSTRE=${LUSTRE:-$(dirname $0)/..} . $LUSTRE/tests/test-framework.sh -init_test_env $@ +init_test_env "$@" init_logging # bug number for skipped test: @@ -222,4 +222,4 @@ complete $SECONDS check_and_cleanup_lustre declare -a logs=($ONLY) logs=("${logs[@]/#/$TMP/}") -exit_status "$(echo ${logs[@]/%/.log})" +exit_status "$(echo "${logs[@]/%/.log}")" -- 1.8.3.1