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.01qzUHtgdc and /tmp/tmp.soUYd169Li Tree base: cd48ab05516c ("seg6: add SRv6 L2 tunnel device (srl2)") Now at: 8382483f0840 ("selftests: seg6: add SRv6 srl2 + End.DT2U L2 VPN test") ====== Checking before the patch ====== ====== Checking the tree with the patch ====== Checking tools/testing/selftests/net/srv6_srl2_l2vpn_test.sh - fefe5d5117507857540b0186d04d872e6e9481212cef167c7112ec9c86039944 In srv6_srl2_l2vpn_test.sh line 123: read a ^--^ SC2162 (info): read without -r will mangle backslashes. In srv6_srl2_l2vpn_test.sh line 209: eval nsname=\${$(get_rtname "${rt}")} ^-- SC1083 (warning): This { is literal. Check expression (missing ;/\n?) or quote it. ^-------------------^ SC2046 (warning): Quote this to prevent word splitting. ^-- SC1083 (warning): This } is literal. Check expression (missing ;/\n?) or quote it. In srv6_srl2_l2vpn_test.sh line 212: eval neigh_nsname=\${$(get_rtname "${neigh}")} ^-- SC1083 (warning): This { is literal. Check expression (missing ;/\n?) or quote it. ^----------------------^ SC2046 (warning): Quote this to prevent word splitting. ^-- SC1083 (warning): This } is literal. Check expression (missing ;/\n?) or quote it. In srv6_srl2_l2vpn_test.sh line 243: eval nsname=\${$(get_rtname "${rt}")} ^-- SC1083 (warning): This { is literal. Check expression (missing ;/\n?) or quote it. ^-------------------^ SC2046 (warning): Quote this to prevent word splitting. ^-- SC1083 (warning): This } is literal. Check expression (missing ;/\n?) or quote it. In srv6_srl2_l2vpn_test.sh line 276: eval nsname=\${$(get_rtname "${rt}")} ^-- SC1083 (warning): This { is literal. Check expression (missing ;/\n?) or quote it. ^-------------------^ SC2046 (warning): Quote this to prevent word splitting. ^-- SC1083 (warning): This } is literal. Check expression (missing ;/\n?) or quote it. In srv6_srl2_l2vpn_test.sh line 314: eval hsname=\${$(get_hsname "${hs}")} ^-- SC1083 (warning): This { is literal. Check expression (missing ;/\n?) or quote it. ^-------------------^ SC2046 (warning): Quote this to prevent word splitting. ^-- SC1083 (warning): This } is literal. Check expression (missing ;/\n?) or quote it. In srv6_srl2_l2vpn_test.sh line 315: eval rtname=\${$(get_rtname "${rt}")} ^-- SC1083 (warning): This { is literal. Check expression (missing ;/\n?) or quote it. ^-------------------^ SC2046 (warning): Quote this to prevent word splitting. ^-- SC1083 (warning): This } is literal. Check expression (missing ;/\n?) or quote it. In srv6_srl2_l2vpn_test.sh line 348: eval nsname=\${$(get_rtname "${rt}")} ^-- SC1083 (warning): This { is literal. Check expression (missing ;/\n?) or quote it. ^-------------------^ SC2046 (warning): Quote this to prevent word splitting. ^-- SC1083 (warning): This } is literal. Check expression (missing ;/\n?) or quote it. In srv6_srl2_l2vpn_test.sh line 420: eval rtsrc_nsname=\${$(get_rtname "${rtsrc}")} ^-- SC1083 (warning): This { is literal. Check expression (missing ;/\n?) or quote it. ^----------------------^ SC2046 (warning): Quote this to prevent word splitting. ^-- SC1083 (warning): This } is literal. Check expression (missing ;/\n?) or quote it. In srv6_srl2_l2vpn_test.sh line 443: eval hssrc_nsname=\${$(get_hsname "${hssrc}")} ^-- SC1083 (warning): This { is literal. Check expression (missing ;/\n?) or quote it. ^----------------------^ SC2046 (warning): Quote this to prevent word splitting. ^-- SC1083 (warning): This } is literal. Check expression (missing ;/\n?) or quote it. In srv6_srl2_l2vpn_test.sh line 455: eval hssrc_nsname=\${$(get_hsname "${hssrc}")} ^-- SC1083 (warning): This { is literal. Check expression (missing ;/\n?) or quote it. ^----------------------^ SC2046 (warning): Quote this to prevent word splitting. ^-- SC1083 (warning): This } is literal. Check expression (missing ;/\n?) or quote it. For more information: https://www.shellcheck.net/wiki/SC1083 -- This { is literal. Check expressi... https://www.shellcheck.net/wiki/SC2046 -- Quote this to prevent word splitt... https://www.shellcheck.net/wiki/SC2162 -- read without -r will mangle backs...