test: Shellcheck - apply rule SC2214
This case is not specified by getopts. Change-Id: Id292af4f926856af849d2f97fd0a570e4505832b Signed-off-by: Pawel Kaminski <pawelx.kaminski@intel.com> Reviewed-on: https://review.gerrithub.io/c/spdk/spdk/+/467288 Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by: Ben Walker <benjamin.walker@intel.com> Reviewed-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com>
This commit is contained in:
parent
1220a78c6e
commit
4c13df5116
@ -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.
|
||||
|
@ -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 ;;
|
||||
|
Loading…
Reference in New Issue
Block a user