ShellCheck - shell script analysis tool version: 0.10.0 license: GNU General Public License, version 3 website: https://www.shellcheck.net Redirect to /tmp/tmp.4h5ORv6Tam and /tmp/tmp.AgHYSb0voM Tree base: c873239fc73f ("sched: Add enqueue/dequeue of dualpi2 qdisc") Now at: 2c639f3ff962 ("selftests/tc-testing: Fix warning and style check on tdc.sh") ====== Checking before the patch ====== Checking tools/testing/selftests/tc-testing/tdc.sh - 602b16b107427091f2848fe8e3588d6a2c04584decb8ca60ec260ea130880a7f In tdc.sh line 8: if [ $? -ne 0 ]; then ^-- SC2181 (style): Check exit code directly with e.g. 'if ! mycmd;', not indirectly with $?. In tdc.sh line 70: ./tdc.py -J`nproc` ^-----^ SC2046 (warning): Quote this to prevent word splitting. ^-----^ SC2006 (style): Use $(...) notation instead of legacy backticks `...`. Did you mean: ./tdc.py -J$(nproc) For more information: https://www.shellcheck.net/wiki/SC2046 -- Quote this to prevent word splitt... https://www.shellcheck.net/wiki/SC2006 -- Use $(...) notation instead of le... https://www.shellcheck.net/wiki/SC2181 -- Check exit code directly with e.g... ====== Checking the tree with the patch ====== Checking tools/testing/selftests/tc-testing/tdc.sh - 602b16b107427091f2848fe8e3588d6a2c04584decb8ca60ec260ea130880a7f tools/testing/selftests/tc-testing/tdc.sh is shellcheck compliant