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.mO6oCpG9TY and /tmp/tmp.orGXkCcpGN Tree base: 1136aae76314 ("net: netdevsim: Add PHY support in netdevsim") Now at: 1015361783c0 ("selftests: ethtool: Drop the unused old_netdevs variable") ====== Checking before the patch ====== Checking tools/testing/selftests/drivers/net/netdevsim/ethtool-common.sh - 96396ff6ab6bdd3c996088938f8cfa96ad87ac1a24714cc19d3162809b71da2e In ethtool-common.sh line 31: if [ $code $cop 0 ]; then ^-- SC1009 (info): The mentioned syntax error was in this if expression. ^-- SC1073 (error): Couldn't parse this test expression. Fix to allow more checks. ^-- SC1072 (error): Expected test to end here (don't wrap commands in []/[[]]). Fix any mentioned problems and try again. For more information: https://www.shellcheck.net/wiki/SC1072 -- Expected test to end here (don't ... https://www.shellcheck.net/wiki/SC1073 -- Couldn't parse this test expressi... https://www.shellcheck.net/wiki/SC1009 -- The mentioned syntax error was in... ====== Checking the tree with the patch ====== Checking tools/testing/selftests/drivers/net/netdevsim/ethtool-common.sh - 96396ff6ab6bdd3c996088938f8cfa96ad87ac1a24714cc19d3162809b71da2e In ethtool-common.sh line 31: if [ $code $cop 0 ]; then ^-- SC1009 (info): The mentioned syntax error was in this if expression. ^-- SC1073 (error): Couldn't parse this test expression. Fix to allow more checks. ^-- SC1072 (error): Expected test to end here (don't wrap commands in []/[[]]). Fix any mentioned problems and try again. For more information: https://www.shellcheck.net/wiki/SC1072 -- Expected test to end here (don't ... https://www.shellcheck.net/wiki/SC1073 -- Couldn't parse this test expressi... https://www.shellcheck.net/wiki/SC1009 -- The mentioned syntax error was in...