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.xmtxqKClzN and /tmp/tmp.zeQsmJUpAB Tree base: 8e6b679bb516 ("selftests: forwarding: tc_flower_cfm: skip tests if tools or feats are missing") Now at: 27e761750ffe ("selftests: forwarding: tc_flower_l2_miss: skip tests if tools or feats are missing") ====== Checking before the patch ====== Checking tools/testing/selftests/net/forwarding/tc_flower_l2_miss.sh - 0e55d18bc9a79132a7f2589ac169f5e0760826f263df8b33c710f1067693ad9a In tc_flower_l2_miss.sh line 31: 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 tc_flower_l2_miss.sh line 34: h1_destroy() ^-- SC2329 (info): This function is never invoked. Check usage (or ignored if invoked indirectly). In tc_flower_l2_miss.sh line 36: 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 tc_flower_l2_miss.sh line 41: simple_if_init $h2 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 "$h2" 192.0.2.2/28 2001:db8:1::2/64 In tc_flower_l2_miss.sh line 44: h2_destroy() ^-- SC2329 (info): This function is never invoked. Check usage (or ignored if invoked indirectly). In tc_flower_l2_miss.sh line 46: simple_if_fini $h2 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 "$h2" 192.0.2.2/28 2001:db8:1::2/64 In tc_flower_l2_miss.sh line 52: ip link set dev $swp1 master br1 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link set dev "$swp1" master br1 In tc_flower_l2_miss.sh line 53: ip link set dev $swp1 up ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link set dev "$swp1" up In tc_flower_l2_miss.sh line 54: ip link set dev $swp2 master br1 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link set dev "$swp2" master br1 In tc_flower_l2_miss.sh line 55: ip link set dev $swp2 up ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link set dev "$swp2" up In tc_flower_l2_miss.sh line 57: tc qdisc add dev $swp2 clsact ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc qdisc add dev "$swp2" clsact In tc_flower_l2_miss.sh line 60: switch_destroy() ^-- SC2329 (info): This function is never invoked. Check usage (or ignored if invoked indirectly). In tc_flower_l2_miss.sh line 62: tc qdisc del dev $swp2 clsact ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc qdisc del dev "$swp2" clsact In tc_flower_l2_miss.sh line 64: ip link set dev $swp2 down ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link set dev "$swp2" down In tc_flower_l2_miss.sh line 65: ip link set dev $swp2 nomaster ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link set dev "$swp2" nomaster In tc_flower_l2_miss.sh line 66: ip link set dev $swp1 down ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link set dev "$swp1" down In tc_flower_l2_miss.sh line 67: ip link set dev $swp1 nomaster ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link set dev "$swp1" nomaster In tc_flower_l2_miss.sh line 71: test_l2_miss_unicast() ^-- SC2329 (info): This function is never invoked. Check usage (or ignored if invoked indirectly). In tc_flower_l2_miss.sh line 80: tc filter add dev $swp2 egress protocol ipv4 handle 101 pref 1 \ ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter add dev "$swp2" egress protocol ipv4 handle 101 pref 1 \ In tc_flower_l2_miss.sh line 81: flower indev $swp1 l2_miss 1 dst_mac $dmac src_ip $sip \ ^---^ 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: flower indev "$swp1" l2_miss 1 dst_mac "$dmac" src_ip "$sip" \ In tc_flower_l2_miss.sh line 82: dst_ip $dip action pass ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: dst_ip "$dip" action pass In tc_flower_l2_miss.sh line 84: tc filter add dev $swp2 egress protocol ipv4 handle 102 pref 1 \ ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter add dev "$swp2" egress protocol ipv4 handle 102 pref 1 \ In tc_flower_l2_miss.sh line 85: flower indev $swp1 l2_miss 0 dst_mac $dmac src_ip $sip \ ^---^ 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: flower indev "$swp1" l2_miss 0 dst_mac "$dmac" src_ip "$sip" \ In tc_flower_l2_miss.sh line 86: dst_ip $dip action pass ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: dst_ip "$dip" action pass In tc_flower_l2_miss.sh line 89: $MZ $h1 -a own -b $dmac -t ip -A $sip -B $dip -c 1 -p 100 -q ^-^ 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: $MZ "$h1" -a own -b "$dmac" -t ip -A "$sip" -B "$dip" -c 1 -p 100 -q In tc_flower_l2_miss.sh line 98: bridge fdb replace $dmac dev $swp2 master static ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: bridge fdb replace "$dmac" dev "$swp2" master static In tc_flower_l2_miss.sh line 100: $MZ $h1 -a own -b $dmac -t ip -A $sip -B $dip -c 1 -p 100 -q ^-^ 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: $MZ "$h1" -a own -b "$dmac" -t ip -A "$sip" -B "$dip" -c 1 -p 100 -q In tc_flower_l2_miss.sh line 109: bridge fdb del $dmac dev $swp2 master static ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: bridge fdb del "$dmac" dev "$swp2" master static In tc_flower_l2_miss.sh line 111: $MZ $h1 -a own -b $dmac -t ip -A $sip -B $dip -c 1 -p 100 -q ^-^ 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: $MZ "$h1" -a own -b "$dmac" -t ip -A "$sip" -B "$dip" -c 1 -p 100 -q In tc_flower_l2_miss.sh line 119: tc filter del dev $swp2 egress protocol ipv4 pref 1 handle 102 flower ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter del dev "$swp2" egress protocol ipv4 pref 1 handle 102 flower In tc_flower_l2_miss.sh line 120: tc filter del dev $swp2 egress protocol ipv4 pref 1 handle 101 flower ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter del dev "$swp2" egress protocol ipv4 pref 1 handle 101 flower In tc_flower_l2_miss.sh line 125: test_l2_miss_multicast_common() ^-- SC2329 (info): This function is never invoked. Check usage (or ignored if invoked indirectly). In tc_flower_l2_miss.sh line 137: tc filter add dev $swp2 egress protocol $proto handle 101 pref 1 \ ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. ^----^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter add dev "$swp2" egress protocol "$proto" handle 101 pref 1 \ In tc_flower_l2_miss.sh line 138: flower indev $swp1 l2_miss 1 src_ip $sip dst_ip $dip \ ^---^ 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: flower indev "$swp1" l2_miss 1 src_ip "$sip" dst_ip "$dip" \ In tc_flower_l2_miss.sh line 141: tc filter add dev $swp2 egress protocol $proto handle 102 pref 1 \ ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. ^----^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter add dev "$swp2" egress protocol "$proto" handle 102 pref 1 \ In tc_flower_l2_miss.sh line 142: flower indev $swp1 l2_miss 0 src_ip $sip dst_ip $dip \ ^---^ 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: flower indev "$swp1" l2_miss 0 src_ip "$sip" dst_ip "$dip" \ In tc_flower_l2_miss.sh line 146: $MZ $mode $h1 -a own -b $dmac -t ip -A $sip -B $dip -c 1 -p 100 -q ^---^ 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. ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: $MZ "$mode" "$h1" -a own -b "$dmac" -t ip -A "$sip" -B "$dip" -c 1 -p 100 -q In tc_flower_l2_miss.sh line 155: bridge mdb replace dev br1 port $swp2 grp $dip permanent ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: bridge mdb replace dev br1 port "$swp2" grp "$dip" permanent In tc_flower_l2_miss.sh line 157: $MZ $mode $h1 -a own -b $dmac -t ip -A $sip -B $dip -c 1 -p 100 -q ^---^ 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. ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: $MZ "$mode" "$h1" -a own -b "$dmac" -t ip -A "$sip" -B "$dip" -c 1 -p 100 -q In tc_flower_l2_miss.sh line 166: bridge mdb del dev br1 port $swp2 grp $dip ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: bridge mdb del dev br1 port "$swp2" grp "$dip" In tc_flower_l2_miss.sh line 168: $MZ $mode $h1 -a own -b $dmac -t ip -A $sip -B $dip -c 1 -p 100 -q ^---^ 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. ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: $MZ "$mode" "$h1" -a own -b "$dmac" -t ip -A "$sip" -B "$dip" -c 1 -p 100 -q In tc_flower_l2_miss.sh line 176: tc filter del dev $swp2 egress protocol $proto pref 1 handle 102 flower ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. ^----^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter del dev "$swp2" egress protocol "$proto" pref 1 handle 102 flower In tc_flower_l2_miss.sh line 177: tc filter del dev $swp2 egress protocol $proto pref 1 handle 101 flower ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. ^----^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter del dev "$swp2" egress protocol "$proto" pref 1 handle 101 flower In tc_flower_l2_miss.sh line 182: test_l2_miss_multicast_ipv4() ^-- SC2329 (info): This function is never invoked. Check usage (or ignored if invoked indirectly). In tc_flower_l2_miss.sh line 191: test_l2_miss_multicast_common $proto $sip $dip $dmac $mode $name ^----^ 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. ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: test_l2_miss_multicast_common "$proto" "$sip" "$dip" "$dmac" "$mode" "$name" In tc_flower_l2_miss.sh line 194: test_l2_miss_multicast_ipv6() ^-- SC2329 (info): This function is never invoked. Check usage (or ignored if invoked indirectly). In tc_flower_l2_miss.sh line 203: test_l2_miss_multicast_common $proto $sip $dip $dmac $mode $name ^----^ 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. ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: test_l2_miss_multicast_common "$proto" "$sip" "$dip" "$dmac" "$mode" "$name" In tc_flower_l2_miss.sh line 206: test_l2_miss_multicast() ^-- SC2329 (info): This function is never invoked. Check usage (or ignored if invoked indirectly). In tc_flower_l2_miss.sh line 210: bridge link set dev $swp2 mcast_router 2 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: bridge link set dev "$swp2" mcast_router 2 In tc_flower_l2_miss.sh line 231: bridge link set dev $swp2 mcast_router 1 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: bridge link set dev "$swp2" mcast_router 1 In tc_flower_l2_miss.sh line 234: test_l2_miss_multicast_common2() ^-- SC2329 (info): This function is never invoked. Check usage (or ignored if invoked indirectly). In tc_flower_l2_miss.sh line 243: test_l2_miss_ll_multicast_common() ^-- SC2329 (info): This function is never invoked. Check usage (or ignored if invoked indirectly). In tc_flower_l2_miss.sh line 254: tc filter add dev $swp2 egress protocol $proto handle 101 pref 1 \ ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. ^----^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter add dev "$swp2" egress protocol "$proto" handle 101 pref 1 \ In tc_flower_l2_miss.sh line 255: flower indev $swp1 l2_miss 1 dst_mac $dmac src_ip $sip \ ^---^ 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: flower indev "$swp1" l2_miss 1 dst_mac "$dmac" src_ip "$sip" \ In tc_flower_l2_miss.sh line 256: dst_ip $dip action pass ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: dst_ip "$dip" action pass In tc_flower_l2_miss.sh line 258: $MZ $mode $h1 -a own -b $dmac -t ip -A $sip -B $dip -c 1 -p 100 -q ^---^ 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. ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: $MZ "$mode" "$h1" -a own -b "$dmac" -t ip -A "$sip" -B "$dip" -c 1 -p 100 -q In tc_flower_l2_miss.sh line 263: tc filter del dev $swp2 egress protocol $proto pref 1 handle 101 flower ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. ^----^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter del dev "$swp2" egress protocol "$proto" pref 1 handle 101 flower In tc_flower_l2_miss.sh line 268: test_l2_miss_ll_multicast_ipv4() ^-- SC2329 (info): This function is never invoked. Check usage (or ignored if invoked indirectly). In tc_flower_l2_miss.sh line 277: test_l2_miss_ll_multicast_common $proto $dmac $sip $dip $mode $name ^----^ 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. ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: test_l2_miss_ll_multicast_common "$proto" "$dmac" "$sip" "$dip" "$mode" "$name" In tc_flower_l2_miss.sh line 280: test_l2_miss_ll_multicast_ipv6() ^-- SC2329 (info): This function is never invoked. Check usage (or ignored if invoked indirectly). In tc_flower_l2_miss.sh line 289: test_l2_miss_ll_multicast_common $proto $dmac $sip $dip $mode $name ^----^ 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. ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: test_l2_miss_ll_multicast_common "$proto" "$dmac" "$sip" "$dip" "$mode" "$name" In tc_flower_l2_miss.sh line 292: test_l2_miss_ll_multicast() ^-- SC2329 (info): This function is never invoked. Check usage (or ignored if invoked indirectly). In tc_flower_l2_miss.sh line 298: test_l2_miss_broadcast() ^-- SC2329 (info): This function is never invoked. Check usage (or ignored if invoked indirectly). In tc_flower_l2_miss.sh line 305: tc filter add dev $swp2 egress protocol all handle 101 pref 1 \ ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter add dev "$swp2" egress protocol all handle 101 pref 1 \ In tc_flower_l2_miss.sh line 306: flower l2_miss 1 dst_mac $dmac src_mac $smac \ ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: flower l2_miss 1 dst_mac "$dmac" src_mac "$smac" \ In tc_flower_l2_miss.sh line 308: tc filter add dev $swp2 egress protocol all handle 102 pref 1 \ ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter add dev "$swp2" egress protocol all handle 102 pref 1 \ In tc_flower_l2_miss.sh line 309: flower l2_miss 0 dst_mac $dmac src_mac $smac \ ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: flower l2_miss 0 dst_mac "$dmac" src_mac "$smac" \ In tc_flower_l2_miss.sh line 312: $MZ $h1 -a $smac -b $dmac -c 1 -p 100 -q ^-^ 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: $MZ "$h1" -a "$smac" -b "$dmac" -c 1 -p 100 -q In tc_flower_l2_miss.sh line 320: tc filter del dev $swp2 egress protocol all pref 1 handle 102 flower ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter del dev "$swp2" egress protocol all pref 1 handle 102 flower In tc_flower_l2_miss.sh line 321: tc filter del dev $swp2 egress protocol all pref 1 handle 101 flower ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter del dev "$swp2" egress protocol all pref 1 handle 101 flower In tc_flower_l2_miss.sh line 340: cleanup() ^-- SC2329 (info): This function is never invoked. Check usage (or ignored if invoked indirectly). In tc_flower_l2_miss.sh line 357: 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/SC2086 -- Double quote to prevent globbing ... https://www.shellcheck.net/wiki/SC2329 -- This function is never invoked. C... ====== Checking the tree with the patch ====== Checking tools/testing/selftests/net/forwarding/tc_flower_l2_miss.sh - 0e55d18bc9a79132a7f2589ac169f5e0760826f263df8b33c710f1067693ad9a In tc_flower_l2_miss.sh line 31: 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 tc_flower_l2_miss.sh line 34: h1_destroy() ^-- SC2329 (info): This function is never invoked. Check usage (or ignored if invoked indirectly). In tc_flower_l2_miss.sh line 36: 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 tc_flower_l2_miss.sh line 41: simple_if_init $h2 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 "$h2" 192.0.2.2/28 2001:db8:1::2/64 In tc_flower_l2_miss.sh line 44: h2_destroy() ^-- SC2329 (info): This function is never invoked. Check usage (or ignored if invoked indirectly). In tc_flower_l2_miss.sh line 46: simple_if_fini $h2 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 "$h2" 192.0.2.2/28 2001:db8:1::2/64 In tc_flower_l2_miss.sh line 52: ip link set dev $swp1 master br1 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link set dev "$swp1" master br1 In tc_flower_l2_miss.sh line 53: ip link set dev $swp1 up ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link set dev "$swp1" up In tc_flower_l2_miss.sh line 54: ip link set dev $swp2 master br1 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link set dev "$swp2" master br1 In tc_flower_l2_miss.sh line 55: ip link set dev $swp2 up ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link set dev "$swp2" up In tc_flower_l2_miss.sh line 57: tc qdisc add dev $swp2 clsact ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc qdisc add dev "$swp2" clsact In tc_flower_l2_miss.sh line 60: switch_destroy() ^-- SC2329 (info): This function is never invoked. Check usage (or ignored if invoked indirectly). In tc_flower_l2_miss.sh line 62: tc qdisc del dev $swp2 clsact ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc qdisc del dev "$swp2" clsact In tc_flower_l2_miss.sh line 64: ip link set dev $swp2 down ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link set dev "$swp2" down In tc_flower_l2_miss.sh line 65: ip link set dev $swp2 nomaster ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link set dev "$swp2" nomaster In tc_flower_l2_miss.sh line 66: ip link set dev $swp1 down ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link set dev "$swp1" down In tc_flower_l2_miss.sh line 67: ip link set dev $swp1 nomaster ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link set dev "$swp1" nomaster In tc_flower_l2_miss.sh line 71: test_l2_miss_unicast() ^-- SC2329 (info): This function is never invoked. Check usage (or ignored if invoked indirectly). In tc_flower_l2_miss.sh line 80: tc filter add dev $swp2 egress protocol ipv4 handle 101 pref 1 \ ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter add dev "$swp2" egress protocol ipv4 handle 101 pref 1 \ In tc_flower_l2_miss.sh line 81: flower indev $swp1 l2_miss 1 dst_mac $dmac src_ip $sip \ ^---^ 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: flower indev "$swp1" l2_miss 1 dst_mac "$dmac" src_ip "$sip" \ In tc_flower_l2_miss.sh line 82: dst_ip $dip action pass ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: dst_ip "$dip" action pass In tc_flower_l2_miss.sh line 84: tc filter add dev $swp2 egress protocol ipv4 handle 102 pref 1 \ ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter add dev "$swp2" egress protocol ipv4 handle 102 pref 1 \ In tc_flower_l2_miss.sh line 85: flower indev $swp1 l2_miss 0 dst_mac $dmac src_ip $sip \ ^---^ 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: flower indev "$swp1" l2_miss 0 dst_mac "$dmac" src_ip "$sip" \ In tc_flower_l2_miss.sh line 86: dst_ip $dip action pass ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: dst_ip "$dip" action pass In tc_flower_l2_miss.sh line 89: $MZ $h1 -a own -b $dmac -t ip -A $sip -B $dip -c 1 -p 100 -q ^-^ 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: $MZ "$h1" -a own -b "$dmac" -t ip -A "$sip" -B "$dip" -c 1 -p 100 -q In tc_flower_l2_miss.sh line 98: bridge fdb replace $dmac dev $swp2 master static ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: bridge fdb replace "$dmac" dev "$swp2" master static In tc_flower_l2_miss.sh line 100: $MZ $h1 -a own -b $dmac -t ip -A $sip -B $dip -c 1 -p 100 -q ^-^ 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: $MZ "$h1" -a own -b "$dmac" -t ip -A "$sip" -B "$dip" -c 1 -p 100 -q In tc_flower_l2_miss.sh line 109: bridge fdb del $dmac dev $swp2 master static ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: bridge fdb del "$dmac" dev "$swp2" master static In tc_flower_l2_miss.sh line 111: $MZ $h1 -a own -b $dmac -t ip -A $sip -B $dip -c 1 -p 100 -q ^-^ 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: $MZ "$h1" -a own -b "$dmac" -t ip -A "$sip" -B "$dip" -c 1 -p 100 -q In tc_flower_l2_miss.sh line 119: tc filter del dev $swp2 egress protocol ipv4 pref 1 handle 102 flower ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter del dev "$swp2" egress protocol ipv4 pref 1 handle 102 flower In tc_flower_l2_miss.sh line 120: tc filter del dev $swp2 egress protocol ipv4 pref 1 handle 101 flower ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter del dev "$swp2" egress protocol ipv4 pref 1 handle 101 flower In tc_flower_l2_miss.sh line 125: test_l2_miss_multicast_common() ^-- SC2329 (info): This function is never invoked. Check usage (or ignored if invoked indirectly). In tc_flower_l2_miss.sh line 137: tc filter add dev $swp2 egress protocol $proto handle 101 pref 1 \ ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. ^----^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter add dev "$swp2" egress protocol "$proto" handle 101 pref 1 \ In tc_flower_l2_miss.sh line 138: flower indev $swp1 l2_miss 1 src_ip $sip dst_ip $dip \ ^---^ 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: flower indev "$swp1" l2_miss 1 src_ip "$sip" dst_ip "$dip" \ In tc_flower_l2_miss.sh line 141: tc filter add dev $swp2 egress protocol $proto handle 102 pref 1 \ ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. ^----^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter add dev "$swp2" egress protocol "$proto" handle 102 pref 1 \ In tc_flower_l2_miss.sh line 142: flower indev $swp1 l2_miss 0 src_ip $sip dst_ip $dip \ ^---^ 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: flower indev "$swp1" l2_miss 0 src_ip "$sip" dst_ip "$dip" \ In tc_flower_l2_miss.sh line 146: $MZ $mode $h1 -a own -b $dmac -t ip -A $sip -B $dip -c 1 -p 100 -q ^---^ 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. ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: $MZ "$mode" "$h1" -a own -b "$dmac" -t ip -A "$sip" -B "$dip" -c 1 -p 100 -q In tc_flower_l2_miss.sh line 155: bridge mdb replace dev br1 port $swp2 grp $dip permanent ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: bridge mdb replace dev br1 port "$swp2" grp "$dip" permanent In tc_flower_l2_miss.sh line 157: $MZ $mode $h1 -a own -b $dmac -t ip -A $sip -B $dip -c 1 -p 100 -q ^---^ 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. ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: $MZ "$mode" "$h1" -a own -b "$dmac" -t ip -A "$sip" -B "$dip" -c 1 -p 100 -q In tc_flower_l2_miss.sh line 166: bridge mdb del dev br1 port $swp2 grp $dip ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: bridge mdb del dev br1 port "$swp2" grp "$dip" In tc_flower_l2_miss.sh line 168: $MZ $mode $h1 -a own -b $dmac -t ip -A $sip -B $dip -c 1 -p 100 -q ^---^ 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. ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: $MZ "$mode" "$h1" -a own -b "$dmac" -t ip -A "$sip" -B "$dip" -c 1 -p 100 -q In tc_flower_l2_miss.sh line 176: tc filter del dev $swp2 egress protocol $proto pref 1 handle 102 flower ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. ^----^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter del dev "$swp2" egress protocol "$proto" pref 1 handle 102 flower In tc_flower_l2_miss.sh line 177: tc filter del dev $swp2 egress protocol $proto pref 1 handle 101 flower ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. ^----^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter del dev "$swp2" egress protocol "$proto" pref 1 handle 101 flower In tc_flower_l2_miss.sh line 182: test_l2_miss_multicast_ipv4() ^-- SC2329 (info): This function is never invoked. Check usage (or ignored if invoked indirectly). In tc_flower_l2_miss.sh line 191: test_l2_miss_multicast_common $proto $sip $dip $dmac $mode $name ^----^ 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. ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: test_l2_miss_multicast_common "$proto" "$sip" "$dip" "$dmac" "$mode" "$name" In tc_flower_l2_miss.sh line 194: test_l2_miss_multicast_ipv6() ^-- SC2329 (info): This function is never invoked. Check usage (or ignored if invoked indirectly). In tc_flower_l2_miss.sh line 203: test_l2_miss_multicast_common $proto $sip $dip $dmac $mode $name ^----^ 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. ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: test_l2_miss_multicast_common "$proto" "$sip" "$dip" "$dmac" "$mode" "$name" In tc_flower_l2_miss.sh line 206: test_l2_miss_multicast() ^-- SC2329 (info): This function is never invoked. Check usage (or ignored if invoked indirectly). In tc_flower_l2_miss.sh line 210: bridge link set dev $swp2 mcast_router 2 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: bridge link set dev "$swp2" mcast_router 2 In tc_flower_l2_miss.sh line 231: bridge link set dev $swp2 mcast_router 1 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: bridge link set dev "$swp2" mcast_router 1 In tc_flower_l2_miss.sh line 234: test_l2_miss_multicast_common2() ^-- SC2329 (info): This function is never invoked. Check usage (or ignored if invoked indirectly). In tc_flower_l2_miss.sh line 243: test_l2_miss_ll_multicast_common() ^-- SC2329 (info): This function is never invoked. Check usage (or ignored if invoked indirectly). In tc_flower_l2_miss.sh line 254: tc filter add dev $swp2 egress protocol $proto handle 101 pref 1 \ ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. ^----^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter add dev "$swp2" egress protocol "$proto" handle 101 pref 1 \ In tc_flower_l2_miss.sh line 255: flower indev $swp1 l2_miss 1 dst_mac $dmac src_ip $sip \ ^---^ 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: flower indev "$swp1" l2_miss 1 dst_mac "$dmac" src_ip "$sip" \ In tc_flower_l2_miss.sh line 256: dst_ip $dip action pass ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: dst_ip "$dip" action pass In tc_flower_l2_miss.sh line 258: $MZ $mode $h1 -a own -b $dmac -t ip -A $sip -B $dip -c 1 -p 100 -q ^---^ 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. ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: $MZ "$mode" "$h1" -a own -b "$dmac" -t ip -A "$sip" -B "$dip" -c 1 -p 100 -q In tc_flower_l2_miss.sh line 263: tc filter del dev $swp2 egress protocol $proto pref 1 handle 101 flower ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. ^----^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter del dev "$swp2" egress protocol "$proto" pref 1 handle 101 flower In tc_flower_l2_miss.sh line 268: test_l2_miss_ll_multicast_ipv4() ^-- SC2329 (info): This function is never invoked. Check usage (or ignored if invoked indirectly). In tc_flower_l2_miss.sh line 277: test_l2_miss_ll_multicast_common $proto $dmac $sip $dip $mode $name ^----^ 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. ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: test_l2_miss_ll_multicast_common "$proto" "$dmac" "$sip" "$dip" "$mode" "$name" In tc_flower_l2_miss.sh line 280: test_l2_miss_ll_multicast_ipv6() ^-- SC2329 (info): This function is never invoked. Check usage (or ignored if invoked indirectly). In tc_flower_l2_miss.sh line 289: test_l2_miss_ll_multicast_common $proto $dmac $sip $dip $mode $name ^----^ 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. ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: test_l2_miss_ll_multicast_common "$proto" "$dmac" "$sip" "$dip" "$mode" "$name" In tc_flower_l2_miss.sh line 292: test_l2_miss_ll_multicast() ^-- SC2329 (info): This function is never invoked. Check usage (or ignored if invoked indirectly). In tc_flower_l2_miss.sh line 298: test_l2_miss_broadcast() ^-- SC2329 (info): This function is never invoked. Check usage (or ignored if invoked indirectly). In tc_flower_l2_miss.sh line 305: tc filter add dev $swp2 egress protocol all handle 101 pref 1 \ ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter add dev "$swp2" egress protocol all handle 101 pref 1 \ In tc_flower_l2_miss.sh line 306: flower l2_miss 1 dst_mac $dmac src_mac $smac \ ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: flower l2_miss 1 dst_mac "$dmac" src_mac "$smac" \ In tc_flower_l2_miss.sh line 308: tc filter add dev $swp2 egress protocol all handle 102 pref 1 \ ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter add dev "$swp2" egress protocol all handle 102 pref 1 \ In tc_flower_l2_miss.sh line 309: flower l2_miss 0 dst_mac $dmac src_mac $smac \ ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: flower l2_miss 0 dst_mac "$dmac" src_mac "$smac" \ In tc_flower_l2_miss.sh line 312: $MZ $h1 -a $smac -b $dmac -c 1 -p 100 -q ^-^ 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: $MZ "$h1" -a "$smac" -b "$dmac" -c 1 -p 100 -q In tc_flower_l2_miss.sh line 320: tc filter del dev $swp2 egress protocol all pref 1 handle 102 flower ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter del dev "$swp2" egress protocol all pref 1 handle 102 flower In tc_flower_l2_miss.sh line 321: tc filter del dev $swp2 egress protocol all pref 1 handle 101 flower ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter del dev "$swp2" egress protocol all pref 1 handle 101 flower In tc_flower_l2_miss.sh line 340: cleanup() ^-- SC2329 (info): This function is never invoked. Check usage (or ignored if invoked indirectly). In tc_flower_l2_miss.sh line 359: 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/SC2086 -- Double quote to prevent globbing ... https://www.shellcheck.net/wiki/SC2329 -- This function is never invoked. C...