ShellCheck - shell script analysis tool version: 0.11.0 license: GNU General Public License, version 3 website: https://www.shellcheck.net Redirect to /tmp/tmp.BVmGkJMbcr and /tmp/tmp.YWhzDVM8qP Tree base: 8f921f610054 ("netlink: update outdated comment") Now at: 3838b76bca41 ("selftests: net: add netem qdisc test") ====== Checking before the patch ====== ====== Checking the tree with the patch ====== Checking tools/testing/selftests/net/netem.sh - 1de66f1e487ec02102928495df116ae7336a113fadf615c1514acf94b774cc0e In netem.sh line 62: if [ $? -ne 0 ]; then ^-- SC2181 (style): Check exit code directly with e.g. 'if ! mycmd;', not indirectly with $?. In netem.sh line 128: $ksft_skip) ^--------^ SC2254 (warning): Quote expansions in case patterns to match literally rather than as a glob. In netem.sh line 140: run_cmd() ^-- SC2329 (info): This function is never invoked. Check usage (or ignored if invoked indirectly). In netem.sh line 384: if [ $? -ne 0 ]; then ^-- SC2181 (style): Check exit code directly with e.g. 'if ! mycmd;', not indirectly with $?. In netem.sh line 418: if [ $? -ne 0 ]; then ^-- SC2181 (style): Check exit code directly with e.g. 'if ! mycmd;', not indirectly with $?. In netem.sh line 475: if [ $? -ne 0 ]; then ^-- SC2181 (style): Check exit code directly with e.g. 'if ! mycmd;', not indirectly with $?. In netem.sh line 712: if [ $? -ne 0 ]; then ^-- SC2181 (style): Check exit code directly with e.g. 'if ! mycmd;', not indirectly with $?. In netem.sh line 753: if [ $? -ne 0 ]; then ^-- SC2181 (style): Check exit code directly with e.g. 'if ! mycmd;', not indirectly with $?. For more information: https://www.shellcheck.net/wiki/SC2254 -- Quote expansions in case patterns... https://www.shellcheck.net/wiki/SC2329 -- This function is never invoked. C... https://www.shellcheck.net/wiki/SC2181 -- Check exit code directly with e.g...