test: Shellcheck - include check SC2142
Remove from shellcheck excluded SC2142: Aliases can't use positional parameters. Use a function. This warning is not actually present in any of spdk/spdk scripts. Signed-off-by: Maciej Wawryk <maciejx.wawryk@intel.com> Change-Id: I0af375c062724dc8fcee5a6cd4b8ac99bda260ac Reviewed-on: https://review.gerrithub.io/c/spdk/spdk/+/473292 Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by: Jim Harris <james.r.harris@intel.com> Reviewed-by: Tomasz Zawadzki <tomasz.zawadzki@intel.com> Reviewed-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com>
This commit is contained in:
parent
17b26b7690
commit
623203b373
@ -243,7 +243,7 @@ if hash shellcheck 2>/dev/null; then
|
||||
SHCK_EXCLUDE="SC1083,SC2002,\
|
||||
SC2010,SC2012,SC2016,SC2034,SC2045,SC2046,SC2068,SC2086,SC2089,SC2090,\
|
||||
SC2097,SC2098,SC2119,SC2120,SC2128,\
|
||||
SC2129,SC2142,SC2143"
|
||||
SC2129,SC2143"
|
||||
# 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.
|
||||
|
Loading…
Reference in New Issue
Block a user