========== shellcheck - FAILED ====== Checking before the patch ====== ====== Checking the tree with the patch ====== tools/testing/selftests/net/srv6_srl2_l2vpn_test.sh is a new file, but not shellcheck compliant New errors added --- /tmp/tmp.01qzUHtgdc 2026-03-21 20:43:20.883529927 -0400 +++ /tmp/tmp.soUYd169Li 2026-03-21 20:43:21.319526644 -0400 @@ -0,0 +1,79 @@ + +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...