From f724ce0caad92b469a7c5f51ecda2163006c5f9a Mon Sep 17 00:00:00 2001 From: Maciej Wawryk Date: Tue, 8 Oct 2019 10:58:51 +0200 Subject: [PATCH] test: Shellcheck - include check SC2031 Remove from shellcheck excluded SC2031: var was modified in a subshell. That change might be lost. This warning is not actually present in any of spdk/spdk scripts. Signed-off-by: Maciej Wawryk Change-Id: I17ec872ee5571089bbe40e8d51b06d70be70feb2 Reviewed-on: https://review.gerrithub.io/c/spdk/spdk/+/470729 Reviewed-by: Tomasz Zawadzki Reviewed-by: Jim Harris 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 3f51fe005..25023cd55 100755 --- a/scripts/check_format.sh +++ b/scripts/check_format.sh @@ -243,7 +243,7 @@ if hash shellcheck 2>/dev/null; then SHCK_EXCLUDE="SC1001,SC1003,SC1010,\ SC1083,SC1113,SC2001,SC2002,SC2003,SC2004,SC2005,\ SC2010,SC2012,SC2013,SC2016,\ -SC2031,SC2034,SC2035,SC2039,SC2043,SC2044,SC2045,SC2046,\ +SC2034,SC2035,SC2039,SC2043,SC2044,SC2045,SC2046,\ 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,\