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.qvbwr7gfda and /tmp/tmp.3ePp1brYYx Tree base: 9439a661c2e8 ("amd-xgbe: fix MAC_TCR_SS register width for 2.5G and 10M speeds") Now at: 0fb343e8c264 ("selftests: net: forwarding: fix IPv6 address leak in cleanup") ====== Checking before the patch ====== Checking tools/testing/selftests/net/forwarding/gre_multipath.sh - 041daf5529fab6ea06aca0284ce1ad1856fa34ee0679924ef5d30213b2048bbf In gre_multipath.sh line 68: simple_if_init $h1 192.0.2.1/28 2001:db8:1::1/64 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: simple_if_init "$h1" 192.0.2.1/28 2001:db8:1::1/64 In gre_multipath.sh line 69: ip route add vrf v$h1 192.0.2.16/28 via 192.0.2.2 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip route add vrf v"$h1" 192.0.2.16/28 via 192.0.2.2 In gre_multipath.sh line 72: h1_destroy() ^-- SC2329 (info): This function is never invoked. Check usage (or ignored if invoked indirectly). In gre_multipath.sh line 74: ip route del vrf v$h1 192.0.2.16/28 via 192.0.2.2 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip route del vrf v"$h1" 192.0.2.16/28 via 192.0.2.2 In gre_multipath.sh line 75: simple_if_fini $h1 192.0.2.1/28 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: simple_if_fini "$h1" 192.0.2.1/28 In gre_multipath.sh line 80: simple_if_init $ol1 192.0.2.2/28 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: simple_if_init "$ol1" 192.0.2.2/28 In gre_multipath.sh line 81: __simple_if_init $ul1 v$ol1 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: __simple_if_init "$ul1" v"$ol1" In gre_multipath.sh line 82: vlan_create $ul1 111 v$ol1 192.0.2.129/28 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: vlan_create "$ul1" 111 v"$ol1" 192.0.2.129/28 In gre_multipath.sh line 83: vlan_create $ul1 222 v$ol1 192.0.2.145/28 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: vlan_create "$ul1" 222 v"$ol1" 192.0.2.145/28 In gre_multipath.sh line 85: tunnel_create g1a gre 192.0.2.65 192.0.2.66 tos inherit dev v$ol1 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tunnel_create g1a gre 192.0.2.65 192.0.2.66 tos inherit dev v"$ol1" In gre_multipath.sh line 86: __simple_if_init g1a v$ol1 192.0.2.65/32 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: __simple_if_init g1a v"$ol1" 192.0.2.65/32 In gre_multipath.sh line 87: ip route add vrf v$ol1 192.0.2.66/32 via 192.0.2.130 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip route add vrf v"$ol1" 192.0.2.66/32 via 192.0.2.130 In gre_multipath.sh line 89: tunnel_create g1b gre 192.0.2.81 192.0.2.82 tos inherit dev v$ol1 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tunnel_create g1b gre 192.0.2.81 192.0.2.82 tos inherit dev v"$ol1" In gre_multipath.sh line 90: __simple_if_init g1b v$ol1 192.0.2.81/32 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: __simple_if_init g1b v"$ol1" 192.0.2.81/32 In gre_multipath.sh line 91: ip route add vrf v$ol1 192.0.2.82/32 via 192.0.2.146 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip route add vrf v"$ol1" 192.0.2.82/32 via 192.0.2.146 In gre_multipath.sh line 93: ip route add vrf v$ol1 192.0.2.16/28 \ ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip route add vrf v"$ol1" 192.0.2.16/28 \ In gre_multipath.sh line 98: sw1_destroy() ^-- SC2329 (info): This function is never invoked. Check usage (or ignored if invoked indirectly). In gre_multipath.sh line 100: ip route del vrf v$ol1 192.0.2.16/28 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip route del vrf v"$ol1" 192.0.2.16/28 In gre_multipath.sh line 102: ip route del vrf v$ol1 192.0.2.82/32 via 192.0.2.146 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip route del vrf v"$ol1" 192.0.2.82/32 via 192.0.2.146 In gre_multipath.sh line 106: ip route del vrf v$ol1 192.0.2.66/32 via 192.0.2.130 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip route del vrf v"$ol1" 192.0.2.66/32 via 192.0.2.130 In gre_multipath.sh line 110: vlan_destroy $ul1 222 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: vlan_destroy "$ul1" 222 In gre_multipath.sh line 111: vlan_destroy $ul1 111 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: vlan_destroy "$ul1" 111 In gre_multipath.sh line 112: __simple_if_fini $ul1 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: __simple_if_fini "$ul1" In gre_multipath.sh line 113: simple_if_fini $ol1 192.0.2.2/28 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: simple_if_fini "$ol1" 192.0.2.2/28 In gre_multipath.sh line 118: simple_if_init $ol2 192.0.2.17/28 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: simple_if_init "$ol2" 192.0.2.17/28 In gre_multipath.sh line 119: __simple_if_init $ul2 v$ol2 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: __simple_if_init "$ul2" v"$ol2" In gre_multipath.sh line 120: vlan_create $ul2 111 v$ol2 192.0.2.130/28 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: vlan_create "$ul2" 111 v"$ol2" 192.0.2.130/28 In gre_multipath.sh line 121: vlan_create $ul2 222 v$ol2 192.0.2.146/28 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: vlan_create "$ul2" 222 v"$ol2" 192.0.2.146/28 In gre_multipath.sh line 123: tunnel_create g2a gre 192.0.2.66 192.0.2.65 tos inherit dev v$ol2 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tunnel_create g2a gre 192.0.2.66 192.0.2.65 tos inherit dev v"$ol2" In gre_multipath.sh line 124: __simple_if_init g2a v$ol2 192.0.2.66/32 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: __simple_if_init g2a v"$ol2" 192.0.2.66/32 In gre_multipath.sh line 125: ip route add vrf v$ol2 192.0.2.65/32 via 192.0.2.129 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip route add vrf v"$ol2" 192.0.2.65/32 via 192.0.2.129 In gre_multipath.sh line 127: tunnel_create g2b gre 192.0.2.82 192.0.2.81 tos inherit dev v$ol2 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tunnel_create g2b gre 192.0.2.82 192.0.2.81 tos inherit dev v"$ol2" In gre_multipath.sh line 128: __simple_if_init g2b v$ol2 192.0.2.82/32 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: __simple_if_init g2b v"$ol2" 192.0.2.82/32 In gre_multipath.sh line 129: ip route add vrf v$ol2 192.0.2.81/32 via 192.0.2.145 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip route add vrf v"$ol2" 192.0.2.81/32 via 192.0.2.145 In gre_multipath.sh line 131: ip route add vrf v$ol2 192.0.2.0/28 \ ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip route add vrf v"$ol2" 192.0.2.0/28 \ In gre_multipath.sh line 135: tc qdisc add dev $ul2 clsact ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc qdisc add dev "$ul2" clsact In gre_multipath.sh line 136: tc filter add dev $ul2 ingress pref 111 prot 802.1Q \ ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter add dev "$ul2" ingress pref 111 prot 802.1Q \ In gre_multipath.sh line 138: tc filter add dev $ul2 ingress pref 222 prot 802.1Q \ ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter add dev "$ul2" ingress pref 222 prot 802.1Q \ In gre_multipath.sh line 142: sw2_destroy() ^-- SC2329 (info): This function is never invoked. Check usage (or ignored if invoked indirectly). In gre_multipath.sh line 144: tc qdisc del dev $ul2 clsact ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc qdisc del dev "$ul2" clsact In gre_multipath.sh line 146: ip route del vrf v$ol2 192.0.2.0/28 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip route del vrf v"$ol2" 192.0.2.0/28 In gre_multipath.sh line 148: ip route del vrf v$ol2 192.0.2.81/32 via 192.0.2.145 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip route del vrf v"$ol2" 192.0.2.81/32 via 192.0.2.145 In gre_multipath.sh line 152: ip route del vrf v$ol2 192.0.2.65/32 via 192.0.2.129 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip route del vrf v"$ol2" 192.0.2.65/32 via 192.0.2.129 In gre_multipath.sh line 156: vlan_destroy $ul2 222 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: vlan_destroy "$ul2" 222 In gre_multipath.sh line 157: vlan_destroy $ul2 111 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: vlan_destroy "$ul2" 111 In gre_multipath.sh line 158: __simple_if_fini $ul2 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: __simple_if_fini "$ul2" In gre_multipath.sh line 159: simple_if_fini $ol2 192.0.2.17/28 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: simple_if_fini "$ol2" 192.0.2.17/28 In gre_multipath.sh line 164: simple_if_init $h2 192.0.2.18/28 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: simple_if_init "$h2" 192.0.2.18/28 In gre_multipath.sh line 165: ip route add vrf v$h2 192.0.2.0/28 via 192.0.2.17 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip route add vrf v"$h2" 192.0.2.0/28 via 192.0.2.17 In gre_multipath.sh line 168: h2_destroy() ^-- SC2329 (info): This function is never invoked. Check usage (or ignored if invoked indirectly). In gre_multipath.sh line 170: ip route del vrf v$h2 192.0.2.0/28 via 192.0.2.17 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip route del vrf v"$h2" 192.0.2.0/28 via 192.0.2.17 In gre_multipath.sh line 171: simple_if_fini $h2 192.0.2.18/28 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: simple_if_fini "$h2" 192.0.2.18/28 In gre_multipath.sh line 194: cleanup() ^-- SC2329 (info): This function is never invoked. Check usage (or ignored if invoked indirectly). In gre_multipath.sh line 207: multipath4_test() ^-- SC2329 (info): This function is never invoked. Check usage (or ignored if invoked indirectly). In gre_multipath.sh line 214: ip route replace vrf v$ol1 192.0.2.16/28 \ ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip route replace vrf v"$ol1" 192.0.2.16/28 \ In gre_multipath.sh line 215: nexthop dev g1a weight $weight1 \ ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: nexthop dev g1a weight "$weight1" \ In gre_multipath.sh line 216: nexthop dev g1b weight $weight2 ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: nexthop dev g1b weight "$weight2" In gre_multipath.sh line 218: local t0_111=$(tc_rule_stats_get $ul2 111 ingress) ^----^ SC2155 (warning): Declare and assign separately to avoid masking return values. ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: local t0_111=$(tc_rule_stats_get "$ul2" 111 ingress) In gre_multipath.sh line 219: local t0_222=$(tc_rule_stats_get $ul2 222 ingress) ^----^ SC2155 (warning): Declare and assign separately to avoid masking return values. ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: local t0_222=$(tc_rule_stats_get "$ul2" 222 ingress) In gre_multipath.sh line 221: ip vrf exec v$h1 \ ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip vrf exec v"$h1" \ In gre_multipath.sh line 222: $MZ $h1 -q -p 64 -A 192.0.2.1 -B 192.0.2.18 \ ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: "$MZ" "$h1" -q -p 64 -A 192.0.2.1 -B 192.0.2.18 \ In gre_multipath.sh line 223: -d $MZ_DELAY -t udp "sp=1024,dp=0-32768" ^-------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: -d "$MZ_DELAY" -t udp "sp=1024,dp=0-32768" In gre_multipath.sh line 225: local t1_111=$(tc_rule_stats_get $ul2 111 ingress) ^----^ SC2155 (warning): Declare and assign separately to avoid masking return values. ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: local t1_111=$(tc_rule_stats_get "$ul2" 111 ingress) In gre_multipath.sh line 226: local t1_222=$(tc_rule_stats_get $ul2 222 ingress) ^----^ SC2155 (warning): Declare and assign separately to avoid masking return values. ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: local t1_222=$(tc_rule_stats_get "$ul2" 222 ingress) In gre_multipath.sh line 230: multipath_eval "$what" $weight1 $weight2 $d111 $d222 ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: multipath_eval "$what" "$weight1" "$weight2" "$d111" "$d222" In gre_multipath.sh line 232: ip route replace vrf v$ol1 192.0.2.16/28 \ ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip route replace vrf v"$ol1" 192.0.2.16/28 \ In gre_multipath.sh line 238: ping_ipv4() ^-- SC2329 (info): This function is never invoked. Check usage (or ignored if invoked indirectly). In gre_multipath.sh line 240: ping_test $h1 192.0.2.18 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ping_test "$h1" 192.0.2.18 In gre_multipath.sh line 243: multipath_ipv4() ^-- SC2329 (info): This function is never invoked. Check usage (or ignored if invoked indirectly). In gre_multipath.sh line 257: exit $EXIT_STATUS ^----------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: exit "$EXIT_STATUS" For more information: https://www.shellcheck.net/wiki/SC2155 -- Declare and assign separately to ... https://www.shellcheck.net/wiki/SC2086 -- Double quote to prevent globbing ... https://www.shellcheck.net/wiki/SC2329 -- This function is never invoked. C... Checking tools/testing/selftests/net/forwarding/gre_multipath_nh.sh - 68207ae540739013bae3a87bcc0e77bf5b4eedbd08f2e4439b8d9d605ac236bd In gre_multipath_nh.sh line 74: simple_if_init $h1 192.0.2.1/28 2001:db8:1::1/64 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: simple_if_init "$h1" 192.0.2.1/28 2001:db8:1::1/64 In gre_multipath_nh.sh line 75: ip route add vrf v$h1 192.0.2.16/28 via 192.0.2.2 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip route add vrf v"$h1" 192.0.2.16/28 via 192.0.2.2 In gre_multipath_nh.sh line 76: ip route add vrf v$h1 2001:db8:2::/64 via 2001:db8:1::2 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip route add vrf v"$h1" 2001:db8:2::/64 via 2001:db8:1::2 In gre_multipath_nh.sh line 79: h1_destroy() ^-- SC2329 (info): This function is never invoked. Check usage (or ignored if invoked indirectly). In gre_multipath_nh.sh line 81: ip route del vrf v$h1 2001:db8:2::/64 via 2001:db8:1::2 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip route del vrf v"$h1" 2001:db8:2::/64 via 2001:db8:1::2 In gre_multipath_nh.sh line 82: ip route del vrf v$h1 192.0.2.16/28 via 192.0.2.2 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip route del vrf v"$h1" 192.0.2.16/28 via 192.0.2.2 In gre_multipath_nh.sh line 83: simple_if_fini $h1 192.0.2.1/28 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: simple_if_fini "$h1" 192.0.2.1/28 In gre_multipath_nh.sh line 88: simple_if_init $ol1 192.0.2.2/28 2001:db8:1::2/64 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: simple_if_init "$ol1" 192.0.2.2/28 2001:db8:1::2/64 In gre_multipath_nh.sh line 89: __simple_if_init $ul1 v$ol1 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: __simple_if_init "$ul1" v"$ol1" In gre_multipath_nh.sh line 90: vlan_create $ul1 111 v$ol1 192.0.2.129/28 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: vlan_create "$ul1" 111 v"$ol1" 192.0.2.129/28 In gre_multipath_nh.sh line 91: vlan_create $ul1 222 v$ol1 192.0.2.145/28 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: vlan_create "$ul1" 222 v"$ol1" 192.0.2.145/28 In gre_multipath_nh.sh line 93: tunnel_create g1a gre 192.0.2.65 192.0.2.66 tos inherit dev v$ol1 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tunnel_create g1a gre 192.0.2.65 192.0.2.66 tos inherit dev v"$ol1" In gre_multipath_nh.sh line 94: __simple_if_init g1a v$ol1 192.0.2.65/32 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: __simple_if_init g1a v"$ol1" 192.0.2.65/32 In gre_multipath_nh.sh line 95: ip route add vrf v$ol1 192.0.2.66/32 via 192.0.2.130 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip route add vrf v"$ol1" 192.0.2.66/32 via 192.0.2.130 In gre_multipath_nh.sh line 97: tunnel_create g1b gre 192.0.2.81 192.0.2.82 tos inherit dev v$ol1 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tunnel_create g1b gre 192.0.2.81 192.0.2.82 tos inherit dev v"$ol1" In gre_multipath_nh.sh line 98: __simple_if_init g1b v$ol1 192.0.2.81/32 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: __simple_if_init g1b v"$ol1" 192.0.2.81/32 In gre_multipath_nh.sh line 99: ip route add vrf v$ol1 192.0.2.82/32 via 192.0.2.146 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip route add vrf v"$ol1" 192.0.2.82/32 via 192.0.2.146 In gre_multipath_nh.sh line 105: ip route add vrf v$ol1 192.0.2.16/28 nhid 103 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip route add vrf v"$ol1" 192.0.2.16/28 nhid 103 In gre_multipath_nh.sh line 106: ip route add vrf v$ol1 2001:db8:2::/64 nhid 103 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip route add vrf v"$ol1" 2001:db8:2::/64 nhid 103 In gre_multipath_nh.sh line 109: sw1_destroy() ^-- SC2329 (info): This function is never invoked. Check usage (or ignored if invoked indirectly). In gre_multipath_nh.sh line 111: ip route del vrf v$ol1 2001:db8:2::/64 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip route del vrf v"$ol1" 2001:db8:2::/64 In gre_multipath_nh.sh line 112: ip route del vrf v$ol1 192.0.2.16/28 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip route del vrf v"$ol1" 192.0.2.16/28 In gre_multipath_nh.sh line 118: ip route del vrf v$ol1 192.0.2.82/32 via 192.0.2.146 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip route del vrf v"$ol1" 192.0.2.82/32 via 192.0.2.146 In gre_multipath_nh.sh line 122: ip route del vrf v$ol1 192.0.2.66/32 via 192.0.2.130 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip route del vrf v"$ol1" 192.0.2.66/32 via 192.0.2.130 In gre_multipath_nh.sh line 126: vlan_destroy $ul1 222 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: vlan_destroy "$ul1" 222 In gre_multipath_nh.sh line 127: vlan_destroy $ul1 111 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: vlan_destroy "$ul1" 111 In gre_multipath_nh.sh line 128: __simple_if_fini $ul1 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: __simple_if_fini "$ul1" In gre_multipath_nh.sh line 129: simple_if_fini $ol1 192.0.2.2/28 2001:db8:1::2/64 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: simple_if_fini "$ol1" 192.0.2.2/28 2001:db8:1::2/64 In gre_multipath_nh.sh line 134: simple_if_init $ol2 192.0.2.17/28 2001:db8:2::1/64 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: simple_if_init "$ol2" 192.0.2.17/28 2001:db8:2::1/64 In gre_multipath_nh.sh line 135: __simple_if_init $ul2 v$ol2 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: __simple_if_init "$ul2" v"$ol2" In gre_multipath_nh.sh line 136: vlan_create $ul2 111 v$ol2 192.0.2.130/28 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: vlan_create "$ul2" 111 v"$ol2" 192.0.2.130/28 In gre_multipath_nh.sh line 137: vlan_create $ul2 222 v$ol2 192.0.2.146/28 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: vlan_create "$ul2" 222 v"$ol2" 192.0.2.146/28 In gre_multipath_nh.sh line 139: tunnel_create g2a gre 192.0.2.66 192.0.2.65 tos inherit dev v$ol2 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tunnel_create g2a gre 192.0.2.66 192.0.2.65 tos inherit dev v"$ol2" In gre_multipath_nh.sh line 140: __simple_if_init g2a v$ol2 192.0.2.66/32 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: __simple_if_init g2a v"$ol2" 192.0.2.66/32 In gre_multipath_nh.sh line 141: ip route add vrf v$ol2 192.0.2.65/32 via 192.0.2.129 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip route add vrf v"$ol2" 192.0.2.65/32 via 192.0.2.129 In gre_multipath_nh.sh line 143: tunnel_create g2b gre 192.0.2.82 192.0.2.81 tos inherit dev v$ol2 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tunnel_create g2b gre 192.0.2.82 192.0.2.81 tos inherit dev v"$ol2" In gre_multipath_nh.sh line 144: __simple_if_init g2b v$ol2 192.0.2.82/32 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: __simple_if_init g2b v"$ol2" 192.0.2.82/32 In gre_multipath_nh.sh line 145: ip route add vrf v$ol2 192.0.2.81/32 via 192.0.2.145 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip route add vrf v"$ol2" 192.0.2.81/32 via 192.0.2.145 In gre_multipath_nh.sh line 151: ip route add vrf v$ol2 192.0.2.0/28 nhid 203 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip route add vrf v"$ol2" 192.0.2.0/28 nhid 203 In gre_multipath_nh.sh line 152: ip route add vrf v$ol2 2001:db8:1::/64 nhid 203 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip route add vrf v"$ol2" 2001:db8:1::/64 nhid 203 In gre_multipath_nh.sh line 154: tc qdisc add dev $ul2 clsact ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc qdisc add dev "$ul2" clsact In gre_multipath_nh.sh line 155: tc filter add dev $ul2 ingress pref 111 prot 802.1Q \ ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter add dev "$ul2" ingress pref 111 prot 802.1Q \ In gre_multipath_nh.sh line 157: tc filter add dev $ul2 ingress pref 222 prot 802.1Q \ ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter add dev "$ul2" ingress pref 222 prot 802.1Q \ In gre_multipath_nh.sh line 161: sw2_destroy() ^-- SC2329 (info): This function is never invoked. Check usage (or ignored if invoked indirectly). In gre_multipath_nh.sh line 163: tc qdisc del dev $ul2 clsact ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc qdisc del dev "$ul2" clsact In gre_multipath_nh.sh line 165: ip route del vrf v$ol2 2001:db8:1::/64 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip route del vrf v"$ol2" 2001:db8:1::/64 In gre_multipath_nh.sh line 166: ip route del vrf v$ol2 192.0.2.0/28 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip route del vrf v"$ol2" 192.0.2.0/28 In gre_multipath_nh.sh line 172: ip route del vrf v$ol2 192.0.2.81/32 via 192.0.2.145 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip route del vrf v"$ol2" 192.0.2.81/32 via 192.0.2.145 In gre_multipath_nh.sh line 176: ip route del vrf v$ol2 192.0.2.65/32 via 192.0.2.129 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip route del vrf v"$ol2" 192.0.2.65/32 via 192.0.2.129 In gre_multipath_nh.sh line 180: vlan_destroy $ul2 222 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: vlan_destroy "$ul2" 222 In gre_multipath_nh.sh line 181: vlan_destroy $ul2 111 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: vlan_destroy "$ul2" 111 In gre_multipath_nh.sh line 182: __simple_if_fini $ul2 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: __simple_if_fini "$ul2" In gre_multipath_nh.sh line 183: simple_if_fini $ol2 192.0.2.17/28 2001:db8:2::1/64 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: simple_if_fini "$ol2" 192.0.2.17/28 2001:db8:2::1/64 In gre_multipath_nh.sh line 188: simple_if_init $h2 192.0.2.18/28 2001:db8:2::2/64 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: simple_if_init "$h2" 192.0.2.18/28 2001:db8:2::2/64 In gre_multipath_nh.sh line 189: ip route add vrf v$h2 192.0.2.0/28 via 192.0.2.17 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip route add vrf v"$h2" 192.0.2.0/28 via 192.0.2.17 In gre_multipath_nh.sh line 190: ip route add vrf v$h2 2001:db8:1::/64 via 2001:db8:2::1 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip route add vrf v"$h2" 2001:db8:1::/64 via 2001:db8:2::1 In gre_multipath_nh.sh line 193: h2_destroy() ^-- SC2329 (info): This function is never invoked. Check usage (or ignored if invoked indirectly). In gre_multipath_nh.sh line 195: ip route del vrf v$h2 2001:db8:1::/64 via 2001:db8:2::1 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip route del vrf v"$h2" 2001:db8:1::/64 via 2001:db8:2::1 In gre_multipath_nh.sh line 196: ip route del vrf v$h2 192.0.2.0/28 via 192.0.2.17 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip route del vrf v"$h2" 192.0.2.0/28 via 192.0.2.17 In gre_multipath_nh.sh line 197: simple_if_fini $h2 192.0.2.18/28 2001:db8:2::2/64 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: simple_if_fini "$h2" 192.0.2.18/28 2001:db8:2::2/64 In gre_multipath_nh.sh line 220: cleanup() ^-- SC2329 (info): This function is never invoked. Check usage (or ignored if invoked indirectly). In gre_multipath_nh.sh line 233: multipath4_test() ^-- SC2329 (info): This function is never invoked. Check usage (or ignored if invoked indirectly). In gre_multipath_nh.sh line 240: ip nexthop replace id 103 group 101,$weight1/102,$weight2 ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip nexthop replace id 103 group 101,"$weight1"/102,"$weight2" In gre_multipath_nh.sh line 242: local t0_111=$(tc_rule_stats_get $ul2 111 ingress) ^----^ SC2155 (warning): Declare and assign separately to avoid masking return values. ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: local t0_111=$(tc_rule_stats_get "$ul2" 111 ingress) In gre_multipath_nh.sh line 243: local t0_222=$(tc_rule_stats_get $ul2 222 ingress) ^----^ SC2155 (warning): Declare and assign separately to avoid masking return values. ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: local t0_222=$(tc_rule_stats_get "$ul2" 222 ingress) In gre_multipath_nh.sh line 245: ip vrf exec v$h1 \ ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip vrf exec v"$h1" \ In gre_multipath_nh.sh line 246: $MZ $h1 -q -p 64 -A 192.0.2.1 -B 192.0.2.18 \ ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: "$MZ" "$h1" -q -p 64 -A 192.0.2.1 -B 192.0.2.18 \ In gre_multipath_nh.sh line 247: -d $MZ_DELAY -t udp "sp=1024,dp=0-32768" ^-------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: -d "$MZ_DELAY" -t udp "sp=1024,dp=0-32768" In gre_multipath_nh.sh line 249: local t1_111=$(tc_rule_stats_get $ul2 111 ingress) ^----^ SC2155 (warning): Declare and assign separately to avoid masking return values. ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: local t1_111=$(tc_rule_stats_get "$ul2" 111 ingress) In gre_multipath_nh.sh line 250: local t1_222=$(tc_rule_stats_get $ul2 222 ingress) ^----^ SC2155 (warning): Declare and assign separately to avoid masking return values. ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: local t1_222=$(tc_rule_stats_get "$ul2" 222 ingress) In gre_multipath_nh.sh line 254: multipath_eval "$what" $weight1 $weight2 $d111 $d222 ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: multipath_eval "$what" "$weight1" "$weight2" "$d111" "$d222" In gre_multipath_nh.sh line 260: multipath6_test() ^-- SC2329 (info): This function is never invoked. Check usage (or ignored if invoked indirectly). In gre_multipath_nh.sh line 267: ip nexthop replace id 103 group 101,$weight1/102,$weight2 ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip nexthop replace id 103 group 101,"$weight1"/102,"$weight2" In gre_multipath_nh.sh line 269: local t0_111=$(tc_rule_stats_get $ul2 111 ingress) ^----^ SC2155 (warning): Declare and assign separately to avoid masking return values. ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: local t0_111=$(tc_rule_stats_get "$ul2" 111 ingress) In gre_multipath_nh.sh line 270: local t0_222=$(tc_rule_stats_get $ul2 222 ingress) ^----^ SC2155 (warning): Declare and assign separately to avoid masking return values. ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: local t0_222=$(tc_rule_stats_get "$ul2" 222 ingress) In gre_multipath_nh.sh line 272: ip vrf exec v$h1 \ ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip vrf exec v"$h1" \ In gre_multipath_nh.sh line 273: $MZ $h1 -6 -q -p 64 -A 2001:db8:1::1 -B 2001:db8:2::2 \ ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: "$MZ" "$h1" -6 -q -p 64 -A 2001:db8:1::1 -B 2001:db8:2::2 \ In gre_multipath_nh.sh line 274: -d $MZ_DELAY -t udp "sp=1024,dp=0-32768" ^-------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: -d "$MZ_DELAY" -t udp "sp=1024,dp=0-32768" In gre_multipath_nh.sh line 276: local t1_111=$(tc_rule_stats_get $ul2 111 ingress) ^----^ SC2155 (warning): Declare and assign separately to avoid masking return values. ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: local t1_111=$(tc_rule_stats_get "$ul2" 111 ingress) In gre_multipath_nh.sh line 277: local t1_222=$(tc_rule_stats_get $ul2 222 ingress) ^----^ SC2155 (warning): Declare and assign separately to avoid masking return values. ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: local t1_222=$(tc_rule_stats_get "$ul2" 222 ingress) In gre_multipath_nh.sh line 281: multipath_eval "$what" $weight1 $weight2 $d111 $d222 ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: multipath_eval "$what" "$weight1" "$weight2" "$d111" "$d222" In gre_multipath_nh.sh line 287: ping_ipv4() ^-- SC2329 (info): This function is never invoked. Check usage (or ignored if invoked indirectly). In gre_multipath_nh.sh line 289: ping_test $h1 192.0.2.18 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ping_test "$h1" 192.0.2.18 In gre_multipath_nh.sh line 292: ping_ipv6() ^-- SC2329 (info): This function is never invoked. Check usage (or ignored if invoked indirectly). In gre_multipath_nh.sh line 294: ping6_test $h1 2001:db8:2::2 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ping6_test "$h1" 2001:db8:2::2 In gre_multipath_nh.sh line 297: multipath_ipv4() ^-- SC2329 (info): This function is never invoked. Check usage (or ignored if invoked indirectly). In gre_multipath_nh.sh line 305: multipath_ipv6() ^-- SC2329 (info): This function is never invoked. Check usage (or ignored if invoked indirectly). In gre_multipath_nh.sh line 319: exit $EXIT_STATUS ^----------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: exit "$EXIT_STATUS" For more information: https://www.shellcheck.net/wiki/SC2155 -- Declare and assign separately to ... https://www.shellcheck.net/wiki/SC2086 -- Double quote to prevent globbing ... https://www.shellcheck.net/wiki/SC2329 -- This function is never invoked. C... Checking tools/testing/selftests/net/forwarding/gre_multipath_nh_res.sh - e571827e16bd1762796e97364aab10d560d87009cd39dbe2c3419ae03c6d801e In gre_multipath_nh_res.sh line 74: simple_if_init $h1 192.0.2.1/28 2001:db8:1::1/64 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: simple_if_init "$h1" 192.0.2.1/28 2001:db8:1::1/64 In gre_multipath_nh_res.sh line 75: ip route add vrf v$h1 192.0.2.16/28 via 192.0.2.2 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip route add vrf v"$h1" 192.0.2.16/28 via 192.0.2.2 In gre_multipath_nh_res.sh line 76: ip route add vrf v$h1 2001:db8:2::/64 via 2001:db8:1::2 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip route add vrf v"$h1" 2001:db8:2::/64 via 2001:db8:1::2 In gre_multipath_nh_res.sh line 79: h1_destroy() ^-- SC2329 (info): This function is never invoked. Check usage (or ignored if invoked indirectly). In gre_multipath_nh_res.sh line 81: ip route del vrf v$h1 2001:db8:2::/64 via 2001:db8:1::2 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip route del vrf v"$h1" 2001:db8:2::/64 via 2001:db8:1::2 In gre_multipath_nh_res.sh line 82: ip route del vrf v$h1 192.0.2.16/28 via 192.0.2.2 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip route del vrf v"$h1" 192.0.2.16/28 via 192.0.2.2 In gre_multipath_nh_res.sh line 83: simple_if_fini $h1 192.0.2.1/28 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: simple_if_fini "$h1" 192.0.2.1/28 In gre_multipath_nh_res.sh line 88: simple_if_init $ol1 192.0.2.2/28 2001:db8:1::2/64 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: simple_if_init "$ol1" 192.0.2.2/28 2001:db8:1::2/64 In gre_multipath_nh_res.sh line 89: __simple_if_init $ul1 v$ol1 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: __simple_if_init "$ul1" v"$ol1" In gre_multipath_nh_res.sh line 90: vlan_create $ul1 111 v$ol1 192.0.2.129/28 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: vlan_create "$ul1" 111 v"$ol1" 192.0.2.129/28 In gre_multipath_nh_res.sh line 91: vlan_create $ul1 222 v$ol1 192.0.2.145/28 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: vlan_create "$ul1" 222 v"$ol1" 192.0.2.145/28 In gre_multipath_nh_res.sh line 93: tunnel_create g1a gre 192.0.2.65 192.0.2.66 tos inherit dev v$ol1 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tunnel_create g1a gre 192.0.2.65 192.0.2.66 tos inherit dev v"$ol1" In gre_multipath_nh_res.sh line 94: __simple_if_init g1a v$ol1 192.0.2.65/32 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: __simple_if_init g1a v"$ol1" 192.0.2.65/32 In gre_multipath_nh_res.sh line 95: ip route add vrf v$ol1 192.0.2.66/32 via 192.0.2.130 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip route add vrf v"$ol1" 192.0.2.66/32 via 192.0.2.130 In gre_multipath_nh_res.sh line 97: tunnel_create g1b gre 192.0.2.81 192.0.2.82 tos inherit dev v$ol1 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tunnel_create g1b gre 192.0.2.81 192.0.2.82 tos inherit dev v"$ol1" In gre_multipath_nh_res.sh line 98: __simple_if_init g1b v$ol1 192.0.2.81/32 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: __simple_if_init g1b v"$ol1" 192.0.2.81/32 In gre_multipath_nh_res.sh line 99: ip route add vrf v$ol1 192.0.2.82/32 via 192.0.2.146 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip route add vrf v"$ol1" 192.0.2.82/32 via 192.0.2.146 In gre_multipath_nh_res.sh line 106: ip route add vrf v$ol1 192.0.2.16/28 nhid 103 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip route add vrf v"$ol1" 192.0.2.16/28 nhid 103 In gre_multipath_nh_res.sh line 107: ip route add vrf v$ol1 2001:db8:2::/64 nhid 103 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip route add vrf v"$ol1" 2001:db8:2::/64 nhid 103 In gre_multipath_nh_res.sh line 110: sw1_destroy() ^-- SC2329 (info): This function is never invoked. Check usage (or ignored if invoked indirectly). In gre_multipath_nh_res.sh line 112: ip route del vrf v$ol1 2001:db8:2::/64 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip route del vrf v"$ol1" 2001:db8:2::/64 In gre_multipath_nh_res.sh line 113: ip route del vrf v$ol1 192.0.2.16/28 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip route del vrf v"$ol1" 192.0.2.16/28 In gre_multipath_nh_res.sh line 119: ip route del vrf v$ol1 192.0.2.82/32 via 192.0.2.146 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip route del vrf v"$ol1" 192.0.2.82/32 via 192.0.2.146 In gre_multipath_nh_res.sh line 123: ip route del vrf v$ol1 192.0.2.66/32 via 192.0.2.130 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip route del vrf v"$ol1" 192.0.2.66/32 via 192.0.2.130 In gre_multipath_nh_res.sh line 127: vlan_destroy $ul1 222 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: vlan_destroy "$ul1" 222 In gre_multipath_nh_res.sh line 128: vlan_destroy $ul1 111 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: vlan_destroy "$ul1" 111 In gre_multipath_nh_res.sh line 129: __simple_if_fini $ul1 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: __simple_if_fini "$ul1" In gre_multipath_nh_res.sh line 130: simple_if_fini $ol1 192.0.2.2/28 2001:db8:1::2/64 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: simple_if_fini "$ol1" 192.0.2.2/28 2001:db8:1::2/64 In gre_multipath_nh_res.sh line 135: simple_if_init $ol2 192.0.2.17/28 2001:db8:2::1/64 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: simple_if_init "$ol2" 192.0.2.17/28 2001:db8:2::1/64 In gre_multipath_nh_res.sh line 136: __simple_if_init $ul2 v$ol2 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: __simple_if_init "$ul2" v"$ol2" In gre_multipath_nh_res.sh line 137: vlan_create $ul2 111 v$ol2 192.0.2.130/28 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: vlan_create "$ul2" 111 v"$ol2" 192.0.2.130/28 In gre_multipath_nh_res.sh line 138: vlan_create $ul2 222 v$ol2 192.0.2.146/28 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: vlan_create "$ul2" 222 v"$ol2" 192.0.2.146/28 In gre_multipath_nh_res.sh line 140: tunnel_create g2a gre 192.0.2.66 192.0.2.65 tos inherit dev v$ol2 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tunnel_create g2a gre 192.0.2.66 192.0.2.65 tos inherit dev v"$ol2" In gre_multipath_nh_res.sh line 141: __simple_if_init g2a v$ol2 192.0.2.66/32 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: __simple_if_init g2a v"$ol2" 192.0.2.66/32 In gre_multipath_nh_res.sh line 142: ip route add vrf v$ol2 192.0.2.65/32 via 192.0.2.129 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip route add vrf v"$ol2" 192.0.2.65/32 via 192.0.2.129 In gre_multipath_nh_res.sh line 144: tunnel_create g2b gre 192.0.2.82 192.0.2.81 tos inherit dev v$ol2 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tunnel_create g2b gre 192.0.2.82 192.0.2.81 tos inherit dev v"$ol2" In gre_multipath_nh_res.sh line 145: __simple_if_init g2b v$ol2 192.0.2.82/32 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: __simple_if_init g2b v"$ol2" 192.0.2.82/32 In gre_multipath_nh_res.sh line 146: ip route add vrf v$ol2 192.0.2.81/32 via 192.0.2.145 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip route add vrf v"$ol2" 192.0.2.81/32 via 192.0.2.145 In gre_multipath_nh_res.sh line 153: ip route add vrf v$ol2 192.0.2.0/28 nhid 203 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip route add vrf v"$ol2" 192.0.2.0/28 nhid 203 In gre_multipath_nh_res.sh line 154: ip route add vrf v$ol2 2001:db8:1::/64 nhid 203 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip route add vrf v"$ol2" 2001:db8:1::/64 nhid 203 In gre_multipath_nh_res.sh line 156: tc qdisc add dev $ul2 clsact ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc qdisc add dev "$ul2" clsact In gre_multipath_nh_res.sh line 157: tc filter add dev $ul2 ingress pref 111 prot 802.1Q \ ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter add dev "$ul2" ingress pref 111 prot 802.1Q \ In gre_multipath_nh_res.sh line 159: tc filter add dev $ul2 ingress pref 222 prot 802.1Q \ ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter add dev "$ul2" ingress pref 222 prot 802.1Q \ In gre_multipath_nh_res.sh line 163: sw2_destroy() ^-- SC2329 (info): This function is never invoked. Check usage (or ignored if invoked indirectly). In gre_multipath_nh_res.sh line 165: tc qdisc del dev $ul2 clsact ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc qdisc del dev "$ul2" clsact In gre_multipath_nh_res.sh line 167: ip route del vrf v$ol2 2001:db8:1::/64 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip route del vrf v"$ol2" 2001:db8:1::/64 In gre_multipath_nh_res.sh line 168: ip route del vrf v$ol2 192.0.2.0/28 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip route del vrf v"$ol2" 192.0.2.0/28 In gre_multipath_nh_res.sh line 174: ip route del vrf v$ol2 192.0.2.81/32 via 192.0.2.145 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip route del vrf v"$ol2" 192.0.2.81/32 via 192.0.2.145 In gre_multipath_nh_res.sh line 178: ip route del vrf v$ol2 192.0.2.65/32 via 192.0.2.129 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip route del vrf v"$ol2" 192.0.2.65/32 via 192.0.2.129 In gre_multipath_nh_res.sh line 182: vlan_destroy $ul2 222 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: vlan_destroy "$ul2" 222 In gre_multipath_nh_res.sh line 183: vlan_destroy $ul2 111 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: vlan_destroy "$ul2" 111 In gre_multipath_nh_res.sh line 184: __simple_if_fini $ul2 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: __simple_if_fini "$ul2" In gre_multipath_nh_res.sh line 185: simple_if_fini $ol2 192.0.2.17/28 2001:db8:2::1/64 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: simple_if_fini "$ol2" 192.0.2.17/28 2001:db8:2::1/64 In gre_multipath_nh_res.sh line 190: simple_if_init $h2 192.0.2.18/28 2001:db8:2::2/64 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: simple_if_init "$h2" 192.0.2.18/28 2001:db8:2::2/64 In gre_multipath_nh_res.sh line 191: ip route add vrf v$h2 192.0.2.0/28 via 192.0.2.17 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip route add vrf v"$h2" 192.0.2.0/28 via 192.0.2.17 In gre_multipath_nh_res.sh line 192: ip route add vrf v$h2 2001:db8:1::/64 via 2001:db8:2::1 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip route add vrf v"$h2" 2001:db8:1::/64 via 2001:db8:2::1 In gre_multipath_nh_res.sh line 195: h2_destroy() ^-- SC2329 (info): This function is never invoked. Check usage (or ignored if invoked indirectly). In gre_multipath_nh_res.sh line 197: ip route del vrf v$h2 2001:db8:1::/64 via 2001:db8:2::1 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip route del vrf v"$h2" 2001:db8:1::/64 via 2001:db8:2::1 In gre_multipath_nh_res.sh line 198: ip route del vrf v$h2 192.0.2.0/28 via 192.0.2.17 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip route del vrf v"$h2" 192.0.2.0/28 via 192.0.2.17 In gre_multipath_nh_res.sh line 199: simple_if_fini $h2 192.0.2.18/28 2001:db8:2::2/64 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: simple_if_fini "$h2" 192.0.2.18/28 2001:db8:2::2/64 In gre_multipath_nh_res.sh line 222: cleanup() ^-- SC2329 (info): This function is never invoked. Check usage (or ignored if invoked indirectly). In gre_multipath_nh_res.sh line 235: multipath4_test() ^-- SC2329 (info): This function is never invoked. Check usage (or ignored if invoked indirectly). In gre_multipath_nh_res.sh line 242: ip nexthop replace id 103 group 101,$weight1/102,$weight2 \ ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip nexthop replace id 103 group 101,"$weight1"/102,"$weight2" \ In gre_multipath_nh_res.sh line 245: local t0_111=$(tc_rule_stats_get $ul2 111 ingress) ^----^ SC2155 (warning): Declare and assign separately to avoid masking return values. ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: local t0_111=$(tc_rule_stats_get "$ul2" 111 ingress) In gre_multipath_nh_res.sh line 246: local t0_222=$(tc_rule_stats_get $ul2 222 ingress) ^----^ SC2155 (warning): Declare and assign separately to avoid masking return values. ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: local t0_222=$(tc_rule_stats_get "$ul2" 222 ingress) In gre_multipath_nh_res.sh line 248: ip vrf exec v$h1 \ ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip vrf exec v"$h1" \ In gre_multipath_nh_res.sh line 249: $MZ $h1 -q -p 64 -A 192.0.2.1 -B 192.0.2.18 \ ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: "$MZ" "$h1" -q -p 64 -A 192.0.2.1 -B 192.0.2.18 \ In gre_multipath_nh_res.sh line 250: -d $MZ_DELAY -t udp "sp=1024,dp=0-32768" ^-------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: -d "$MZ_DELAY" -t udp "sp=1024,dp=0-32768" In gre_multipath_nh_res.sh line 252: local t1_111=$(tc_rule_stats_get $ul2 111 ingress) ^----^ SC2155 (warning): Declare and assign separately to avoid masking return values. ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: local t1_111=$(tc_rule_stats_get "$ul2" 111 ingress) In gre_multipath_nh_res.sh line 253: local t1_222=$(tc_rule_stats_get $ul2 222 ingress) ^----^ SC2155 (warning): Declare and assign separately to avoid masking return values. ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: local t1_222=$(tc_rule_stats_get "$ul2" 222 ingress) In gre_multipath_nh_res.sh line 257: multipath_eval "$what" $weight1 $weight2 $d111 $d222 ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: multipath_eval "$what" "$weight1" "$weight2" "$d111" "$d222" In gre_multipath_nh_res.sh line 263: multipath6_test() ^-- SC2329 (info): This function is never invoked. Check usage (or ignored if invoked indirectly). In gre_multipath_nh_res.sh line 270: ip nexthop replace id 103 group 101,$weight1/102,$weight2 \ ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip nexthop replace id 103 group 101,"$weight1"/102,"$weight2" \ In gre_multipath_nh_res.sh line 273: local t0_111=$(tc_rule_stats_get $ul2 111 ingress) ^----^ SC2155 (warning): Declare and assign separately to avoid masking return values. ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: local t0_111=$(tc_rule_stats_get "$ul2" 111 ingress) In gre_multipath_nh_res.sh line 274: local t0_222=$(tc_rule_stats_get $ul2 222 ingress) ^----^ SC2155 (warning): Declare and assign separately to avoid masking return values. ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: local t0_222=$(tc_rule_stats_get "$ul2" 222 ingress) In gre_multipath_nh_res.sh line 276: ip vrf exec v$h1 \ ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip vrf exec v"$h1" \ In gre_multipath_nh_res.sh line 277: $MZ $h1 -6 -q -p 64 -A 2001:db8:1::1 -B 2001:db8:2::2 \ ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: "$MZ" "$h1" -6 -q -p 64 -A 2001:db8:1::1 -B 2001:db8:2::2 \ In gre_multipath_nh_res.sh line 278: -d $MZ_DELAY -t udp "sp=1024,dp=0-32768" ^-------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: -d "$MZ_DELAY" -t udp "sp=1024,dp=0-32768" In gre_multipath_nh_res.sh line 280: local t1_111=$(tc_rule_stats_get $ul2 111 ingress) ^----^ SC2155 (warning): Declare and assign separately to avoid masking return values. ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: local t1_111=$(tc_rule_stats_get "$ul2" 111 ingress) In gre_multipath_nh_res.sh line 281: local t1_222=$(tc_rule_stats_get $ul2 222 ingress) ^----^ SC2155 (warning): Declare and assign separately to avoid masking return values. ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: local t1_222=$(tc_rule_stats_get "$ul2" 222 ingress) In gre_multipath_nh_res.sh line 285: multipath_eval "$what" $weight1 $weight2 $d111 $d222 ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: multipath_eval "$what" "$weight1" "$weight2" "$d111" "$d222" In gre_multipath_nh_res.sh line 291: ping_ipv4() ^-- SC2329 (info): This function is never invoked. Check usage (or ignored if invoked indirectly). In gre_multipath_nh_res.sh line 293: ping_test $h1 192.0.2.18 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ping_test "$h1" 192.0.2.18 In gre_multipath_nh_res.sh line 296: ping_ipv6() ^-- SC2329 (info): This function is never invoked. Check usage (or ignored if invoked indirectly). In gre_multipath_nh_res.sh line 298: ping6_test $h1 2001:db8:2::2 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ping6_test "$h1" 2001:db8:2::2 In gre_multipath_nh_res.sh line 301: multipath_ipv4() ^-- SC2329 (info): This function is never invoked. Check usage (or ignored if invoked indirectly). In gre_multipath_nh_res.sh line 309: multipath_ipv6() ^-- SC2329 (info): This function is never invoked. Check usage (or ignored if invoked indirectly). In gre_multipath_nh_res.sh line 323: exit $EXIT_STATUS ^----------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: exit "$EXIT_STATUS" For more information: https://www.shellcheck.net/wiki/SC2155 -- Declare and assign separately to ... https://www.shellcheck.net/wiki/SC2086 -- Double quote to prevent globbing ... https://www.shellcheck.net/wiki/SC2329 -- This function is never invoked. C... Checking tools/testing/selftests/net/forwarding/ipip_lib.sh - 771a614d4c54ac82a9dcd47f7429ad3c9f97f7f0d8c82db8d7c1042789156034 In ipip_lib.sh line 147: simple_if_init $h1 192.0.2.1/28 2001:db8:1::1/64 ^-^ SC2154 (warning): h1 is referenced but not assigned. ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: simple_if_init "$h1" 192.0.2.1/28 2001:db8:1::1/64 In ipip_lib.sh line 148: ip route add vrf v$h1 192.0.2.16/28 via 192.0.2.2 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip route add vrf v"$h1" 192.0.2.16/28 via 192.0.2.2 In ipip_lib.sh line 153: ip route del vrf v$h1 192.0.2.16/28 via 192.0.2.2 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip route del vrf v"$h1" 192.0.2.16/28 via 192.0.2.2 In ipip_lib.sh line 154: simple_if_fini $h1 192.0.2.1/28 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: simple_if_fini "$h1" 192.0.2.1/28 In ipip_lib.sh line 159: simple_if_init $h2 192.0.2.18/28 ^-^ SC2154 (warning): h2 is referenced but not assigned. ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: simple_if_init "$h2" 192.0.2.18/28 In ipip_lib.sh line 160: ip route add vrf v$h2 192.0.2.0/28 via 192.0.2.17 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip route add vrf v"$h2" 192.0.2.0/28 via 192.0.2.17 In ipip_lib.sh line 165: ip route del vrf v$h2 192.0.2.0/28 via 192.0.2.17 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip route del vrf v"$h2" 192.0.2.0/28 via 192.0.2.17 In ipip_lib.sh line 166: simple_if_fini $h2 192.0.2.18/28 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: simple_if_fini "$h2" 192.0.2.18/28 In ipip_lib.sh line 175: ip link set dev $ol1 up ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link set dev "$ol1" up In ipip_lib.sh line 176: __addr_add_del $ol1 add "192.0.2.2/28" ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: __addr_add_del "$ol1" add "192.0.2.2/28" In ipip_lib.sh line 178: ip link set dev $ul1 up ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link set dev "$ul1" up In ipip_lib.sh line 179: vlan_create $ul1 111 "" 192.0.2.129/28 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: vlan_create "$ul1" 111 "" 192.0.2.129/28 In ipip_lib.sh line 181: tunnel_create g1a $type 192.0.2.65 192.0.2.66 tos inherit "$@" ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tunnel_create g1a "$type" 192.0.2.65 192.0.2.66 tos inherit "$@" In ipip_lib.sh line 201: vlan_destroy $ul1 111 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: vlan_destroy "$ul1" 111 In ipip_lib.sh line 202: __simple_if_fini $ul1 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: __simple_if_fini "$ul1" In ipip_lib.sh line 203: __simple_if_fini $ol1 192.0.2.2/28 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: __simple_if_fini "$ol1" 192.0.2.2/28 In ipip_lib.sh line 212: simple_if_init $ol2 192.0.2.17/28 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: simple_if_init "$ol2" 192.0.2.17/28 In ipip_lib.sh line 213: __simple_if_init $ul2 v$ol2 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: __simple_if_init "$ul2" v"$ol2" In ipip_lib.sh line 214: vlan_create $ul2 111 v$ol2 192.0.2.130/28 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: vlan_create "$ul2" 111 v"$ol2" 192.0.2.130/28 In ipip_lib.sh line 216: tunnel_create g2a $type 192.0.2.66 192.0.2.65 tos inherit dev v$ol2 \ ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tunnel_create g2a "$type" 192.0.2.66 192.0.2.65 tos inherit dev v"$ol2" \ In ipip_lib.sh line 218: __simple_if_init g2a v$ol2 192.0.2.66/32 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: __simple_if_init g2a v"$ol2" 192.0.2.66/32 In ipip_lib.sh line 220: ip route add vrf v$ol2 192.0.2.65/32 via 192.0.2.129 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip route add vrf v"$ol2" 192.0.2.65/32 via 192.0.2.129 In ipip_lib.sh line 221: ip route add vrf v$ol2 192.0.2.0/28 nexthop dev g2a ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip route add vrf v"$ol2" 192.0.2.0/28 nexthop dev g2a In ipip_lib.sh line 229: ip route del vrf v$ol2 192.0.2.0/28 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip route del vrf v"$ol2" 192.0.2.0/28 In ipip_lib.sh line 231: ip route del vrf v$ol2 192.0.2.65/32 via 192.0.2.129 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip route del vrf v"$ol2" 192.0.2.65/32 via 192.0.2.129 In ipip_lib.sh line 235: vlan_destroy $ul2 111 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: vlan_destroy "$ul2" 111 In ipip_lib.sh line 236: __simple_if_fini $ul2 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: __simple_if_fini "$ul2" In ipip_lib.sh line 237: simple_if_fini $ol2 192.0.2.17/28 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: simple_if_fini "$ol2" 192.0.2.17/28 In ipip_lib.sh line 246: simple_if_init $ol1 192.0.2.2/28 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: simple_if_init "$ol1" 192.0.2.2/28 In ipip_lib.sh line 247: simple_if_init $ul1 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: simple_if_init "$ul1" In ipip_lib.sh line 249: __simple_if_init dummy1 v$ul1 192.0.2.65/32 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: __simple_if_init dummy1 v"$ul1" 192.0.2.65/32 In ipip_lib.sh line 251: vlan_create $ul1 111 v$ul1 192.0.2.129/28 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: vlan_create "$ul1" 111 v"$ul1" 192.0.2.129/28 In ipip_lib.sh line 252: tunnel_create g1a $type 192.0.2.65 192.0.2.66 tos inherit dev dummy1 \ ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tunnel_create g1a "$type" 192.0.2.65 192.0.2.66 tos inherit dev dummy1 \ In ipip_lib.sh line 254: ip link set dev g1a master v$ol1 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link set dev g1a master v"$ol1" In ipip_lib.sh line 256: ip route add vrf v$ul1 192.0.2.66/32 via 192.0.2.130 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip route add vrf v"$ul1" 192.0.2.66/32 via 192.0.2.130 In ipip_lib.sh line 257: ip route add vrf v$ol1 192.0.2.16/28 nexthop dev g1a ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip route add vrf v"$ol1" 192.0.2.16/28 nexthop dev g1a In ipip_lib.sh line 265: ip route del vrf v$ol1 192.0.2.16/28 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip route del vrf v"$ol1" 192.0.2.16/28 In ipip_lib.sh line 266: ip route del vrf v$ul1 192.0.2.66/32 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip route del vrf v"$ul1" 192.0.2.66/32 In ipip_lib.sh line 269: vlan_destroy $ul1 111 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: vlan_destroy "$ul1" 111 In ipip_lib.sh line 274: simple_if_fini $ul1 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: simple_if_fini "$ul1" In ipip_lib.sh line 275: simple_if_fini $ol1 192.0.2.2/28 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: simple_if_fini "$ol1" 192.0.2.2/28 In ipip_lib.sh line 284: simple_if_init $ol2 192.0.2.17/28 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: simple_if_init "$ol2" 192.0.2.17/28 In ipip_lib.sh line 285: simple_if_init $ul2 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: simple_if_init "$ul2" In ipip_lib.sh line 288: __simple_if_init dummy2 v$ul2 192.0.2.66/32 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: __simple_if_init dummy2 v"$ul2" 192.0.2.66/32 In ipip_lib.sh line 290: vlan_create $ul2 111 v$ul2 192.0.2.130/28 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: vlan_create "$ul2" 111 v"$ul2" 192.0.2.130/28 In ipip_lib.sh line 291: tunnel_create g2a $type 192.0.2.66 192.0.2.65 tos inherit dev dummy2 \ ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tunnel_create g2a "$type" 192.0.2.66 192.0.2.65 tos inherit dev dummy2 \ In ipip_lib.sh line 293: ip link set dev g2a master v$ol2 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link set dev g2a master v"$ol2" In ipip_lib.sh line 295: ip route add vrf v$ul2 192.0.2.65/32 via 192.0.2.129 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip route add vrf v"$ul2" 192.0.2.65/32 via 192.0.2.129 In ipip_lib.sh line 296: ip route add vrf v$ol2 192.0.2.0/28 nexthop dev g2a ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip route add vrf v"$ol2" 192.0.2.0/28 nexthop dev g2a In ipip_lib.sh line 304: ip route del vrf v$ol2 192.0.2.0/28 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip route del vrf v"$ol2" 192.0.2.0/28 In ipip_lib.sh line 305: ip route del vrf v$ul2 192.0.2.65/32 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip route del vrf v"$ul2" 192.0.2.65/32 In ipip_lib.sh line 308: vlan_destroy $ul2 111 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: vlan_destroy "$ul2" 111 In ipip_lib.sh line 313: simple_if_fini $ul2 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: simple_if_fini "$ul2" In ipip_lib.sh line 314: simple_if_fini $ol2 192.0.2.17/28 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: simple_if_fini "$ol2" 192.0.2.17/28 In ipip_lib.sh line 321: ip link set mtu $mtu dev $h1 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link set mtu "$mtu" dev "$h1" In ipip_lib.sh line 322: ip link set mtu $mtu dev $ol1 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link set mtu "$mtu" dev "$ol1" In ipip_lib.sh line 323: ip link set mtu $mtu dev g1a ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link set mtu "$mtu" dev g1a In ipip_lib.sh line 324: ip link set mtu $mtu dev $ul1 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link set mtu "$mtu" dev "$ul1" In ipip_lib.sh line 325: ip link set mtu $mtu dev $ul1.111 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link set mtu "$mtu" dev "$ul1".111 In ipip_lib.sh line 326: ip link set mtu $mtu dev $h2 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link set mtu "$mtu" dev "$h2" In ipip_lib.sh line 327: ip link set mtu $mtu dev $ol2 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link set mtu "$mtu" dev "$ol2" In ipip_lib.sh line 328: ip link set mtu $mtu dev g2a ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link set mtu "$mtu" dev g2a In ipip_lib.sh line 329: ip link set mtu $mtu dev $ul2 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link set mtu "$mtu" dev "$ul2" In ipip_lib.sh line 330: ip link set mtu $mtu dev $ul2.111 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link set mtu "$mtu" dev "$ul2".111 In ipip_lib.sh line 339: ping_do $h1 192.0.2.18 "-s 1800 -w 3" ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ping_do "$h1" 192.0.2.18 "-s 1800 -w 3" In ipip_lib.sh line 342: RET=0 ^-^ SC2034 (warning): RET appears unused. Verify use (or export if used externally). In ipip_lib.sh line 345: ping_do $h1 192.0.2.18 "-s 1800 -w 3" ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ping_do "$h1" 192.0.2.18 "-s 1800 -w 3" For more information: https://www.shellcheck.net/wiki/SC2034 -- RET appears unused. Verify use (o... https://www.shellcheck.net/wiki/SC2154 -- h1 is referenced but not assigned. https://www.shellcheck.net/wiki/SC2086 -- Double quote to prevent globbing ... ====== Checking the tree with the patch ====== Checking tools/testing/selftests/net/forwarding/gre_multipath.sh - 041daf5529fab6ea06aca0284ce1ad1856fa34ee0679924ef5d30213b2048bbf In gre_multipath.sh line 68: simple_if_init $h1 192.0.2.1/28 2001:db8:1::1/64 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: simple_if_init "$h1" 192.0.2.1/28 2001:db8:1::1/64 In gre_multipath.sh line 69: ip route add vrf v$h1 192.0.2.16/28 via 192.0.2.2 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip route add vrf v"$h1" 192.0.2.16/28 via 192.0.2.2 In gre_multipath.sh line 72: h1_destroy() ^-- SC2329 (info): This function is never invoked. Check usage (or ignored if invoked indirectly). In gre_multipath.sh line 74: ip route del vrf v$h1 192.0.2.16/28 via 192.0.2.2 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip route del vrf v"$h1" 192.0.2.16/28 via 192.0.2.2 In gre_multipath.sh line 75: simple_if_fini $h1 192.0.2.1/28 2001:db8:1::1/64 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: simple_if_fini "$h1" 192.0.2.1/28 2001:db8:1::1/64 In gre_multipath.sh line 80: simple_if_init $ol1 192.0.2.2/28 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: simple_if_init "$ol1" 192.0.2.2/28 In gre_multipath.sh line 81: __simple_if_init $ul1 v$ol1 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: __simple_if_init "$ul1" v"$ol1" In gre_multipath.sh line 82: vlan_create $ul1 111 v$ol1 192.0.2.129/28 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: vlan_create "$ul1" 111 v"$ol1" 192.0.2.129/28 In gre_multipath.sh line 83: vlan_create $ul1 222 v$ol1 192.0.2.145/28 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: vlan_create "$ul1" 222 v"$ol1" 192.0.2.145/28 In gre_multipath.sh line 85: tunnel_create g1a gre 192.0.2.65 192.0.2.66 tos inherit dev v$ol1 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tunnel_create g1a gre 192.0.2.65 192.0.2.66 tos inherit dev v"$ol1" In gre_multipath.sh line 86: __simple_if_init g1a v$ol1 192.0.2.65/32 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: __simple_if_init g1a v"$ol1" 192.0.2.65/32 In gre_multipath.sh line 87: ip route add vrf v$ol1 192.0.2.66/32 via 192.0.2.130 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip route add vrf v"$ol1" 192.0.2.66/32 via 192.0.2.130 In gre_multipath.sh line 89: tunnel_create g1b gre 192.0.2.81 192.0.2.82 tos inherit dev v$ol1 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tunnel_create g1b gre 192.0.2.81 192.0.2.82 tos inherit dev v"$ol1" In gre_multipath.sh line 90: __simple_if_init g1b v$ol1 192.0.2.81/32 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: __simple_if_init g1b v"$ol1" 192.0.2.81/32 In gre_multipath.sh line 91: ip route add vrf v$ol1 192.0.2.82/32 via 192.0.2.146 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip route add vrf v"$ol1" 192.0.2.82/32 via 192.0.2.146 In gre_multipath.sh line 93: ip route add vrf v$ol1 192.0.2.16/28 \ ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip route add vrf v"$ol1" 192.0.2.16/28 \ In gre_multipath.sh line 98: sw1_destroy() ^-- SC2329 (info): This function is never invoked. Check usage (or ignored if invoked indirectly). In gre_multipath.sh line 100: ip route del vrf v$ol1 192.0.2.16/28 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip route del vrf v"$ol1" 192.0.2.16/28 In gre_multipath.sh line 102: ip route del vrf v$ol1 192.0.2.82/32 via 192.0.2.146 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip route del vrf v"$ol1" 192.0.2.82/32 via 192.0.2.146 In gre_multipath.sh line 106: ip route del vrf v$ol1 192.0.2.66/32 via 192.0.2.130 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip route del vrf v"$ol1" 192.0.2.66/32 via 192.0.2.130 In gre_multipath.sh line 110: vlan_destroy $ul1 222 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: vlan_destroy "$ul1" 222 In gre_multipath.sh line 111: vlan_destroy $ul1 111 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: vlan_destroy "$ul1" 111 In gre_multipath.sh line 112: __simple_if_fini $ul1 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: __simple_if_fini "$ul1" In gre_multipath.sh line 113: simple_if_fini $ol1 192.0.2.2/28 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: simple_if_fini "$ol1" 192.0.2.2/28 In gre_multipath.sh line 118: simple_if_init $ol2 192.0.2.17/28 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: simple_if_init "$ol2" 192.0.2.17/28 In gre_multipath.sh line 119: __simple_if_init $ul2 v$ol2 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: __simple_if_init "$ul2" v"$ol2" In gre_multipath.sh line 120: vlan_create $ul2 111 v$ol2 192.0.2.130/28 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: vlan_create "$ul2" 111 v"$ol2" 192.0.2.130/28 In gre_multipath.sh line 121: vlan_create $ul2 222 v$ol2 192.0.2.146/28 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: vlan_create "$ul2" 222 v"$ol2" 192.0.2.146/28 In gre_multipath.sh line 123: tunnel_create g2a gre 192.0.2.66 192.0.2.65 tos inherit dev v$ol2 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tunnel_create g2a gre 192.0.2.66 192.0.2.65 tos inherit dev v"$ol2" In gre_multipath.sh line 124: __simple_if_init g2a v$ol2 192.0.2.66/32 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: __simple_if_init g2a v"$ol2" 192.0.2.66/32 In gre_multipath.sh line 125: ip route add vrf v$ol2 192.0.2.65/32 via 192.0.2.129 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip route add vrf v"$ol2" 192.0.2.65/32 via 192.0.2.129 In gre_multipath.sh line 127: tunnel_create g2b gre 192.0.2.82 192.0.2.81 tos inherit dev v$ol2 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tunnel_create g2b gre 192.0.2.82 192.0.2.81 tos inherit dev v"$ol2" In gre_multipath.sh line 128: __simple_if_init g2b v$ol2 192.0.2.82/32 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: __simple_if_init g2b v"$ol2" 192.0.2.82/32 In gre_multipath.sh line 129: ip route add vrf v$ol2 192.0.2.81/32 via 192.0.2.145 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip route add vrf v"$ol2" 192.0.2.81/32 via 192.0.2.145 In gre_multipath.sh line 131: ip route add vrf v$ol2 192.0.2.0/28 \ ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip route add vrf v"$ol2" 192.0.2.0/28 \ In gre_multipath.sh line 135: tc qdisc add dev $ul2 clsact ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc qdisc add dev "$ul2" clsact In gre_multipath.sh line 136: tc filter add dev $ul2 ingress pref 111 prot 802.1Q \ ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter add dev "$ul2" ingress pref 111 prot 802.1Q \ In gre_multipath.sh line 138: tc filter add dev $ul2 ingress pref 222 prot 802.1Q \ ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter add dev "$ul2" ingress pref 222 prot 802.1Q \ In gre_multipath.sh line 142: sw2_destroy() ^-- SC2329 (info): This function is never invoked. Check usage (or ignored if invoked indirectly). In gre_multipath.sh line 144: tc qdisc del dev $ul2 clsact ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc qdisc del dev "$ul2" clsact In gre_multipath.sh line 146: ip route del vrf v$ol2 192.0.2.0/28 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip route del vrf v"$ol2" 192.0.2.0/28 In gre_multipath.sh line 148: ip route del vrf v$ol2 192.0.2.81/32 via 192.0.2.145 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip route del vrf v"$ol2" 192.0.2.81/32 via 192.0.2.145 In gre_multipath.sh line 152: ip route del vrf v$ol2 192.0.2.65/32 via 192.0.2.129 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip route del vrf v"$ol2" 192.0.2.65/32 via 192.0.2.129 In gre_multipath.sh line 156: vlan_destroy $ul2 222 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: vlan_destroy "$ul2" 222 In gre_multipath.sh line 157: vlan_destroy $ul2 111 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: vlan_destroy "$ul2" 111 In gre_multipath.sh line 158: __simple_if_fini $ul2 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: __simple_if_fini "$ul2" In gre_multipath.sh line 159: simple_if_fini $ol2 192.0.2.17/28 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: simple_if_fini "$ol2" 192.0.2.17/28 In gre_multipath.sh line 164: simple_if_init $h2 192.0.2.18/28 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: simple_if_init "$h2" 192.0.2.18/28 In gre_multipath.sh line 165: ip route add vrf v$h2 192.0.2.0/28 via 192.0.2.17 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip route add vrf v"$h2" 192.0.2.0/28 via 192.0.2.17 In gre_multipath.sh line 168: h2_destroy() ^-- SC2329 (info): This function is never invoked. Check usage (or ignored if invoked indirectly). In gre_multipath.sh line 170: ip route del vrf v$h2 192.0.2.0/28 via 192.0.2.17 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip route del vrf v"$h2" 192.0.2.0/28 via 192.0.2.17 In gre_multipath.sh line 171: simple_if_fini $h2 192.0.2.18/28 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: simple_if_fini "$h2" 192.0.2.18/28 In gre_multipath.sh line 194: cleanup() ^-- SC2329 (info): This function is never invoked. Check usage (or ignored if invoked indirectly). In gre_multipath.sh line 207: multipath4_test() ^-- SC2329 (info): This function is never invoked. Check usage (or ignored if invoked indirectly). In gre_multipath.sh line 214: ip route replace vrf v$ol1 192.0.2.16/28 \ ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip route replace vrf v"$ol1" 192.0.2.16/28 \ In gre_multipath.sh line 215: nexthop dev g1a weight $weight1 \ ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: nexthop dev g1a weight "$weight1" \ In gre_multipath.sh line 216: nexthop dev g1b weight $weight2 ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: nexthop dev g1b weight "$weight2" In gre_multipath.sh line 218: local t0_111=$(tc_rule_stats_get $ul2 111 ingress) ^----^ SC2155 (warning): Declare and assign separately to avoid masking return values. ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: local t0_111=$(tc_rule_stats_get "$ul2" 111 ingress) In gre_multipath.sh line 219: local t0_222=$(tc_rule_stats_get $ul2 222 ingress) ^----^ SC2155 (warning): Declare and assign separately to avoid masking return values. ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: local t0_222=$(tc_rule_stats_get "$ul2" 222 ingress) In gre_multipath.sh line 221: ip vrf exec v$h1 \ ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip vrf exec v"$h1" \ In gre_multipath.sh line 222: $MZ $h1 -q -p 64 -A 192.0.2.1 -B 192.0.2.18 \ ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: "$MZ" "$h1" -q -p 64 -A 192.0.2.1 -B 192.0.2.18 \ In gre_multipath.sh line 223: -d $MZ_DELAY -t udp "sp=1024,dp=0-32768" ^-------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: -d "$MZ_DELAY" -t udp "sp=1024,dp=0-32768" In gre_multipath.sh line 225: local t1_111=$(tc_rule_stats_get $ul2 111 ingress) ^----^ SC2155 (warning): Declare and assign separately to avoid masking return values. ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: local t1_111=$(tc_rule_stats_get "$ul2" 111 ingress) In gre_multipath.sh line 226: local t1_222=$(tc_rule_stats_get $ul2 222 ingress) ^----^ SC2155 (warning): Declare and assign separately to avoid masking return values. ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: local t1_222=$(tc_rule_stats_get "$ul2" 222 ingress) In gre_multipath.sh line 230: multipath_eval "$what" $weight1 $weight2 $d111 $d222 ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: multipath_eval "$what" "$weight1" "$weight2" "$d111" "$d222" In gre_multipath.sh line 232: ip route replace vrf v$ol1 192.0.2.16/28 \ ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip route replace vrf v"$ol1" 192.0.2.16/28 \ In gre_multipath.sh line 238: ping_ipv4() ^-- SC2329 (info): This function is never invoked. Check usage (or ignored if invoked indirectly). In gre_multipath.sh line 240: ping_test $h1 192.0.2.18 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ping_test "$h1" 192.0.2.18 In gre_multipath.sh line 243: multipath_ipv4() ^-- SC2329 (info): This function is never invoked. Check usage (or ignored if invoked indirectly). In gre_multipath.sh line 257: exit $EXIT_STATUS ^----------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: exit "$EXIT_STATUS" For more information: https://www.shellcheck.net/wiki/SC2155 -- Declare and assign separately to ... https://www.shellcheck.net/wiki/SC2086 -- Double quote to prevent globbing ... https://www.shellcheck.net/wiki/SC2329 -- This function is never invoked. C... Checking tools/testing/selftests/net/forwarding/gre_multipath_nh.sh - 68207ae540739013bae3a87bcc0e77bf5b4eedbd08f2e4439b8d9d605ac236bd In gre_multipath_nh.sh line 74: simple_if_init $h1 192.0.2.1/28 2001:db8:1::1/64 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: simple_if_init "$h1" 192.0.2.1/28 2001:db8:1::1/64 In gre_multipath_nh.sh line 75: ip route add vrf v$h1 192.0.2.16/28 via 192.0.2.2 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip route add vrf v"$h1" 192.0.2.16/28 via 192.0.2.2 In gre_multipath_nh.sh line 76: ip route add vrf v$h1 2001:db8:2::/64 via 2001:db8:1::2 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip route add vrf v"$h1" 2001:db8:2::/64 via 2001:db8:1::2 In gre_multipath_nh.sh line 79: h1_destroy() ^-- SC2329 (info): This function is never invoked. Check usage (or ignored if invoked indirectly). In gre_multipath_nh.sh line 81: ip route del vrf v$h1 2001:db8:2::/64 via 2001:db8:1::2 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip route del vrf v"$h1" 2001:db8:2::/64 via 2001:db8:1::2 In gre_multipath_nh.sh line 82: ip route del vrf v$h1 192.0.2.16/28 via 192.0.2.2 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip route del vrf v"$h1" 192.0.2.16/28 via 192.0.2.2 In gre_multipath_nh.sh line 83: simple_if_fini $h1 192.0.2.1/28 2001:db8:1::1/64 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: simple_if_fini "$h1" 192.0.2.1/28 2001:db8:1::1/64 In gre_multipath_nh.sh line 88: simple_if_init $ol1 192.0.2.2/28 2001:db8:1::2/64 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: simple_if_init "$ol1" 192.0.2.2/28 2001:db8:1::2/64 In gre_multipath_nh.sh line 89: __simple_if_init $ul1 v$ol1 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: __simple_if_init "$ul1" v"$ol1" In gre_multipath_nh.sh line 90: vlan_create $ul1 111 v$ol1 192.0.2.129/28 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: vlan_create "$ul1" 111 v"$ol1" 192.0.2.129/28 In gre_multipath_nh.sh line 91: vlan_create $ul1 222 v$ol1 192.0.2.145/28 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: vlan_create "$ul1" 222 v"$ol1" 192.0.2.145/28 In gre_multipath_nh.sh line 93: tunnel_create g1a gre 192.0.2.65 192.0.2.66 tos inherit dev v$ol1 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tunnel_create g1a gre 192.0.2.65 192.0.2.66 tos inherit dev v"$ol1" In gre_multipath_nh.sh line 94: __simple_if_init g1a v$ol1 192.0.2.65/32 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: __simple_if_init g1a v"$ol1" 192.0.2.65/32 In gre_multipath_nh.sh line 95: ip route add vrf v$ol1 192.0.2.66/32 via 192.0.2.130 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip route add vrf v"$ol1" 192.0.2.66/32 via 192.0.2.130 In gre_multipath_nh.sh line 97: tunnel_create g1b gre 192.0.2.81 192.0.2.82 tos inherit dev v$ol1 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tunnel_create g1b gre 192.0.2.81 192.0.2.82 tos inherit dev v"$ol1" In gre_multipath_nh.sh line 98: __simple_if_init g1b v$ol1 192.0.2.81/32 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: __simple_if_init g1b v"$ol1" 192.0.2.81/32 In gre_multipath_nh.sh line 99: ip route add vrf v$ol1 192.0.2.82/32 via 192.0.2.146 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip route add vrf v"$ol1" 192.0.2.82/32 via 192.0.2.146 In gre_multipath_nh.sh line 105: ip route add vrf v$ol1 192.0.2.16/28 nhid 103 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip route add vrf v"$ol1" 192.0.2.16/28 nhid 103 In gre_multipath_nh.sh line 106: ip route add vrf v$ol1 2001:db8:2::/64 nhid 103 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip route add vrf v"$ol1" 2001:db8:2::/64 nhid 103 In gre_multipath_nh.sh line 109: sw1_destroy() ^-- SC2329 (info): This function is never invoked. Check usage (or ignored if invoked indirectly). In gre_multipath_nh.sh line 111: ip route del vrf v$ol1 2001:db8:2::/64 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip route del vrf v"$ol1" 2001:db8:2::/64 In gre_multipath_nh.sh line 112: ip route del vrf v$ol1 192.0.2.16/28 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip route del vrf v"$ol1" 192.0.2.16/28 In gre_multipath_nh.sh line 118: ip route del vrf v$ol1 192.0.2.82/32 via 192.0.2.146 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip route del vrf v"$ol1" 192.0.2.82/32 via 192.0.2.146 In gre_multipath_nh.sh line 122: ip route del vrf v$ol1 192.0.2.66/32 via 192.0.2.130 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip route del vrf v"$ol1" 192.0.2.66/32 via 192.0.2.130 In gre_multipath_nh.sh line 126: vlan_destroy $ul1 222 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: vlan_destroy "$ul1" 222 In gre_multipath_nh.sh line 127: vlan_destroy $ul1 111 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: vlan_destroy "$ul1" 111 In gre_multipath_nh.sh line 128: __simple_if_fini $ul1 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: __simple_if_fini "$ul1" In gre_multipath_nh.sh line 129: simple_if_fini $ol1 192.0.2.2/28 2001:db8:1::2/64 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: simple_if_fini "$ol1" 192.0.2.2/28 2001:db8:1::2/64 In gre_multipath_nh.sh line 134: simple_if_init $ol2 192.0.2.17/28 2001:db8:2::1/64 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: simple_if_init "$ol2" 192.0.2.17/28 2001:db8:2::1/64 In gre_multipath_nh.sh line 135: __simple_if_init $ul2 v$ol2 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: __simple_if_init "$ul2" v"$ol2" In gre_multipath_nh.sh line 136: vlan_create $ul2 111 v$ol2 192.0.2.130/28 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: vlan_create "$ul2" 111 v"$ol2" 192.0.2.130/28 In gre_multipath_nh.sh line 137: vlan_create $ul2 222 v$ol2 192.0.2.146/28 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: vlan_create "$ul2" 222 v"$ol2" 192.0.2.146/28 In gre_multipath_nh.sh line 139: tunnel_create g2a gre 192.0.2.66 192.0.2.65 tos inherit dev v$ol2 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tunnel_create g2a gre 192.0.2.66 192.0.2.65 tos inherit dev v"$ol2" In gre_multipath_nh.sh line 140: __simple_if_init g2a v$ol2 192.0.2.66/32 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: __simple_if_init g2a v"$ol2" 192.0.2.66/32 In gre_multipath_nh.sh line 141: ip route add vrf v$ol2 192.0.2.65/32 via 192.0.2.129 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip route add vrf v"$ol2" 192.0.2.65/32 via 192.0.2.129 In gre_multipath_nh.sh line 143: tunnel_create g2b gre 192.0.2.82 192.0.2.81 tos inherit dev v$ol2 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tunnel_create g2b gre 192.0.2.82 192.0.2.81 tos inherit dev v"$ol2" In gre_multipath_nh.sh line 144: __simple_if_init g2b v$ol2 192.0.2.82/32 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: __simple_if_init g2b v"$ol2" 192.0.2.82/32 In gre_multipath_nh.sh line 145: ip route add vrf v$ol2 192.0.2.81/32 via 192.0.2.145 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip route add vrf v"$ol2" 192.0.2.81/32 via 192.0.2.145 In gre_multipath_nh.sh line 151: ip route add vrf v$ol2 192.0.2.0/28 nhid 203 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip route add vrf v"$ol2" 192.0.2.0/28 nhid 203 In gre_multipath_nh.sh line 152: ip route add vrf v$ol2 2001:db8:1::/64 nhid 203 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip route add vrf v"$ol2" 2001:db8:1::/64 nhid 203 In gre_multipath_nh.sh line 154: tc qdisc add dev $ul2 clsact ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc qdisc add dev "$ul2" clsact In gre_multipath_nh.sh line 155: tc filter add dev $ul2 ingress pref 111 prot 802.1Q \ ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter add dev "$ul2" ingress pref 111 prot 802.1Q \ In gre_multipath_nh.sh line 157: tc filter add dev $ul2 ingress pref 222 prot 802.1Q \ ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter add dev "$ul2" ingress pref 222 prot 802.1Q \ In gre_multipath_nh.sh line 161: sw2_destroy() ^-- SC2329 (info): This function is never invoked. Check usage (or ignored if invoked indirectly). In gre_multipath_nh.sh line 163: tc qdisc del dev $ul2 clsact ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc qdisc del dev "$ul2" clsact In gre_multipath_nh.sh line 165: ip route del vrf v$ol2 2001:db8:1::/64 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip route del vrf v"$ol2" 2001:db8:1::/64 In gre_multipath_nh.sh line 166: ip route del vrf v$ol2 192.0.2.0/28 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip route del vrf v"$ol2" 192.0.2.0/28 In gre_multipath_nh.sh line 172: ip route del vrf v$ol2 192.0.2.81/32 via 192.0.2.145 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip route del vrf v"$ol2" 192.0.2.81/32 via 192.0.2.145 In gre_multipath_nh.sh line 176: ip route del vrf v$ol2 192.0.2.65/32 via 192.0.2.129 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip route del vrf v"$ol2" 192.0.2.65/32 via 192.0.2.129 In gre_multipath_nh.sh line 180: vlan_destroy $ul2 222 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: vlan_destroy "$ul2" 222 In gre_multipath_nh.sh line 181: vlan_destroy $ul2 111 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: vlan_destroy "$ul2" 111 In gre_multipath_nh.sh line 182: __simple_if_fini $ul2 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: __simple_if_fini "$ul2" In gre_multipath_nh.sh line 183: simple_if_fini $ol2 192.0.2.17/28 2001:db8:2::1/64 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: simple_if_fini "$ol2" 192.0.2.17/28 2001:db8:2::1/64 In gre_multipath_nh.sh line 188: simple_if_init $h2 192.0.2.18/28 2001:db8:2::2/64 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: simple_if_init "$h2" 192.0.2.18/28 2001:db8:2::2/64 In gre_multipath_nh.sh line 189: ip route add vrf v$h2 192.0.2.0/28 via 192.0.2.17 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip route add vrf v"$h2" 192.0.2.0/28 via 192.0.2.17 In gre_multipath_nh.sh line 190: ip route add vrf v$h2 2001:db8:1::/64 via 2001:db8:2::1 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip route add vrf v"$h2" 2001:db8:1::/64 via 2001:db8:2::1 In gre_multipath_nh.sh line 193: h2_destroy() ^-- SC2329 (info): This function is never invoked. Check usage (or ignored if invoked indirectly). In gre_multipath_nh.sh line 195: ip route del vrf v$h2 2001:db8:1::/64 via 2001:db8:2::1 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip route del vrf v"$h2" 2001:db8:1::/64 via 2001:db8:2::1 In gre_multipath_nh.sh line 196: ip route del vrf v$h2 192.0.2.0/28 via 192.0.2.17 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip route del vrf v"$h2" 192.0.2.0/28 via 192.0.2.17 In gre_multipath_nh.sh line 197: simple_if_fini $h2 192.0.2.18/28 2001:db8:2::2/64 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: simple_if_fini "$h2" 192.0.2.18/28 2001:db8:2::2/64 In gre_multipath_nh.sh line 220: cleanup() ^-- SC2329 (info): This function is never invoked. Check usage (or ignored if invoked indirectly). In gre_multipath_nh.sh line 233: multipath4_test() ^-- SC2329 (info): This function is never invoked. Check usage (or ignored if invoked indirectly). In gre_multipath_nh.sh line 240: ip nexthop replace id 103 group 101,$weight1/102,$weight2 ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip nexthop replace id 103 group 101,"$weight1"/102,"$weight2" In gre_multipath_nh.sh line 242: local t0_111=$(tc_rule_stats_get $ul2 111 ingress) ^----^ SC2155 (warning): Declare and assign separately to avoid masking return values. ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: local t0_111=$(tc_rule_stats_get "$ul2" 111 ingress) In gre_multipath_nh.sh line 243: local t0_222=$(tc_rule_stats_get $ul2 222 ingress) ^----^ SC2155 (warning): Declare and assign separately to avoid masking return values. ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: local t0_222=$(tc_rule_stats_get "$ul2" 222 ingress) In gre_multipath_nh.sh line 245: ip vrf exec v$h1 \ ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip vrf exec v"$h1" \ In gre_multipath_nh.sh line 246: $MZ $h1 -q -p 64 -A 192.0.2.1 -B 192.0.2.18 \ ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: "$MZ" "$h1" -q -p 64 -A 192.0.2.1 -B 192.0.2.18 \ In gre_multipath_nh.sh line 247: -d $MZ_DELAY -t udp "sp=1024,dp=0-32768" ^-------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: -d "$MZ_DELAY" -t udp "sp=1024,dp=0-32768" In gre_multipath_nh.sh line 249: local t1_111=$(tc_rule_stats_get $ul2 111 ingress) ^----^ SC2155 (warning): Declare and assign separately to avoid masking return values. ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: local t1_111=$(tc_rule_stats_get "$ul2" 111 ingress) In gre_multipath_nh.sh line 250: local t1_222=$(tc_rule_stats_get $ul2 222 ingress) ^----^ SC2155 (warning): Declare and assign separately to avoid masking return values. ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: local t1_222=$(tc_rule_stats_get "$ul2" 222 ingress) In gre_multipath_nh.sh line 254: multipath_eval "$what" $weight1 $weight2 $d111 $d222 ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: multipath_eval "$what" "$weight1" "$weight2" "$d111" "$d222" In gre_multipath_nh.sh line 260: multipath6_test() ^-- SC2329 (info): This function is never invoked. Check usage (or ignored if invoked indirectly). In gre_multipath_nh.sh line 267: ip nexthop replace id 103 group 101,$weight1/102,$weight2 ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip nexthop replace id 103 group 101,"$weight1"/102,"$weight2" In gre_multipath_nh.sh line 269: local t0_111=$(tc_rule_stats_get $ul2 111 ingress) ^----^ SC2155 (warning): Declare and assign separately to avoid masking return values. ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: local t0_111=$(tc_rule_stats_get "$ul2" 111 ingress) In gre_multipath_nh.sh line 270: local t0_222=$(tc_rule_stats_get $ul2 222 ingress) ^----^ SC2155 (warning): Declare and assign separately to avoid masking return values. ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: local t0_222=$(tc_rule_stats_get "$ul2" 222 ingress) In gre_multipath_nh.sh line 272: ip vrf exec v$h1 \ ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip vrf exec v"$h1" \ In gre_multipath_nh.sh line 273: $MZ $h1 -6 -q -p 64 -A 2001:db8:1::1 -B 2001:db8:2::2 \ ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: "$MZ" "$h1" -6 -q -p 64 -A 2001:db8:1::1 -B 2001:db8:2::2 \ In gre_multipath_nh.sh line 274: -d $MZ_DELAY -t udp "sp=1024,dp=0-32768" ^-------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: -d "$MZ_DELAY" -t udp "sp=1024,dp=0-32768" In gre_multipath_nh.sh line 276: local t1_111=$(tc_rule_stats_get $ul2 111 ingress) ^----^ SC2155 (warning): Declare and assign separately to avoid masking return values. ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: local t1_111=$(tc_rule_stats_get "$ul2" 111 ingress) In gre_multipath_nh.sh line 277: local t1_222=$(tc_rule_stats_get $ul2 222 ingress) ^----^ SC2155 (warning): Declare and assign separately to avoid masking return values. ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: local t1_222=$(tc_rule_stats_get "$ul2" 222 ingress) In gre_multipath_nh.sh line 281: multipath_eval "$what" $weight1 $weight2 $d111 $d222 ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: multipath_eval "$what" "$weight1" "$weight2" "$d111" "$d222" In gre_multipath_nh.sh line 287: ping_ipv4() ^-- SC2329 (info): This function is never invoked. Check usage (or ignored if invoked indirectly). In gre_multipath_nh.sh line 289: ping_test $h1 192.0.2.18 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ping_test "$h1" 192.0.2.18 In gre_multipath_nh.sh line 292: ping_ipv6() ^-- SC2329 (info): This function is never invoked. Check usage (or ignored if invoked indirectly). In gre_multipath_nh.sh line 294: ping6_test $h1 2001:db8:2::2 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ping6_test "$h1" 2001:db8:2::2 In gre_multipath_nh.sh line 297: multipath_ipv4() ^-- SC2329 (info): This function is never invoked. Check usage (or ignored if invoked indirectly). In gre_multipath_nh.sh line 305: multipath_ipv6() ^-- SC2329 (info): This function is never invoked. Check usage (or ignored if invoked indirectly). In gre_multipath_nh.sh line 319: exit $EXIT_STATUS ^----------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: exit "$EXIT_STATUS" For more information: https://www.shellcheck.net/wiki/SC2155 -- Declare and assign separately to ... https://www.shellcheck.net/wiki/SC2086 -- Double quote to prevent globbing ... https://www.shellcheck.net/wiki/SC2329 -- This function is never invoked. C... Checking tools/testing/selftests/net/forwarding/gre_multipath_nh_res.sh - e571827e16bd1762796e97364aab10d560d87009cd39dbe2c3419ae03c6d801e In gre_multipath_nh_res.sh line 74: simple_if_init $h1 192.0.2.1/28 2001:db8:1::1/64 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: simple_if_init "$h1" 192.0.2.1/28 2001:db8:1::1/64 In gre_multipath_nh_res.sh line 75: ip route add vrf v$h1 192.0.2.16/28 via 192.0.2.2 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip route add vrf v"$h1" 192.0.2.16/28 via 192.0.2.2 In gre_multipath_nh_res.sh line 76: ip route add vrf v$h1 2001:db8:2::/64 via 2001:db8:1::2 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip route add vrf v"$h1" 2001:db8:2::/64 via 2001:db8:1::2 In gre_multipath_nh_res.sh line 79: h1_destroy() ^-- SC2329 (info): This function is never invoked. Check usage (or ignored if invoked indirectly). In gre_multipath_nh_res.sh line 81: ip route del vrf v$h1 2001:db8:2::/64 via 2001:db8:1::2 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip route del vrf v"$h1" 2001:db8:2::/64 via 2001:db8:1::2 In gre_multipath_nh_res.sh line 82: ip route del vrf v$h1 192.0.2.16/28 via 192.0.2.2 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip route del vrf v"$h1" 192.0.2.16/28 via 192.0.2.2 In gre_multipath_nh_res.sh line 83: simple_if_fini $h1 192.0.2.1/28 2001:db8:1::1/64 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: simple_if_fini "$h1" 192.0.2.1/28 2001:db8:1::1/64 In gre_multipath_nh_res.sh line 88: simple_if_init $ol1 192.0.2.2/28 2001:db8:1::2/64 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: simple_if_init "$ol1" 192.0.2.2/28 2001:db8:1::2/64 In gre_multipath_nh_res.sh line 89: __simple_if_init $ul1 v$ol1 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: __simple_if_init "$ul1" v"$ol1" In gre_multipath_nh_res.sh line 90: vlan_create $ul1 111 v$ol1 192.0.2.129/28 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: vlan_create "$ul1" 111 v"$ol1" 192.0.2.129/28 In gre_multipath_nh_res.sh line 91: vlan_create $ul1 222 v$ol1 192.0.2.145/28 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: vlan_create "$ul1" 222 v"$ol1" 192.0.2.145/28 In gre_multipath_nh_res.sh line 93: tunnel_create g1a gre 192.0.2.65 192.0.2.66 tos inherit dev v$ol1 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tunnel_create g1a gre 192.0.2.65 192.0.2.66 tos inherit dev v"$ol1" In gre_multipath_nh_res.sh line 94: __simple_if_init g1a v$ol1 192.0.2.65/32 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: __simple_if_init g1a v"$ol1" 192.0.2.65/32 In gre_multipath_nh_res.sh line 95: ip route add vrf v$ol1 192.0.2.66/32 via 192.0.2.130 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip route add vrf v"$ol1" 192.0.2.66/32 via 192.0.2.130 In gre_multipath_nh_res.sh line 97: tunnel_create g1b gre 192.0.2.81 192.0.2.82 tos inherit dev v$ol1 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tunnel_create g1b gre 192.0.2.81 192.0.2.82 tos inherit dev v"$ol1" In gre_multipath_nh_res.sh line 98: __simple_if_init g1b v$ol1 192.0.2.81/32 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: __simple_if_init g1b v"$ol1" 192.0.2.81/32 In gre_multipath_nh_res.sh line 99: ip route add vrf v$ol1 192.0.2.82/32 via 192.0.2.146 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip route add vrf v"$ol1" 192.0.2.82/32 via 192.0.2.146 In gre_multipath_nh_res.sh line 106: ip route add vrf v$ol1 192.0.2.16/28 nhid 103 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip route add vrf v"$ol1" 192.0.2.16/28 nhid 103 In gre_multipath_nh_res.sh line 107: ip route add vrf v$ol1 2001:db8:2::/64 nhid 103 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip route add vrf v"$ol1" 2001:db8:2::/64 nhid 103 In gre_multipath_nh_res.sh line 110: sw1_destroy() ^-- SC2329 (info): This function is never invoked. Check usage (or ignored if invoked indirectly). In gre_multipath_nh_res.sh line 112: ip route del vrf v$ol1 2001:db8:2::/64 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip route del vrf v"$ol1" 2001:db8:2::/64 In gre_multipath_nh_res.sh line 113: ip route del vrf v$ol1 192.0.2.16/28 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip route del vrf v"$ol1" 192.0.2.16/28 In gre_multipath_nh_res.sh line 119: ip route del vrf v$ol1 192.0.2.82/32 via 192.0.2.146 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip route del vrf v"$ol1" 192.0.2.82/32 via 192.0.2.146 In gre_multipath_nh_res.sh line 123: ip route del vrf v$ol1 192.0.2.66/32 via 192.0.2.130 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip route del vrf v"$ol1" 192.0.2.66/32 via 192.0.2.130 In gre_multipath_nh_res.sh line 127: vlan_destroy $ul1 222 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: vlan_destroy "$ul1" 222 In gre_multipath_nh_res.sh line 128: vlan_destroy $ul1 111 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: vlan_destroy "$ul1" 111 In gre_multipath_nh_res.sh line 129: __simple_if_fini $ul1 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: __simple_if_fini "$ul1" In gre_multipath_nh_res.sh line 130: simple_if_fini $ol1 192.0.2.2/28 2001:db8:1::2/64 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: simple_if_fini "$ol1" 192.0.2.2/28 2001:db8:1::2/64 In gre_multipath_nh_res.sh line 135: simple_if_init $ol2 192.0.2.17/28 2001:db8:2::1/64 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: simple_if_init "$ol2" 192.0.2.17/28 2001:db8:2::1/64 In gre_multipath_nh_res.sh line 136: __simple_if_init $ul2 v$ol2 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: __simple_if_init "$ul2" v"$ol2" In gre_multipath_nh_res.sh line 137: vlan_create $ul2 111 v$ol2 192.0.2.130/28 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: vlan_create "$ul2" 111 v"$ol2" 192.0.2.130/28 In gre_multipath_nh_res.sh line 138: vlan_create $ul2 222 v$ol2 192.0.2.146/28 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: vlan_create "$ul2" 222 v"$ol2" 192.0.2.146/28 In gre_multipath_nh_res.sh line 140: tunnel_create g2a gre 192.0.2.66 192.0.2.65 tos inherit dev v$ol2 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tunnel_create g2a gre 192.0.2.66 192.0.2.65 tos inherit dev v"$ol2" In gre_multipath_nh_res.sh line 141: __simple_if_init g2a v$ol2 192.0.2.66/32 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: __simple_if_init g2a v"$ol2" 192.0.2.66/32 In gre_multipath_nh_res.sh line 142: ip route add vrf v$ol2 192.0.2.65/32 via 192.0.2.129 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip route add vrf v"$ol2" 192.0.2.65/32 via 192.0.2.129 In gre_multipath_nh_res.sh line 144: tunnel_create g2b gre 192.0.2.82 192.0.2.81 tos inherit dev v$ol2 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tunnel_create g2b gre 192.0.2.82 192.0.2.81 tos inherit dev v"$ol2" In gre_multipath_nh_res.sh line 145: __simple_if_init g2b v$ol2 192.0.2.82/32 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: __simple_if_init g2b v"$ol2" 192.0.2.82/32 In gre_multipath_nh_res.sh line 146: ip route add vrf v$ol2 192.0.2.81/32 via 192.0.2.145 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip route add vrf v"$ol2" 192.0.2.81/32 via 192.0.2.145 In gre_multipath_nh_res.sh line 153: ip route add vrf v$ol2 192.0.2.0/28 nhid 203 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip route add vrf v"$ol2" 192.0.2.0/28 nhid 203 In gre_multipath_nh_res.sh line 154: ip route add vrf v$ol2 2001:db8:1::/64 nhid 203 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip route add vrf v"$ol2" 2001:db8:1::/64 nhid 203 In gre_multipath_nh_res.sh line 156: tc qdisc add dev $ul2 clsact ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc qdisc add dev "$ul2" clsact In gre_multipath_nh_res.sh line 157: tc filter add dev $ul2 ingress pref 111 prot 802.1Q \ ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter add dev "$ul2" ingress pref 111 prot 802.1Q \ In gre_multipath_nh_res.sh line 159: tc filter add dev $ul2 ingress pref 222 prot 802.1Q \ ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter add dev "$ul2" ingress pref 222 prot 802.1Q \ In gre_multipath_nh_res.sh line 163: sw2_destroy() ^-- SC2329 (info): This function is never invoked. Check usage (or ignored if invoked indirectly). In gre_multipath_nh_res.sh line 165: tc qdisc del dev $ul2 clsact ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc qdisc del dev "$ul2" clsact In gre_multipath_nh_res.sh line 167: ip route del vrf v$ol2 2001:db8:1::/64 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip route del vrf v"$ol2" 2001:db8:1::/64 In gre_multipath_nh_res.sh line 168: ip route del vrf v$ol2 192.0.2.0/28 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip route del vrf v"$ol2" 192.0.2.0/28 In gre_multipath_nh_res.sh line 174: ip route del vrf v$ol2 192.0.2.81/32 via 192.0.2.145 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip route del vrf v"$ol2" 192.0.2.81/32 via 192.0.2.145 In gre_multipath_nh_res.sh line 178: ip route del vrf v$ol2 192.0.2.65/32 via 192.0.2.129 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip route del vrf v"$ol2" 192.0.2.65/32 via 192.0.2.129 In gre_multipath_nh_res.sh line 182: vlan_destroy $ul2 222 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: vlan_destroy "$ul2" 222 In gre_multipath_nh_res.sh line 183: vlan_destroy $ul2 111 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: vlan_destroy "$ul2" 111 In gre_multipath_nh_res.sh line 184: __simple_if_fini $ul2 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: __simple_if_fini "$ul2" In gre_multipath_nh_res.sh line 185: simple_if_fini $ol2 192.0.2.17/28 2001:db8:2::1/64 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: simple_if_fini "$ol2" 192.0.2.17/28 2001:db8:2::1/64 In gre_multipath_nh_res.sh line 190: simple_if_init $h2 192.0.2.18/28 2001:db8:2::2/64 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: simple_if_init "$h2" 192.0.2.18/28 2001:db8:2::2/64 In gre_multipath_nh_res.sh line 191: ip route add vrf v$h2 192.0.2.0/28 via 192.0.2.17 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip route add vrf v"$h2" 192.0.2.0/28 via 192.0.2.17 In gre_multipath_nh_res.sh line 192: ip route add vrf v$h2 2001:db8:1::/64 via 2001:db8:2::1 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip route add vrf v"$h2" 2001:db8:1::/64 via 2001:db8:2::1 In gre_multipath_nh_res.sh line 195: h2_destroy() ^-- SC2329 (info): This function is never invoked. Check usage (or ignored if invoked indirectly). In gre_multipath_nh_res.sh line 197: ip route del vrf v$h2 2001:db8:1::/64 via 2001:db8:2::1 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip route del vrf v"$h2" 2001:db8:1::/64 via 2001:db8:2::1 In gre_multipath_nh_res.sh line 198: ip route del vrf v$h2 192.0.2.0/28 via 192.0.2.17 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip route del vrf v"$h2" 192.0.2.0/28 via 192.0.2.17 In gre_multipath_nh_res.sh line 199: simple_if_fini $h2 192.0.2.18/28 2001:db8:2::2/64 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: simple_if_fini "$h2" 192.0.2.18/28 2001:db8:2::2/64 In gre_multipath_nh_res.sh line 222: cleanup() ^-- SC2329 (info): This function is never invoked. Check usage (or ignored if invoked indirectly). In gre_multipath_nh_res.sh line 235: multipath4_test() ^-- SC2329 (info): This function is never invoked. Check usage (or ignored if invoked indirectly). In gre_multipath_nh_res.sh line 242: ip nexthop replace id 103 group 101,$weight1/102,$weight2 \ ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip nexthop replace id 103 group 101,"$weight1"/102,"$weight2" \ In gre_multipath_nh_res.sh line 245: local t0_111=$(tc_rule_stats_get $ul2 111 ingress) ^----^ SC2155 (warning): Declare and assign separately to avoid masking return values. ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: local t0_111=$(tc_rule_stats_get "$ul2" 111 ingress) In gre_multipath_nh_res.sh line 246: local t0_222=$(tc_rule_stats_get $ul2 222 ingress) ^----^ SC2155 (warning): Declare and assign separately to avoid masking return values. ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: local t0_222=$(tc_rule_stats_get "$ul2" 222 ingress) In gre_multipath_nh_res.sh line 248: ip vrf exec v$h1 \ ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip vrf exec v"$h1" \ In gre_multipath_nh_res.sh line 249: $MZ $h1 -q -p 64 -A 192.0.2.1 -B 192.0.2.18 \ ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: "$MZ" "$h1" -q -p 64 -A 192.0.2.1 -B 192.0.2.18 \ In gre_multipath_nh_res.sh line 250: -d $MZ_DELAY -t udp "sp=1024,dp=0-32768" ^-------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: -d "$MZ_DELAY" -t udp "sp=1024,dp=0-32768" In gre_multipath_nh_res.sh line 252: local t1_111=$(tc_rule_stats_get $ul2 111 ingress) ^----^ SC2155 (warning): Declare and assign separately to avoid masking return values. ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: local t1_111=$(tc_rule_stats_get "$ul2" 111 ingress) In gre_multipath_nh_res.sh line 253: local t1_222=$(tc_rule_stats_get $ul2 222 ingress) ^----^ SC2155 (warning): Declare and assign separately to avoid masking return values. ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: local t1_222=$(tc_rule_stats_get "$ul2" 222 ingress) In gre_multipath_nh_res.sh line 257: multipath_eval "$what" $weight1 $weight2 $d111 $d222 ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: multipath_eval "$what" "$weight1" "$weight2" "$d111" "$d222" In gre_multipath_nh_res.sh line 263: multipath6_test() ^-- SC2329 (info): This function is never invoked. Check usage (or ignored if invoked indirectly). In gre_multipath_nh_res.sh line 270: ip nexthop replace id 103 group 101,$weight1/102,$weight2 \ ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip nexthop replace id 103 group 101,"$weight1"/102,"$weight2" \ In gre_multipath_nh_res.sh line 273: local t0_111=$(tc_rule_stats_get $ul2 111 ingress) ^----^ SC2155 (warning): Declare and assign separately to avoid masking return values. ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: local t0_111=$(tc_rule_stats_get "$ul2" 111 ingress) In gre_multipath_nh_res.sh line 274: local t0_222=$(tc_rule_stats_get $ul2 222 ingress) ^----^ SC2155 (warning): Declare and assign separately to avoid masking return values. ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: local t0_222=$(tc_rule_stats_get "$ul2" 222 ingress) In gre_multipath_nh_res.sh line 276: ip vrf exec v$h1 \ ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip vrf exec v"$h1" \ In gre_multipath_nh_res.sh line 277: $MZ $h1 -6 -q -p 64 -A 2001:db8:1::1 -B 2001:db8:2::2 \ ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: "$MZ" "$h1" -6 -q -p 64 -A 2001:db8:1::1 -B 2001:db8:2::2 \ In gre_multipath_nh_res.sh line 278: -d $MZ_DELAY -t udp "sp=1024,dp=0-32768" ^-------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: -d "$MZ_DELAY" -t udp "sp=1024,dp=0-32768" In gre_multipath_nh_res.sh line 280: local t1_111=$(tc_rule_stats_get $ul2 111 ingress) ^----^ SC2155 (warning): Declare and assign separately to avoid masking return values. ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: local t1_111=$(tc_rule_stats_get "$ul2" 111 ingress) In gre_multipath_nh_res.sh line 281: local t1_222=$(tc_rule_stats_get $ul2 222 ingress) ^----^ SC2155 (warning): Declare and assign separately to avoid masking return values. ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: local t1_222=$(tc_rule_stats_get "$ul2" 222 ingress) In gre_multipath_nh_res.sh line 285: multipath_eval "$what" $weight1 $weight2 $d111 $d222 ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: multipath_eval "$what" "$weight1" "$weight2" "$d111" "$d222" In gre_multipath_nh_res.sh line 291: ping_ipv4() ^-- SC2329 (info): This function is never invoked. Check usage (or ignored if invoked indirectly). In gre_multipath_nh_res.sh line 293: ping_test $h1 192.0.2.18 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ping_test "$h1" 192.0.2.18 In gre_multipath_nh_res.sh line 296: ping_ipv6() ^-- SC2329 (info): This function is never invoked. Check usage (or ignored if invoked indirectly). In gre_multipath_nh_res.sh line 298: ping6_test $h1 2001:db8:2::2 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ping6_test "$h1" 2001:db8:2::2 In gre_multipath_nh_res.sh line 301: multipath_ipv4() ^-- SC2329 (info): This function is never invoked. Check usage (or ignored if invoked indirectly). In gre_multipath_nh_res.sh line 309: multipath_ipv6() ^-- SC2329 (info): This function is never invoked. Check usage (or ignored if invoked indirectly). In gre_multipath_nh_res.sh line 323: exit $EXIT_STATUS ^----------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: exit "$EXIT_STATUS" For more information: https://www.shellcheck.net/wiki/SC2155 -- Declare and assign separately to ... https://www.shellcheck.net/wiki/SC2086 -- Double quote to prevent globbing ... https://www.shellcheck.net/wiki/SC2329 -- This function is never invoked. C... Checking tools/testing/selftests/net/forwarding/ipip_lib.sh - 771a614d4c54ac82a9dcd47f7429ad3c9f97f7f0d8c82db8d7c1042789156034 In ipip_lib.sh line 147: simple_if_init $h1 192.0.2.1/28 2001:db8:1::1/64 ^-^ SC2154 (warning): h1 is referenced but not assigned. ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: simple_if_init "$h1" 192.0.2.1/28 2001:db8:1::1/64 In ipip_lib.sh line 148: ip route add vrf v$h1 192.0.2.16/28 via 192.0.2.2 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip route add vrf v"$h1" 192.0.2.16/28 via 192.0.2.2 In ipip_lib.sh line 153: ip route del vrf v$h1 192.0.2.16/28 via 192.0.2.2 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip route del vrf v"$h1" 192.0.2.16/28 via 192.0.2.2 In ipip_lib.sh line 154: simple_if_fini $h1 192.0.2.1/28 2001:db8:1::1/64 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: simple_if_fini "$h1" 192.0.2.1/28 2001:db8:1::1/64 In ipip_lib.sh line 159: simple_if_init $h2 192.0.2.18/28 ^-^ SC2154 (warning): h2 is referenced but not assigned. ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: simple_if_init "$h2" 192.0.2.18/28 In ipip_lib.sh line 160: ip route add vrf v$h2 192.0.2.0/28 via 192.0.2.17 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip route add vrf v"$h2" 192.0.2.0/28 via 192.0.2.17 In ipip_lib.sh line 165: ip route del vrf v$h2 192.0.2.0/28 via 192.0.2.17 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip route del vrf v"$h2" 192.0.2.0/28 via 192.0.2.17 In ipip_lib.sh line 166: simple_if_fini $h2 192.0.2.18/28 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: simple_if_fini "$h2" 192.0.2.18/28 In ipip_lib.sh line 175: ip link set dev $ol1 up ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link set dev "$ol1" up In ipip_lib.sh line 176: __addr_add_del $ol1 add "192.0.2.2/28" ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: __addr_add_del "$ol1" add "192.0.2.2/28" In ipip_lib.sh line 178: ip link set dev $ul1 up ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link set dev "$ul1" up In ipip_lib.sh line 179: vlan_create $ul1 111 "" 192.0.2.129/28 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: vlan_create "$ul1" 111 "" 192.0.2.129/28 In ipip_lib.sh line 181: tunnel_create g1a $type 192.0.2.65 192.0.2.66 tos inherit "$@" ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tunnel_create g1a "$type" 192.0.2.65 192.0.2.66 tos inherit "$@" In ipip_lib.sh line 201: vlan_destroy $ul1 111 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: vlan_destroy "$ul1" 111 In ipip_lib.sh line 202: __simple_if_fini $ul1 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: __simple_if_fini "$ul1" In ipip_lib.sh line 203: __simple_if_fini $ol1 192.0.2.2/28 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: __simple_if_fini "$ol1" 192.0.2.2/28 In ipip_lib.sh line 212: simple_if_init $ol2 192.0.2.17/28 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: simple_if_init "$ol2" 192.0.2.17/28 In ipip_lib.sh line 213: __simple_if_init $ul2 v$ol2 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: __simple_if_init "$ul2" v"$ol2" In ipip_lib.sh line 214: vlan_create $ul2 111 v$ol2 192.0.2.130/28 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: vlan_create "$ul2" 111 v"$ol2" 192.0.2.130/28 In ipip_lib.sh line 216: tunnel_create g2a $type 192.0.2.66 192.0.2.65 tos inherit dev v$ol2 \ ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tunnel_create g2a "$type" 192.0.2.66 192.0.2.65 tos inherit dev v"$ol2" \ In ipip_lib.sh line 218: __simple_if_init g2a v$ol2 192.0.2.66/32 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: __simple_if_init g2a v"$ol2" 192.0.2.66/32 In ipip_lib.sh line 220: ip route add vrf v$ol2 192.0.2.65/32 via 192.0.2.129 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip route add vrf v"$ol2" 192.0.2.65/32 via 192.0.2.129 In ipip_lib.sh line 221: ip route add vrf v$ol2 192.0.2.0/28 nexthop dev g2a ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip route add vrf v"$ol2" 192.0.2.0/28 nexthop dev g2a In ipip_lib.sh line 229: ip route del vrf v$ol2 192.0.2.0/28 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip route del vrf v"$ol2" 192.0.2.0/28 In ipip_lib.sh line 231: ip route del vrf v$ol2 192.0.2.65/32 via 192.0.2.129 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip route del vrf v"$ol2" 192.0.2.65/32 via 192.0.2.129 In ipip_lib.sh line 235: vlan_destroy $ul2 111 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: vlan_destroy "$ul2" 111 In ipip_lib.sh line 236: __simple_if_fini $ul2 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: __simple_if_fini "$ul2" In ipip_lib.sh line 237: simple_if_fini $ol2 192.0.2.17/28 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: simple_if_fini "$ol2" 192.0.2.17/28 In ipip_lib.sh line 246: simple_if_init $ol1 192.0.2.2/28 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: simple_if_init "$ol1" 192.0.2.2/28 In ipip_lib.sh line 247: simple_if_init $ul1 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: simple_if_init "$ul1" In ipip_lib.sh line 249: __simple_if_init dummy1 v$ul1 192.0.2.65/32 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: __simple_if_init dummy1 v"$ul1" 192.0.2.65/32 In ipip_lib.sh line 251: vlan_create $ul1 111 v$ul1 192.0.2.129/28 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: vlan_create "$ul1" 111 v"$ul1" 192.0.2.129/28 In ipip_lib.sh line 252: tunnel_create g1a $type 192.0.2.65 192.0.2.66 tos inherit dev dummy1 \ ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tunnel_create g1a "$type" 192.0.2.65 192.0.2.66 tos inherit dev dummy1 \ In ipip_lib.sh line 254: ip link set dev g1a master v$ol1 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link set dev g1a master v"$ol1" In ipip_lib.sh line 256: ip route add vrf v$ul1 192.0.2.66/32 via 192.0.2.130 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip route add vrf v"$ul1" 192.0.2.66/32 via 192.0.2.130 In ipip_lib.sh line 257: ip route add vrf v$ol1 192.0.2.16/28 nexthop dev g1a ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip route add vrf v"$ol1" 192.0.2.16/28 nexthop dev g1a In ipip_lib.sh line 265: ip route del vrf v$ol1 192.0.2.16/28 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip route del vrf v"$ol1" 192.0.2.16/28 In ipip_lib.sh line 266: ip route del vrf v$ul1 192.0.2.66/32 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip route del vrf v"$ul1" 192.0.2.66/32 In ipip_lib.sh line 269: vlan_destroy $ul1 111 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: vlan_destroy "$ul1" 111 In ipip_lib.sh line 274: simple_if_fini $ul1 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: simple_if_fini "$ul1" In ipip_lib.sh line 275: simple_if_fini $ol1 192.0.2.2/28 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: simple_if_fini "$ol1" 192.0.2.2/28 In ipip_lib.sh line 284: simple_if_init $ol2 192.0.2.17/28 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: simple_if_init "$ol2" 192.0.2.17/28 In ipip_lib.sh line 285: simple_if_init $ul2 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: simple_if_init "$ul2" In ipip_lib.sh line 288: __simple_if_init dummy2 v$ul2 192.0.2.66/32 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: __simple_if_init dummy2 v"$ul2" 192.0.2.66/32 In ipip_lib.sh line 290: vlan_create $ul2 111 v$ul2 192.0.2.130/28 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: vlan_create "$ul2" 111 v"$ul2" 192.0.2.130/28 In ipip_lib.sh line 291: tunnel_create g2a $type 192.0.2.66 192.0.2.65 tos inherit dev dummy2 \ ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tunnel_create g2a "$type" 192.0.2.66 192.0.2.65 tos inherit dev dummy2 \ In ipip_lib.sh line 293: ip link set dev g2a master v$ol2 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link set dev g2a master v"$ol2" In ipip_lib.sh line 295: ip route add vrf v$ul2 192.0.2.65/32 via 192.0.2.129 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip route add vrf v"$ul2" 192.0.2.65/32 via 192.0.2.129 In ipip_lib.sh line 296: ip route add vrf v$ol2 192.0.2.0/28 nexthop dev g2a ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip route add vrf v"$ol2" 192.0.2.0/28 nexthop dev g2a In ipip_lib.sh line 304: ip route del vrf v$ol2 192.0.2.0/28 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip route del vrf v"$ol2" 192.0.2.0/28 In ipip_lib.sh line 305: ip route del vrf v$ul2 192.0.2.65/32 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip route del vrf v"$ul2" 192.0.2.65/32 In ipip_lib.sh line 308: vlan_destroy $ul2 111 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: vlan_destroy "$ul2" 111 In ipip_lib.sh line 313: simple_if_fini $ul2 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: simple_if_fini "$ul2" In ipip_lib.sh line 314: simple_if_fini $ol2 192.0.2.17/28 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: simple_if_fini "$ol2" 192.0.2.17/28 In ipip_lib.sh line 321: ip link set mtu $mtu dev $h1 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link set mtu "$mtu" dev "$h1" In ipip_lib.sh line 322: ip link set mtu $mtu dev $ol1 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link set mtu "$mtu" dev "$ol1" In ipip_lib.sh line 323: ip link set mtu $mtu dev g1a ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link set mtu "$mtu" dev g1a In ipip_lib.sh line 324: ip link set mtu $mtu dev $ul1 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link set mtu "$mtu" dev "$ul1" In ipip_lib.sh line 325: ip link set mtu $mtu dev $ul1.111 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link set mtu "$mtu" dev "$ul1".111 In ipip_lib.sh line 326: ip link set mtu $mtu dev $h2 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link set mtu "$mtu" dev "$h2" In ipip_lib.sh line 327: ip link set mtu $mtu dev $ol2 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link set mtu "$mtu" dev "$ol2" In ipip_lib.sh line 328: ip link set mtu $mtu dev g2a ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link set mtu "$mtu" dev g2a In ipip_lib.sh line 329: ip link set mtu $mtu dev $ul2 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link set mtu "$mtu" dev "$ul2" In ipip_lib.sh line 330: ip link set mtu $mtu dev $ul2.111 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link set mtu "$mtu" dev "$ul2".111 In ipip_lib.sh line 339: ping_do $h1 192.0.2.18 "-s 1800 -w 3" ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ping_do "$h1" 192.0.2.18 "-s 1800 -w 3" In ipip_lib.sh line 342: RET=0 ^-^ SC2034 (warning): RET appears unused. Verify use (or export if used externally). In ipip_lib.sh line 345: ping_do $h1 192.0.2.18 "-s 1800 -w 3" ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ping_do "$h1" 192.0.2.18 "-s 1800 -w 3" For more information: https://www.shellcheck.net/wiki/SC2034 -- RET appears unused. Verify use (o... https://www.shellcheck.net/wiki/SC2154 -- h1 is referenced but not assigned. https://www.shellcheck.net/wiki/SC2086 -- Double quote to prevent globbing ...