diff --git a/scripts/check_format.sh b/scripts/check_format.sh index 099b7bcf6..17c0ac815 100755 --- a/scripts/check_format.sh +++ b/scripts/check_format.sh @@ -240,7 +240,7 @@ if hash shellcheck 2>/dev/null; then # go to: https://trello.com/c/29Z90j1W # Error descriptions can also be found at: https://github.com/koalaman/shellcheck/wiki # This SHCK_EXCLUDE list is out "to do" and we work to fix all of this errors. - SHCK_EXCLUDE="SC1001,SC1003,SC1010,\ + SHCK_EXCLUDE="SC1001,SC1003,\ SC1083,SC1113,SC2001,SC2002,SC2003,SC2004,SC2005,\ SC2010,SC2012,SC2013,SC2016,\ SC2034,SC2043,SC2044,SC2045,SC2046,\ diff --git a/test/iscsi_tgt/common.sh b/test/iscsi_tgt/common.sh index ab42f73e2..e57b211f3 100644 --- a/test/iscsi_tgt/common.sh +++ b/test/iscsi_tgt/common.sh @@ -176,6 +176,8 @@ function start_vpp() { ip addr show $INITIATOR_INTERFACE ip netns exec $TARGET_NAMESPACE ip addr show $TARGET_INTERFACE sleep 3 + # SC1010: ping -M do - in this case do is an option not bash special word + # shellcheck disable=SC1010 ping -c 1 $TARGET_IP -s $(( $MTU - 28 )) -M do vppctl ping $INITIATOR_IP repeat 1 size $(( $MTU - (28 + 8) )) verbose }