Commit 4c13df51 authored by Pawel Kaminski's avatar Pawel Kaminski Committed by Jim Harris
Browse files

test: Shellcheck - apply rule SC2214



This case is not specified by getopts.

Change-Id: Id292af4f926856af849d2f97fd0a570e4505832b
Signed-off-by: default avatarPawel Kaminski <pawelx.kaminski@intel.com>
Reviewed-on: https://review.gerrithub.io/c/spdk/spdk/+/467288


Tested-by: default avatarSPDK CI Jenkins <sys_sgci@intel.com>
Reviewed-by: default avatarBen Walker <benjamin.walker@intel.com>
Reviewed-by: default avatarShuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com>
parent 1220a78c
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -248,7 +248,7 @@ SC2068,SC2086,SC2089,SC2090,\
SC2097,SC2098,SC2103,SC2115,SC2116,SC2119,SC2120,SC2121,SC2124,SC2126,SC2128,\
SC2129,SC2140,SC2142,SC2143,SC2145,SC2146,SC2148,SC2152,SC2153,SC2154,SC2155,\
SC2162,SC2164,SC2165,SC2166,SC2167,SC2174,\
SC2206,SC2207,SC2214,SC2223,SC2230,SC2231"
SC2206,SC2207,SC2223,SC2230,SC2231"
	# SPDK fails some error checks which have been deprecated in later versions of shellcheck.
	# We will not try to fix these error checks, but instead just leave the error types here
	# so that we can still run with older versions of shellcheck.
+1 −1
Original line number Diff line number Diff line
@@ -47,7 +47,7 @@ function create_json_config()

uuid=00000000-0000-0000-0000-000000000000

while getopts "ja:n:l:m:u:c:" arg; do
while getopts "ja:n:l:m:u:c:h" arg; do
	case "$arg" in
		j)	json=1		;;
		a)	addr=$OPTARG	;;