From: Arshad Hussain Date: Wed, 9 Mar 2022 07:27:25 +0000 (+0530) Subject: LU-15626 tests: Fix "error" reported by shellcheck for sanity-dom X-Git-Tag: 2.15.0-RC3~16 X-Git-Url: https://git.whamcloud.com/?a=commitdiff_plain;h=0882c73b1d367ec133c2514d875e439fc9c14bc9;p=fs%2Flustre-release.git 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 --- 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}")"