From 2fec3037b2d0443708e27e10319de74ff5d37b27 Mon Sep 17 00:00:00 2001 From: Maciej Wawryk Date: Wed, 2 Oct 2019 12:53:24 +0200 Subject: [PATCH] test: Shellcheck - include check SC2015 Remove from shellcheck excluded SC2015: Note that A && B || C is not if-then-else. C may run when A is true. This warning is not actually present in any of spdk/spdk scripts. Signed-off-by: Maciej Wawryk Change-Id: Ie8ac6c83dc2d79a06e3b8ebb6ec8ebfec4fa7561 Reviewed-on: https://review.gerrithub.io/c/spdk/spdk/+/470129 Reviewed-by: Jim Harris Reviewed-by: Ben Walker Reviewed-by: Karol Latecki Reviewed-by: Darek Stojaczyk Tested-by: SPDK CI Jenkins --- scripts/check_format.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/check_format.sh b/scripts/check_format.sh index ae2426947..c81bd043f 100755 --- a/scripts/check_format.sh +++ b/scripts/check_format.sh @@ -242,7 +242,7 @@ if hash shellcheck 2>/dev/null; then # This SHCK_EXCLUDE list is out "to do" and we work to fix all of this errors. SHCK_EXCLUDE="SC1001,SC1003,SC1010,\ SC1083,SC1113,SC2001,SC2002,SC2003,SC2004,SC2005,\ -SC2010,SC2012,SC2013,SC2015,SC2016,\ +SC2010,SC2012,SC2013,SC2016,\ SC2027,SC2030,SC2031,SC2034,SC2035,SC2039,SC2043,SC2044,SC2045,SC2046,\ SC2068,SC2086,SC2089,SC2090,\ SC2097,SC2098,SC2103,SC2115,SC2116,SC2119,SC2120,SC2121,SC2124,SC2126,SC2128,\