====== Checking before the patch ====== ====== Checking the tree with the patch ====== tools/testing/selftests/drivers/net/netcons_resume.sh is a new file, but not shellcheck compliant New errors added --- /tmp/tmp.U7DhneXRj0 2025-09-09 16:08:13.607447216 -0700 +++ /tmp/tmp.R9xDVemWDT 2025-09-09 16:08:14.465441480 -0700 @@ -10,0 +11,5 @@ + +In lib_netcons.sh line 370: + slowwait 2 sh -c 'test -n "$(grep '"'${ENABLED}'"' '"'${FILENAME}'"')"' || { + ^----------------^ SC2016 (info): Expressions don't expand in single quotes, use double quotes for that. + @@ -12,0 +18,24 @@ + https://www.shellcheck.net/wiki/SC2016 -- Expressions don't expand in singl... + +In netcons_resume.sh line 37: +set_network +^---------^ SC2119 (info): Use set_network "$@" if function's $1 should mean script's $1. + + +In netcons_resume.sh line 39: +create_dynamic_target +^-------------------^ SC2119 (info): Use create_dynamic_target "$@" if function's $1 should mean script's $1. + + +In netcons_resume.sh line 49: +set_network +^---------^ SC2119 (info): Use set_network "$@" if function's $1 should mean script's $1. + + +In netcons_resume.sh line 68: +exit "${ksft_pass}" + ^----------^ SC2154 (warning): ksft_pass is referenced but not assigned. + +For more information: + https://www.shellcheck.net/wiki/SC2154 -- ksft_pass is referenced but not a... + https://www.shellcheck.net/wiki/SC2119 -- Use create_dynamic_target "$@" if...