ShellCheck - shell script analysis tool version: 0.10.0 license: GNU General Public License, version 3 website: https://www.shellcheck.net Redirect to /tmp/tmp.2k17BjD0Ic and /tmp/tmp.wWw0z2OxII Tree base: 16c610162d1f ("net: call cond_resched() less often in __release_sock()") Now at: 1de990abe25b ("selftests: forwarding: Reorder arguments to obey POSIX getopt") ====== Checking before the patch ====== Checking tools/testing/selftests/net/forwarding/bridge_igmp.sh - 7f05e1ecbd63c4b5170ddfd2a347d3b84f3d3bec9951bb591e877de73485755f In bridge_igmp.sh line 53: simple_if_init $h1 192.0.2.1/24 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/24 2001:db8:1::1/64 In bridge_igmp.sh line 58: simple_if_fini $h1 192.0.2.1/24 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/24 2001:db8:1::1/64 In bridge_igmp.sh line 63: simple_if_init $h2 192.0.2.2/24 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/24 2001:db8:1::2/64 In bridge_igmp.sh line 68: simple_if_fini $h2 192.0.2.2/24 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/24 2001:db8:1::2/64 In bridge_igmp.sh line 75: ip link set dev $swp1 master br0 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link set dev "$swp1" master br0 In bridge_igmp.sh line 76: ip link set dev $swp2 master br0 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link set dev "$swp2" master br0 In bridge_igmp.sh line 79: 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 bridge_igmp.sh line 80: 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 bridge_igmp.sh line 85: 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 bridge_igmp.sh line 86: 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 bridge_igmp.sh line 122: ip address add dev $h2 $TEST_GROUP/32 autojoin ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. ^---------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip address add dev "$h2" "$TEST_GROUP"/32 autojoin In bridge_igmp.sh line 126: bridge mdb show dev br0 | grep $TEST_GROUP 1>/dev/null ^---------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: bridge mdb show dev br0 | grep "$TEST_GROUP" 1>/dev/null In bridge_igmp.sh line 129: mcast_packet_test $TEST_GROUP_MAC 192.0.2.1 $TEST_GROUP $h1 $h2 ^-------------^ 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: mcast_packet_test "$TEST_GROUP_MAC" 192.0.2.1 "$TEST_GROUP" "$h1" "$h2" In bridge_igmp.sh line 135: bridge mdb show dev br0 | grep $TEST_GROUP 1>/dev/null ^---------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: bridge mdb show dev br0 | grep "$TEST_GROUP" 1>/dev/null In bridge_igmp.sh line 138: ip address del dev $h2 $TEST_GROUP/32 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. ^---------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip address del dev "$h2" "$TEST_GROUP"/32 In bridge_igmp.sh line 142: bridge mdb show dev br0 | grep $TEST_GROUP 1>/dev/null ^---------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: bridge mdb show dev br0 | grep "$TEST_GROUP" 1>/dev/null In bridge_igmp.sh line 145: mcast_packet_test $TEST_GROUP_MAC 192.0.2.1 $TEST_GROUP $h1 $h2 ^-------------^ 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: mcast_packet_test "$TEST_GROUP_MAC" 192.0.2.1 "$TEST_GROUP" "$h1" "$h2" In bridge_igmp.sh line 161: $MZ $host1_if -b $mac -c 1 -B $group -t ip "proto=2,p=$MZPKT_IS_INC" -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 "$host1_if" -b "$mac" -c 1 -B "$group" -t ip "proto=2,p=$MZPKT_IS_INC" -q In bridge_igmp.sh line 180: local pkt=$4 ^-^ SC2034 (warning): pkt appears unused. Verify use (or export if used externally). In bridge_igmp.sh line 184: v3include_prepare $host1_if $mac $group ^-------^ 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: v3include_prepare "$host1_if" "$mac" "$group" In bridge_igmp.sh line 186: $MZ $host1_if -c 1 -b $mac -B $group -t ip "proto=2,p=$MZPKT_IS_EXC" -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 "$host1_if" -c 1 -b "$mac" -B "$group" -t ip "proto=2,p=$MZPKT_IS_EXC" -q In bridge_igmp.sh line 212: bridge mdb del dev br0 port $port grp $group ^---^ 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 br0 port "$port" grp "$group" In bridge_igmp.sh line 221: v3include_prepare $h1 $ALL_MAC $ALL_GROUP ^-^ 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: v3include_prepare "$h1" "$ALL_MAC" "$ALL_GROUP" In bridge_igmp.sh line 230: v3cleanup $swp1 $TEST_GROUP ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. ^---------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: v3cleanup "$swp1" "$TEST_GROUP" In bridge_igmp.sh line 238: v3include_prepare $h1 $ALL_MAC $ALL_GROUP ^-^ 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: v3include_prepare "$h1" "$ALL_MAC" "$ALL_GROUP" In bridge_igmp.sh line 240: $MZ $h1 -c 1 -b $ALL_MAC -B $ALL_GROUP -t ip "proto=2,p=$MZPKT_ALLOW" -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" -c 1 -b "$ALL_MAC" -B "$ALL_GROUP" -t ip "proto=2,p=$MZPKT_ALLOW" -q In bridge_igmp.sh line 251: v3cleanup $swp1 $TEST_GROUP ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. ^---------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: v3cleanup "$swp1" "$TEST_GROUP" In bridge_igmp.sh line 259: v3include_prepare $h1 $ALL_MAC $ALL_GROUP ^-^ 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: v3include_prepare "$h1" "$ALL_MAC" "$ALL_GROUP" In bridge_igmp.sh line 261: $MZ $h1 -c 1 -b $ALL_MAC -B $ALL_GROUP -t ip "proto=2,p=$MZPKT_IS_INC2" -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" -c 1 -b "$ALL_MAC" -B "$ALL_GROUP" -t ip "proto=2,p=$MZPKT_IS_INC2" -q In bridge_igmp.sh line 272: v3cleanup $swp1 $TEST_GROUP ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. ^---------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: v3cleanup "$swp1" "$TEST_GROUP" In bridge_igmp.sh line 279: v3exclude_prepare $h1 $ALL_MAC $ALL_GROUP ^-^ 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: v3exclude_prepare "$h1" "$ALL_MAC" "$ALL_GROUP" In bridge_igmp.sh line 286: v3cleanup $swp1 $TEST_GROUP ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. ^---------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: v3cleanup "$swp1" "$TEST_GROUP" In bridge_igmp.sh line 295: v3include_prepare $h1 $ALL_MAC $ALL_GROUP ^-^ 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: v3include_prepare "$h1" "$ALL_MAC" "$ALL_GROUP" In bridge_igmp.sh line 300: $MZ $h1 -c 1 -b $ALL_MAC -B $ALL_GROUP -t ip "proto=2,p=$MZPKT_TO_EXC" -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" -c 1 -b "$ALL_MAC" -B "$ALL_GROUP" -t ip "proto=2,p=$MZPKT_TO_EXC" -q In bridge_igmp.sh line 333: v3cleanup $swp1 $TEST_GROUP ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. ^---------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: v3cleanup "$swp1" "$TEST_GROUP" In bridge_igmp.sh line 342: v3exclude_prepare $h1 $ALL_MAC $ALL_GROUP ^-^ 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: v3exclude_prepare "$h1" "$ALL_MAC" "$ALL_GROUP" In bridge_igmp.sh line 344: $MZ $h1 -c 1 -b $ALL_MAC -B $ALL_GROUP -t ip "proto=2,p=$MZPKT_ALLOW2" -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" -c 1 -b "$ALL_MAC" -B "$ALL_GROUP" -t ip "proto=2,p=$MZPKT_ALLOW2" -q In bridge_igmp.sh line 356: v3cleanup $swp1 $TEST_GROUP ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. ^---------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: v3cleanup "$swp1" "$TEST_GROUP" In bridge_igmp.sh line 365: v3exclude_prepare $h1 $ALL_MAC $ALL_GROUP ^-^ 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: v3exclude_prepare "$h1" "$ALL_MAC" "$ALL_GROUP" In bridge_igmp.sh line 367: $MZ $h1 -c 1 -b $ALL_MAC -B $ALL_GROUP -t ip "proto=2,p=$MZPKT_IS_INC3" -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" -c 1 -b "$ALL_MAC" -B "$ALL_GROUP" -t ip "proto=2,p=$MZPKT_IS_INC3" -q In bridge_igmp.sh line 379: v3cleanup $swp1 $TEST_GROUP ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. ^---------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: v3cleanup "$swp1" "$TEST_GROUP" In bridge_igmp.sh line 388: v3exclude_prepare $h1 $ALL_MAC $ALL_GROUP ^-^ 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: v3exclude_prepare "$h1" "$ALL_MAC" "$ALL_GROUP" In bridge_igmp.sh line 390: $MZ $h1 -c 1 -b $ALL_MAC -B $ALL_GROUP -t ip "proto=2,p=$MZPKT_IS_EXC2" -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" -c 1 -b "$ALL_MAC" -B "$ALL_GROUP" -t ip "proto=2,p=$MZPKT_IS_EXC2" -q In bridge_igmp.sh line 402: v3cleanup $swp1 $TEST_GROUP ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. ^---------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: v3cleanup "$swp1" "$TEST_GROUP" In bridge_igmp.sh line 411: v3exclude_prepare $h1 $ALL_MAC $ALL_GROUP ^-^ 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: v3exclude_prepare "$h1" "$ALL_MAC" "$ALL_GROUP" In bridge_igmp.sh line 416: $MZ $h1 -c 1 -b $ALL_MAC -B $ALL_GROUP -t ip "proto=2,p=$MZPKT_TO_EXC" -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" -c 1 -b "$ALL_MAC" -B "$ALL_GROUP" -t ip "proto=2,p=$MZPKT_TO_EXC" -q In bridge_igmp.sh line 430: v3cleanup $swp1 $TEST_GROUP ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. ^---------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: v3cleanup "$swp1" "$TEST_GROUP" In bridge_igmp.sh line 438: v3include_prepare $h1 $ALL_MAC $ALL_GROUP ^-^ 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: v3include_prepare "$h1" "$ALL_MAC" "$ALL_GROUP" In bridge_igmp.sh line 440: $MZ $h1 -c 1 -b $ALL_MAC -B $ALL_GROUP -t ip "proto=2,p=$MZPKT_BLOCK" -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" -c 1 -b "$ALL_MAC" -B "$ALL_GROUP" -t ip "proto=2,p=$MZPKT_BLOCK" -q In bridge_igmp.sh line 459: v3cleanup $swp1 $TEST_GROUP ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. ^---------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: v3cleanup "$swp1" "$TEST_GROUP" In bridge_igmp.sh line 468: v3exclude_prepare $h1 $ALL_MAC $ALL_GROUP ^-^ 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: v3exclude_prepare "$h1" "$ALL_MAC" "$ALL_GROUP" In bridge_igmp.sh line 473: $MZ $h1 -c 1 -b $ALL_MAC -B $ALL_GROUP -t ip "proto=2,p=$MZPKT_BLOCK" -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" -c 1 -b "$ALL_MAC" -B "$ALL_GROUP" -t ip "proto=2,p=$MZPKT_BLOCK" -q In bridge_igmp.sh line 487: v3cleanup $swp1 $TEST_GROUP ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. ^---------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: v3cleanup "$swp1" "$TEST_GROUP" In bridge_igmp.sh line 500: v3exclude_prepare $h1 $ALL_MAC $ALL_GROUP ^-^ 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: v3exclude_prepare "$h1" "$ALL_MAC" "$ALL_GROUP" In bridge_igmp.sh line 505: $MZ $h1 -c 1 -b $ALL_MAC -B $ALL_GROUP -t ip "proto=2,p=$MZPKT_ALLOW2" -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" -c 1 -b "$ALL_MAC" -B "$ALL_GROUP" -t ip "proto=2,p=$MZPKT_ALLOW2" -q In bridge_igmp.sh line 539: v3cleanup $swp1 $TEST_GROUP ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. ^---------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: v3cleanup "$swp1" "$TEST_GROUP" In bridge_igmp.sh line 546: v3exclude_prepare $h1 $ALL_MAC $ALL_GROUP ^-^ 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: v3exclude_prepare "$h1" "$ALL_MAC" "$ALL_GROUP" In bridge_igmp.sh line 548: $MZ $h2 -c 1 -b $ALL_MAC -B $ALL_GROUP -t ip "proto=2,p=$MZPKT_IS_INC" -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 "$h2" -c 1 -b "$ALL_MAC" -B "$ALL_GROUP" -t ip "proto=2,p=$MZPKT_IS_INC" -q In bridge_igmp.sh line 567: v3cleanup $swp1 $TEST_GROUP ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. ^---------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: v3cleanup "$swp1" "$TEST_GROUP" In bridge_igmp.sh line 568: v3cleanup $swp2 $TEST_GROUP ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. ^---------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: v3cleanup "$swp2" "$TEST_GROUP" In bridge_igmp.sh line 589: [[ $is_port -eq 1 ]] && bridge link set dev $swp1 state 0 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: [[ $is_port -eq 1 ]] && bridge link set dev "$swp1" state 0 In bridge_igmp.sh line 590: [[ $is_port -ne 1 ]] && bridge vlan set vid 1 dev $swp1 state 4 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: [[ $is_port -ne 1 ]] && bridge vlan set vid 1 dev "$swp1" state 4 In bridge_igmp.sh line 592: local tx_s=$(ip -j -p stats show dev $swp1 \ ^--^ 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 tx_s=$(ip -j -p stats show dev "$swp1" \ In bridge_igmp.sh line 596: [[ $is_port -eq 1 ]] && bridge link set dev $swp1 state 3 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: [[ $is_port -eq 1 ]] && bridge link set dev "$swp1" state 3 In bridge_igmp.sh line 597: [[ $is_port -ne 1 ]] && bridge vlan set vid 1 dev $swp1 state 3 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: [[ $is_port -ne 1 ]] && bridge vlan set vid 1 dev "$swp1" state 3 In bridge_igmp.sh line 599: local tx_e=$(ip -j -p stats show dev $swp1 \ ^--^ 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 tx_e=$(ip -j -p stats show dev "$swp1" \ In bridge_igmp.sh line 604: local tx=$(expr $tx_e - $tx_s) ^-- SC2155 (warning): Declare and assign separately to avoid masking return values. ^--^ SC2003 (style): expr is antiquated. Consider rewriting this using $((..)), ${} or [[ ]]. ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: local tx=$(expr "$tx_e" - "$tx_s") In bridge_igmp.sh line 605: test $tx -gt 0 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: test "$tx" -gt 0 In bridge_igmp.sh line 636: 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/SC2034 -- pkt appears unused. Verify use (o... https://www.shellcheck.net/wiki/SC2155 -- Declare and assign separately to ... https://www.shellcheck.net/wiki/SC2086 -- Double quote to prevent globbing ... Checking tools/testing/selftests/net/forwarding/bridge_locked_port.sh - 3e78946c07d764d0a926d5e0d4f7ba771b5bf1b6e1950e416e3e722889ba4bb9 In bridge_locked_port.sh line 21: simple_if_init $h1 192.0.2.1/24 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/24 2001:db8:1::1/64 In bridge_locked_port.sh line 22: vlan_create $h1 100 v$h1 198.51.100.1/24 ^-^ 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 "$h1" 100 v"$h1" 198.51.100.1/24 In bridge_locked_port.sh line 27: vlan_destroy $h1 100 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: vlan_destroy "$h1" 100 In bridge_locked_port.sh line 28: simple_if_fini $h1 192.0.2.1/24 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/24 2001:db8:1::1/64 In bridge_locked_port.sh line 33: simple_if_init $h2 192.0.2.2/24 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/24 2001:db8:1::2/64 In bridge_locked_port.sh line 34: vlan_create $h2 100 v$h2 198.51.100.2/24 ^-^ 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 "$h2" 100 v"$h2" 198.51.100.2/24 In bridge_locked_port.sh line 39: vlan_destroy $h2 100 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: vlan_destroy "$h2" 100 In bridge_locked_port.sh line 40: simple_if_fini $h2 192.0.2.2/24 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/24 2001:db8:1::2/64 In bridge_locked_port.sh line 47: ip link set dev $swp1 master br0 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link set dev "$swp1" master br0 In bridge_locked_port.sh line 48: ip link set dev $swp2 master br0 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link set dev "$swp2" master br0 In bridge_locked_port.sh line 50: bridge link set dev $swp1 learning off ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: bridge link set dev "$swp1" learning off In bridge_locked_port.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 bridge_locked_port.sh line 54: 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 bridge_locked_port.sh line 59: 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 bridge_locked_port.sh line 60: 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 bridge_locked_port.sh line 99: ping_do $h1 192.0.2.2 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ping_do "$h1" 192.0.2.2 In bridge_locked_port.sh line 102: bridge link set dev $swp1 locked on ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: bridge link set dev "$swp1" locked on In bridge_locked_port.sh line 104: ping_do $h1 192.0.2.2 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ping_do "$h1" 192.0.2.2 In bridge_locked_port.sh line 107: bridge fdb add `mac_get $h1` dev $swp1 master static ^-----------^ SC2046 (warning): Quote this to prevent word splitting. ^-----------^ SC2006 (style): Use $(...) notation instead of legacy backticks `...`. ^-^ 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 add $(mac_get "$h1") dev "$swp1" master static In bridge_locked_port.sh line 109: ping_do $h1 192.0.2.2 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ping_do "$h1" 192.0.2.2 In bridge_locked_port.sh line 112: bridge link set dev $swp1 locked off ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: bridge link set dev "$swp1" locked off In bridge_locked_port.sh line 113: bridge fdb del `mac_get $h1` dev $swp1 master static ^-----------^ SC2046 (warning): Quote this to prevent word splitting. ^-----------^ SC2006 (style): Use $(...) notation instead of legacy backticks `...`. ^-^ 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 $(mac_get "$h1") dev "$swp1" master static In bridge_locked_port.sh line 115: ping_do $h1 192.0.2.2 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ping_do "$h1" 192.0.2.2 In bridge_locked_port.sh line 127: bridge vlan add vid 100 dev $swp1 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: bridge vlan add vid 100 dev "$swp1" In bridge_locked_port.sh line 128: bridge vlan add vid 100 dev $swp2 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: bridge vlan add vid 100 dev "$swp2" In bridge_locked_port.sh line 130: ping_do $h1.100 198.51.100.2 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ping_do "$h1".100 198.51.100.2 In bridge_locked_port.sh line 133: bridge link set dev $swp1 locked on ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: bridge link set dev "$swp1" locked on In bridge_locked_port.sh line 134: ping_do $h1.100 198.51.100.2 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ping_do "$h1".100 198.51.100.2 In bridge_locked_port.sh line 137: bridge fdb add `mac_get $h1` dev $swp1 vlan 100 master static ^-----------^ SC2046 (warning): Quote this to prevent word splitting. ^-----------^ SC2006 (style): Use $(...) notation instead of legacy backticks `...`. ^-^ 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 add $(mac_get "$h1") dev "$swp1" vlan 100 master static In bridge_locked_port.sh line 139: ping_do $h1.100 198.51.100.2 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ping_do "$h1".100 198.51.100.2 In bridge_locked_port.sh line 142: bridge link set dev $swp1 locked off ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: bridge link set dev "$swp1" locked off In bridge_locked_port.sh line 143: bridge fdb del `mac_get $h1` dev $swp1 vlan 100 master static ^-----------^ SC2046 (warning): Quote this to prevent word splitting. ^-----------^ SC2006 (style): Use $(...) notation instead of legacy backticks `...`. ^-^ 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 $(mac_get "$h1") dev "$swp1" vlan 100 master static In bridge_locked_port.sh line 145: ping_do $h1.100 198.51.100.2 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ping_do "$h1".100 198.51.100.2 In bridge_locked_port.sh line 148: bridge vlan del vid 100 dev $swp1 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: bridge vlan del vid 100 dev "$swp1" In bridge_locked_port.sh line 149: bridge vlan del vid 100 dev $swp2 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: bridge vlan del vid 100 dev "$swp2" In bridge_locked_port.sh line 158: ping6_do $h1 2001:db8:1::2 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ping6_do "$h1" 2001:db8:1::2 In bridge_locked_port.sh line 161: bridge link set dev $swp1 locked on ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: bridge link set dev "$swp1" locked on In bridge_locked_port.sh line 163: ping6_do $h1 2001:db8:1::2 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ping6_do "$h1" 2001:db8:1::2 In bridge_locked_port.sh line 166: bridge fdb add `mac_get $h1` dev $swp1 master static ^-----------^ SC2046 (warning): Quote this to prevent word splitting. ^-----------^ SC2006 (style): Use $(...) notation instead of legacy backticks `...`. ^-^ 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 add $(mac_get "$h1") dev "$swp1" master static In bridge_locked_port.sh line 167: ping6_do $h1 2001:db8:1::2 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ping6_do "$h1" 2001:db8:1::2 In bridge_locked_port.sh line 170: bridge link set dev $swp1 locked off ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: bridge link set dev "$swp1" locked off In bridge_locked_port.sh line 171: bridge fdb del `mac_get $h1` dev $swp1 master static ^-----------^ SC2046 (warning): Quote this to prevent word splitting. ^-----------^ SC2006 (style): Use $(...) notation instead of legacy backticks `...`. ^-^ 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 $(mac_get "$h1") dev "$swp1" master static In bridge_locked_port.sh line 173: ping6_do $h1 2001:db8:1::2 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ping6_do "$h1" 2001:db8:1::2 In bridge_locked_port.sh line 184: ping_do $h1 192.0.2.2 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ping_do "$h1" 192.0.2.2 In bridge_locked_port.sh line 187: bridge link set dev $swp1 learning on locked on ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: bridge link set dev "$swp1" learning on locked on In bridge_locked_port.sh line 189: ping_do $h1 192.0.2.2 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ping_do "$h1" 192.0.2.2 In bridge_locked_port.sh line 192: bridge fdb get `mac_get $h1` br br0 vlan 1 &> /dev/null ^-----------^ SC2046 (warning): Quote this to prevent word splitting. ^-----------^ SC2006 (style): Use $(...) notation instead of legacy backticks `...`. ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: bridge fdb get $(mac_get "$h1") br br0 vlan 1 &> /dev/null In bridge_locked_port.sh line 195: bridge link set dev $swp1 learning on locked on mab on ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: bridge link set dev "$swp1" learning on locked on mab on In bridge_locked_port.sh line 197: ping_do $h1 192.0.2.2 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ping_do "$h1" 192.0.2.2 In bridge_locked_port.sh line 200: bridge fdb get `mac_get $h1` br br0 vlan 1 | grep "dev $swp1" | grep -q "locked" ^-----------^ SC2046 (warning): Quote this to prevent word splitting. ^-----------^ SC2006 (style): Use $(...) notation instead of legacy backticks `...`. ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: bridge fdb get $(mac_get "$h1") br br0 vlan 1 | grep "dev $swp1" | grep -q "locked" In bridge_locked_port.sh line 203: bridge fdb replace `mac_get $h1` dev $swp1 master static ^-----------^ SC2046 (warning): Quote this to prevent word splitting. ^-----------^ SC2006 (style): Use $(...) notation instead of legacy backticks `...`. ^-^ 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 $(mac_get "$h1") dev "$swp1" master static In bridge_locked_port.sh line 205: ping_do $h1 192.0.2.2 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ping_do "$h1" 192.0.2.2 In bridge_locked_port.sh line 208: bridge fdb get `mac_get $h1` br br0 vlan 1 | grep "dev $swp1" | grep -q "locked" ^-----------^ SC2046 (warning): Quote this to prevent word splitting. ^-----------^ SC2006 (style): Use $(...) notation instead of legacy backticks `...`. ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: bridge fdb get $(mac_get "$h1") br br0 vlan 1 | grep "dev $swp1" | grep -q "locked" In bridge_locked_port.sh line 211: bridge fdb del `mac_get $h1` dev $swp1 master ^-----------^ SC2046 (warning): Quote this to prevent word splitting. ^-----------^ SC2006 (style): Use $(...) notation instead of legacy backticks `...`. ^-^ 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 $(mac_get "$h1") dev "$swp1" master In bridge_locked_port.sh line 212: bridge link set dev $swp1 learning off locked off mab off ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: bridge link set dev "$swp1" learning off locked off mab off In bridge_locked_port.sh line 226: bridge link set dev $swp1 learning on locked on mab on ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: bridge link set dev "$swp1" learning on locked on mab on In bridge_locked_port.sh line 228: $MZ $h1 -q -c 5 -d 100msec -t udp -a $mac -b rand ^-^ 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 -c 5 -d 100msec -t udp -a "$mac" -b rand In bridge_locked_port.sh line 229: bridge fdb get $mac br br0 vlan 1 | grep "dev $swp1" | grep -q "locked" ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: bridge fdb get "$mac" br br0 vlan 1 | grep "dev $swp1" | grep -q "locked" In bridge_locked_port.sh line 232: $MZ $h2 -q -c 5 -d 100msec -t udp -a $mac -b rand ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: $MZ "$h2" -q -c 5 -d 100msec -t udp -a "$mac" -b rand In bridge_locked_port.sh line 233: bridge fdb get $mac br br0 vlan 1 | grep -q "dev $swp2" ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: bridge fdb get "$mac" br br0 vlan 1 | grep -q "dev $swp2" In bridge_locked_port.sh line 236: bridge fdb get $mac br br0 vlan 1 | grep -q "locked" ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: bridge fdb get "$mac" br br0 vlan 1 | grep -q "locked" In bridge_locked_port.sh line 239: $MZ $h1 -q -c 5 -d 100msec -t udp -a $mac -b rand ^-^ 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 -c 5 -d 100msec -t udp -a "$mac" -b rand In bridge_locked_port.sh line 240: bridge fdb get $mac br br0 vlan 1 | grep -q "dev $swp1" ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: bridge fdb get "$mac" br br0 vlan 1 | grep -q "dev $swp1" In bridge_locked_port.sh line 243: bridge fdb del $mac vlan 1 dev $swp2 master ^--^ 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 "$mac" vlan 1 dev "$swp2" master In bridge_locked_port.sh line 244: bridge link set dev $swp1 learning off locked off mab off ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: bridge link set dev "$swp1" learning off locked off mab off In bridge_locked_port.sh line 256: bridge link set dev $swp1 learning on locked off mab on &> /dev/null ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: bridge link set dev "$swp1" learning on locked off mab on &> /dev/null In bridge_locked_port.sh line 259: bridge link set dev $swp1 learning off locked on mab on &> /dev/null ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: bridge link set dev "$swp1" learning off locked on mab on &> /dev/null In bridge_locked_port.sh line 262: bridge link set dev $swp1 learning on locked on mab on ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: bridge link set dev "$swp1" learning on locked on mab on In bridge_locked_port.sh line 265: bridge link set dev $swp1 learning off locked off mab off ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: bridge link set dev "$swp1" learning off locked off mab off In bridge_locked_port.sh line 281: bridge link set dev $swp1 learning on locked on mab on ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: bridge link set dev "$swp1" learning on locked on mab on In bridge_locked_port.sh line 282: bridge link set dev $swp2 learning on locked on mab on ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: bridge link set dev "$swp2" learning on locked on mab on In bridge_locked_port.sh line 285: bridge fdb add $unlocked_mac1 dev $swp1 vlan 1 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 add "$unlocked_mac1" dev "$swp1" vlan 1 master static In bridge_locked_port.sh line 286: bridge fdb add $unlocked_mac2 dev $swp2 vlan 1 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 add "$unlocked_mac2" dev "$swp2" vlan 1 master static In bridge_locked_port.sh line 288: $MZ $h1 -q -c 5 -d 100msec -t udp -a $locked_mac1 -b rand ^-^ 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 -c 5 -d 100msec -t udp -a "$locked_mac1" -b rand In bridge_locked_port.sh line 289: bridge fdb get $locked_mac1 br br0 vlan 1 | grep "dev $swp1" | \ ^----------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: bridge fdb get "$locked_mac1" br br0 vlan 1 | grep "dev $swp1" | \ In bridge_locked_port.sh line 293: $MZ $h2 -q -c 5 -d 100msec -t udp -a $locked_mac2 -b rand ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. ^----------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: $MZ "$h2" -q -c 5 -d 100msec -t udp -a "$locked_mac2" -b rand In bridge_locked_port.sh line 294: bridge fdb get $locked_mac2 br br0 vlan 1 | grep "dev $swp2" | \ ^----------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: bridge fdb get "$locked_mac2" br br0 vlan 1 | grep "dev $swp2" | \ In bridge_locked_port.sh line 300: bridge link set dev $swp1 mab off ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: bridge link set dev "$swp1" mab off In bridge_locked_port.sh line 302: bridge fdb get $unlocked_mac1 br br0 vlan 1 &> /dev/null ^------------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: bridge fdb get "$unlocked_mac1" br br0 vlan 1 &> /dev/null In bridge_locked_port.sh line 305: bridge fdb get $unlocked_mac2 br br0 vlan 1 &> /dev/null ^------------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: bridge fdb get "$unlocked_mac2" br br0 vlan 1 &> /dev/null In bridge_locked_port.sh line 308: bridge fdb get $locked_mac1 br br0 vlan 1 &> /dev/null ^----------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: bridge fdb get "$locked_mac1" br br0 vlan 1 &> /dev/null In bridge_locked_port.sh line 311: bridge fdb get $locked_mac2 br br0 vlan 1 &> /dev/null ^----------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: bridge fdb get "$locked_mac2" br br0 vlan 1 &> /dev/null In bridge_locked_port.sh line 314: bridge fdb del $unlocked_mac2 dev $swp2 vlan 1 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 "$unlocked_mac2" dev "$swp2" vlan 1 master static In bridge_locked_port.sh line 315: bridge fdb del $unlocked_mac1 dev $swp1 vlan 1 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 "$unlocked_mac1" dev "$swp1" vlan 1 master static In bridge_locked_port.sh line 317: bridge link set dev $swp2 learning on locked off mab off ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: bridge link set dev "$swp2" learning on locked off mab off In bridge_locked_port.sh line 318: bridge link set dev $swp1 learning off locked off mab off ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: bridge link set dev "$swp1" learning off locked off mab off In bridge_locked_port.sh line 330: tc qdisc add dev $swp1 clsact ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc qdisc add dev "$swp1" clsact In bridge_locked_port.sh line 331: tc filter add dev $swp1 ingress protocol all pref 1 handle 101 flower \ ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter add dev "$swp1" ingress protocol all pref 1 handle 101 flower \ In bridge_locked_port.sh line 332: action mirred egress redirect dev $swp2 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: action mirred egress redirect dev "$swp2" In bridge_locked_port.sh line 333: bridge link set dev $swp1 learning on locked on mab on ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: bridge link set dev "$swp1" learning on locked on mab on In bridge_locked_port.sh line 335: ping_do $h1 192.0.2.2 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ping_do "$h1" 192.0.2.2 In bridge_locked_port.sh line 338: bridge fdb get `mac_get $h1` br br0 vlan 1 2> /dev/null | \ ^-----------^ SC2046 (warning): Quote this to prevent word splitting. ^-----------^ SC2006 (style): Use $(...) notation instead of legacy backticks `...`. ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: bridge fdb get $(mac_get "$h1") br br0 vlan 1 2> /dev/null | \ In bridge_locked_port.sh line 342: tc filter del dev $swp1 ingress protocol all pref 1 handle 101 flower ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter del dev "$swp1" ingress protocol all pref 1 handle 101 flower In bridge_locked_port.sh line 344: ping_do $h1 192.0.2.2 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ping_do "$h1" 192.0.2.2 In bridge_locked_port.sh line 347: bridge fdb get `mac_get $h1` br br0 vlan 1 2> /dev/null | \ ^-----------^ SC2046 (warning): Quote this to prevent word splitting. ^-----------^ SC2006 (style): Use $(...) notation instead of legacy backticks `...`. ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: bridge fdb get $(mac_get "$h1") br br0 vlan 1 2> /dev/null | \ In bridge_locked_port.sh line 351: bridge fdb del `mac_get $h1` vlan 1 dev $swp1 master ^-----------^ SC2046 (warning): Quote this to prevent word splitting. ^-----------^ SC2006 (style): Use $(...) notation instead of legacy backticks `...`. ^-^ 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 $(mac_get "$h1") vlan 1 dev "$swp1" master In bridge_locked_port.sh line 352: bridge link set dev $swp1 learning off locked off mab off ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: bridge link set dev "$swp1" learning off locked off mab off In bridge_locked_port.sh line 353: tc qdisc del dev $swp1 clsact ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc qdisc del dev "$swp1" clsact In bridge_locked_port.sh line 365: 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/SC2046 -- Quote this to prevent word splitt... https://www.shellcheck.net/wiki/SC2086 -- Double quote to prevent globbing ... https://www.shellcheck.net/wiki/SC2006 -- Use $(...) notation instead of le... Checking tools/testing/selftests/net/forwarding/bridge_mdb.sh - 80187de15f22932021faa9e2faf46f77bb3721772de2eef7a7100a82babbb973 In bridge_mdb.sh line 39: simple_if_init $h1 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: simple_if_init "$h1" In bridge_mdb.sh line 40: vlan_create $h1 10 v$h1 192.0.2.1/28 2001:db8:1::1/64 ^-^ 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 "$h1" 10 v"$h1" 192.0.2.1/28 2001:db8:1::1/64 In bridge_mdb.sh line 41: vlan_create $h1 20 v$h1 198.51.100.1/24 2001:db8:2::1/64 ^-^ 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 "$h1" 20 v"$h1" 198.51.100.1/24 2001:db8:2::1/64 In bridge_mdb.sh line 46: vlan_destroy $h1 20 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: vlan_destroy "$h1" 20 In bridge_mdb.sh line 47: vlan_destroy $h1 10 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: vlan_destroy "$h1" 10 In bridge_mdb.sh line 48: simple_if_fini $h1 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: simple_if_fini "$h1" In bridge_mdb.sh line 53: simple_if_init $h2 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: simple_if_init "$h2" In bridge_mdb.sh line 54: vlan_create $h2 10 v$h2 192.0.2.2/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 "$h2" 10 v"$h2" 192.0.2.2/28 In bridge_mdb.sh line 55: vlan_create $h2 20 v$h2 198.51.100.2/24 ^-^ 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 "$h2" 20 v"$h2" 198.51.100.2/24 In bridge_mdb.sh line 60: vlan_destroy $h2 20 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: vlan_destroy "$h2" 20 In bridge_mdb.sh line 61: vlan_destroy $h2 10 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: vlan_destroy "$h2" 10 In bridge_mdb.sh line 62: simple_if_fini $h2 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: simple_if_fini "$h2" In bridge_mdb.sh line 73: ip link set dev $swp1 master br0 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link set dev "$swp1" master br0 In bridge_mdb.sh line 74: 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 bridge_mdb.sh line 75: bridge vlan add vid 10 dev $swp1 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: bridge vlan add vid 10 dev "$swp1" In bridge_mdb.sh line 76: bridge vlan add vid 20 dev $swp1 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: bridge vlan add vid 20 dev "$swp1" In bridge_mdb.sh line 78: ip link set dev $swp2 master br0 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link set dev "$swp2" master br0 In bridge_mdb.sh line 79: 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 bridge_mdb.sh line 80: bridge vlan add vid 10 dev $swp2 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: bridge vlan add vid 10 dev "$swp2" In bridge_mdb.sh line 81: bridge vlan add vid 20 dev $swp2 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: bridge vlan add vid 20 dev "$swp2" In bridge_mdb.sh line 84: tc qdisc add dev $h2 clsact ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc qdisc add dev "$h2" clsact In bridge_mdb.sh line 89: tc qdisc del dev $h2 clsact ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc qdisc del dev "$h2" clsact In bridge_mdb.sh line 92: bridge vlan del vid 20 dev $swp2 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: bridge vlan del vid 20 dev "$swp2" In bridge_mdb.sh line 93: bridge vlan del vid 10 dev $swp2 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: bridge vlan del vid 10 dev "$swp2" In bridge_mdb.sh line 94: 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 bridge_mdb.sh line 95: 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 bridge_mdb.sh line 97: bridge vlan del vid 20 dev $swp1 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: bridge vlan del vid 20 dev "$swp1" In bridge_mdb.sh line 98: bridge vlan del vid 10 dev $swp1 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: bridge vlan del vid 10 dev "$swp1" In bridge_mdb.sh line 99: 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 bridge_mdb.sh line 100: 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 bridge_mdb.sh line 147: bridge mdb add dev br0 port br0 grp $grp $state vid 10 ^--^ 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 add dev br0 port br0 grp "$grp" "$state" vid 10 In bridge_mdb.sh line 148: bridge mdb get dev br0 grp $grp vid 10 &> /dev/null ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: bridge mdb get dev br0 grp "$grp" vid 10 &> /dev/null In bridge_mdb.sh line 151: bridge mdb replace dev br0 port br0 grp $grp $state vid 10 &> /dev/null ^--^ 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 br0 port br0 grp "$grp" "$state" vid 10 &> /dev/null In bridge_mdb.sh line 154: bridge mdb del dev br0 port br0 grp $grp $state vid 10 ^--^ 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 br0 port br0 grp "$grp" "$state" vid 10 In bridge_mdb.sh line 155: bridge mdb get dev br0 grp $grp vid 10 &> /dev/null ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: bridge mdb get dev br0 grp "$grp" vid 10 &> /dev/null In bridge_mdb.sh line 159: bridge mdb add dev br0 port br0 grp $grp $invalid_state vid 10 \ ^--^ 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 add dev br0 port br0 grp "$grp" "$invalid_state" vid 10 \ In bridge_mdb.sh line 163: bridge mdb add dev br0 port br0 grp $grp src $src $state vid 10 \ ^--^ 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: bridge mdb add dev br0 port br0 grp "$grp" src "$src" "$state" vid 10 \ In bridge_mdb.sh line 167: bridge mdb add dev br0 port br0 grp $grp $state vid 10 \ ^--^ 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 add dev br0 port br0 grp "$grp" "$state" vid 10 \ In bridge_mdb.sh line 171: bridge mdb add dev br0 port br0 grp $grp $state vid 10 \ ^--^ 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 add dev br0 port br0 grp "$grp" "$state" vid 10 \ In bridge_mdb.sh line 172: source_list $src &> /dev/null ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: source_list "$src" &> /dev/null In bridge_mdb.sh line 175: bridge mdb add dev br0 port br0 grp $grp $state vid 10 \ ^--^ 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 add dev br0 port br0 grp "$grp" "$state" vid 10 \ In bridge_mdb.sh line 202: bridge mdb add dev br0 port $swp1 $grp_key permanent vid 10 ^---^ 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 add dev br0 port "$swp1" "$grp_key" permanent vid 10 In bridge_mdb.sh line 203: bridge mdb get dev br0 $grp_key vid 10 &> /dev/null ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: bridge mdb get dev br0 "$grp_key" vid 10 &> /dev/null In bridge_mdb.sh line 206: bridge mdb replace dev br0 port $swp1 $grp_key permanent vid 10 \ ^---^ 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 br0 port "$swp1" "$grp_key" permanent vid 10 \ In bridge_mdb.sh line 210: bridge mdb del dev br0 port $swp1 $grp_key permanent vid 10 ^---^ 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 br0 port "$swp1" "$grp_key" permanent vid 10 In bridge_mdb.sh line 211: bridge mdb get dev br0 $grp_key vid 10 &> /dev/null ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: bridge mdb get dev br0 "$grp_key" vid 10 &> /dev/null In bridge_mdb.sh line 215: bridge mdb add dev br0 port $swp1 $grp_key permanent vid 10 ^---^ 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 add dev br0 port "$swp1" "$grp_key" permanent vid 10 In bridge_mdb.sh line 216: bridge -d mdb get dev br0 $grp_key vid 10 | grep -q "static" ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: bridge -d mdb get dev br0 "$grp_key" vid 10 | grep -q "static" In bridge_mdb.sh line 219: bridge mdb replace dev br0 port $swp1 $grp_key permanent vid 10 \ ^---^ 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 br0 port "$swp1" "$grp_key" permanent vid 10 \ In bridge_mdb.sh line 221: bridge -d mdb get dev br0 $grp_key vid 10 | grep -q "123" ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: bridge -d mdb get dev br0 "$grp_key" vid 10 | grep -q "123" In bridge_mdb.sh line 223: bridge mdb del dev br0 port $swp1 $grp_key permanent vid 10 ^---^ 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 br0 port "$swp1" "$grp_key" permanent vid 10 In bridge_mdb.sh line 226: bridge mdb add dev br0 port $swp1 $grp_key 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 add dev br0 port "$swp1" "$grp_key" permanent In bridge_mdb.sh line 227: bridge mdb get dev br0 $grp_key vid 10 &> /dev/null ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: bridge mdb get dev br0 "$grp_key" vid 10 &> /dev/null In bridge_mdb.sh line 229: bridge mdb get dev br0 $grp_key vid 20 &> /dev/null ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: bridge mdb get dev br0 "$grp_key" vid 20 &> /dev/null In bridge_mdb.sh line 232: bridge mdb del dev br0 port $swp1 $grp_key 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 del dev br0 port "$swp1" "$grp_key" permanent In bridge_mdb.sh line 233: bridge mdb get dev br0 $grp_key vid 10 &> /dev/null ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: bridge mdb get dev br0 "$grp_key" vid 10 &> /dev/null In bridge_mdb.sh line 235: bridge mdb get dev br0 $grp_key vid 20 &> /dev/null ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: bridge mdb get dev br0 "$grp_key" vid 20 &> /dev/null In bridge_mdb.sh line 239: 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 bridge_mdb.sh line 241: bridge mdb add dev br0 port $swp1 $grp_key permanent vid 10 ^---^ 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 add dev br0 port "$swp1" "$grp_key" permanent vid 10 In bridge_mdb.sh line 244: bridge mdb del dev br0 port $swp1 $grp_key permanent vid 10 ^---^ 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 br0 port "$swp1" "$grp_key" permanent vid 10 In bridge_mdb.sh line 246: bridge mdb add dev br0 port $swp1 $grp_key temp vid 10 &> /dev/null ^---^ 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 add dev br0 port "$swp1" "$grp_key" temp vid 10 &> /dev/null In bridge_mdb.sh line 249: 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 bridge_mdb.sh line 250: setup_wait_dev $swp1 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: setup_wait_dev "$swp1" In bridge_mdb.sh line 254: bridge mdb add dev br0 port $swp1 $grp_key permanent vid 10 \ ^---^ 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 add dev br0 port "$swp1" "$grp_key" permanent vid 10 \ In bridge_mdb.sh line 260: bridge mdb add dev br0 port $swp1 $grp_key permanent vid \ ^---^ 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 add dev br0 port "$swp1" "$grp_key" permanent vid \ In bridge_mdb.sh line 265: bridge mdb add dev br0 port $swp1 $grp_key permanent vid 5000 \ ^---^ 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 add dev br0 port "$swp1" "$grp_key" permanent vid 5000 \ In bridge_mdb.sh line 279: for i in $(seq 1 $num_srcs); do ^-------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: for i in $(seq 1 "$num_srcs"); do In bridge_mdb.sh line 283: echo $src_list | cut -c 2- ^-------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: echo "$src_list" | cut -c 2- In bridge_mdb.sh line 300: bridge mdb add dev br0 port $swp1 grp $grp vid 10 ^---^ 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 add dev br0 port "$swp1" grp "$grp" vid 10 In bridge_mdb.sh line 301: bridge -d mdb get dev br0 grp $grp vid 10 | grep -q "exclude" ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: bridge -d mdb get dev br0 grp "$grp" vid 10 | grep -q "exclude" In bridge_mdb.sh line 303: bridge mdb del dev br0 port $swp1 grp $grp vid 10 ^---^ 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 br0 port "$swp1" grp "$grp" vid 10 In bridge_mdb.sh line 306: bridge mdb add dev br0 port $swp1 grp $grp vid 10 filter_mode exclude \ ^---^ 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 add dev br0 port "$swp1" grp "$grp" vid 10 filter_mode exclude \ In bridge_mdb.sh line 307: source_list $src1 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: source_list "$src1" In bridge_mdb.sh line 308: bridge -d mdb get dev br0 grp $grp vid 10 &> /dev/null ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: bridge -d mdb get dev br0 grp "$grp" vid 10 &> /dev/null In bridge_mdb.sh line 310: bridge -d mdb get dev br0 grp $grp src $src1 vid 10 &> /dev/null ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: bridge -d mdb get dev br0 grp "$grp" src "$src1" vid 10 &> /dev/null In bridge_mdb.sh line 312: bridge mdb del dev br0 port $swp1 grp $grp vid 10 ^---^ 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 br0 port "$swp1" grp "$grp" vid 10 In bridge_mdb.sh line 313: bridge -d mdb get dev br0 grp $grp vid 10 &> /dev/null ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: bridge -d mdb get dev br0 grp "$grp" vid 10 &> /dev/null In bridge_mdb.sh line 315: bridge -d mdb get dev br0 grp $grp src $src1 vid 10 &> /dev/null ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: bridge -d mdb get dev br0 grp "$grp" src "$src1" vid 10 &> /dev/null In bridge_mdb.sh line 321: bridge mdb add dev br0 port $swp1 grp $grp permanent vid 10 \ ^---^ 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 add dev br0 port "$swp1" grp "$grp" permanent vid 10 \ In bridge_mdb.sh line 322: filter_mode exclude source_list $src1 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: filter_mode exclude source_list "$src1" In bridge_mdb.sh line 324: bridge -d mdb get dev br0 grp $grp vid 10 | grep -q "permanent" ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: bridge -d mdb get dev br0 grp "$grp" vid 10 | grep -q "permanent" In bridge_mdb.sh line 326: bridge -d mdb get dev br0 grp $grp src $src1 vid 10 | \ ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: bridge -d mdb get dev br0 grp "$grp" src "$src1" vid 10 | \ In bridge_mdb.sh line 330: bridge -d -s mdb get dev br0 grp $grp vid 10 | grep -q " 0.00" ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: bridge -d -s mdb get dev br0 grp "$grp" vid 10 | grep -q " 0.00" In bridge_mdb.sh line 332: bridge -d -s mdb get dev br0 grp $grp vid 10 | grep -q "/0.00" ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: bridge -d -s mdb get dev br0 grp "$grp" vid 10 | grep -q "/0.00" In bridge_mdb.sh line 335: bridge mdb del dev br0 port $swp1 grp $grp vid 10 ^---^ 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 br0 port "$swp1" grp "$grp" vid 10 In bridge_mdb.sh line 339: bridge mdb add dev br0 port $swp1 grp $grp temp vid 10 \ ^---^ 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 add dev br0 port "$swp1" grp "$grp" temp vid 10 \ In bridge_mdb.sh line 340: filter_mode exclude source_list $src1 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: filter_mode exclude source_list "$src1" In bridge_mdb.sh line 342: bridge -d mdb get dev br0 grp $grp vid 10 | grep -q "temp" ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: bridge -d mdb get dev br0 grp "$grp" vid 10 | grep -q "temp" In bridge_mdb.sh line 344: bridge -d mdb get dev br0 grp $grp src $src1 vid 10 | grep -q "temp" ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: bridge -d mdb get dev br0 grp "$grp" src "$src1" vid 10 | grep -q "temp" In bridge_mdb.sh line 347: bridge -d -s mdb get dev br0 grp $grp vid 10 | grep -q " 0.00" ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: bridge -d -s mdb get dev br0 grp "$grp" vid 10 | grep -q " 0.00" In bridge_mdb.sh line 349: bridge -d -s mdb get dev br0 grp $grp vid 10 | grep -q "/0.00" ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: bridge -d -s mdb get dev br0 grp "$grp" vid 10 | grep -q "/0.00" In bridge_mdb.sh line 352: bridge mdb del dev br0 port $swp1 grp $grp vid 10 ^---^ 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 br0 port "$swp1" grp "$grp" vid 10 In bridge_mdb.sh line 356: bridge mdb add dev br0 port $swp1 grp $grp temp vid 10 \ ^---^ 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 add dev br0 port "$swp1" grp "$grp" temp vid 10 \ In bridge_mdb.sh line 357: filter_mode include source_list $src1 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: filter_mode include source_list "$src1" In bridge_mdb.sh line 359: bridge -d mdb get dev br0 grp $grp vid 10 | grep -q "temp" ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: bridge -d mdb get dev br0 grp "$grp" vid 10 | grep -q "temp" In bridge_mdb.sh line 361: bridge -d mdb get dev br0 grp $grp src $src1 vid 10 | grep -q "temp" ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: bridge -d mdb get dev br0 grp "$grp" src "$src1" vid 10 | grep -q "temp" In bridge_mdb.sh line 364: bridge -d -s mdb get dev br0 grp $grp vid 10 | grep -q " 0.00" ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: bridge -d -s mdb get dev br0 grp "$grp" vid 10 | grep -q " 0.00" In bridge_mdb.sh line 366: bridge -d -s mdb get dev br0 grp $grp vid 10 | grep -q "/0.00" ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: bridge -d -s mdb get dev br0 grp "$grp" vid 10 | grep -q "/0.00" In bridge_mdb.sh line 369: bridge mdb del dev br0 port $swp1 grp $grp vid 10 ^---^ 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 br0 port "$swp1" grp "$grp" vid 10 In bridge_mdb.sh line 372: bridge mdb add dev br0 port $swp1 grp $grp temp vid 10 \ ^---^ 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 add dev br0 port "$swp1" grp "$grp" temp vid 10 \ In bridge_mdb.sh line 373: filter_mode include source_list $src1 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: filter_mode include source_list "$src1" In bridge_mdb.sh line 375: bridge -d -s mdb get dev br0 grp $grp src $src1 vid 10 | grep -q " 0.00" ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: bridge -d -s mdb get dev br0 grp "$grp" src "$src1" vid 10 | grep -q " 0.00" In bridge_mdb.sh line 378: bridge mdb del dev br0 port $swp1 grp $grp vid 10 ^---^ 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 br0 port "$swp1" grp "$grp" vid 10 In bridge_mdb.sh line 384: bridge mdb add dev br0 port $swp1 grp $grp vid 10 \ ^---^ 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 add dev br0 port "$swp1" grp "$grp" vid 10 \ In bridge_mdb.sh line 385: filter_mode include source_list $src1 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: filter_mode include source_list "$src1" In bridge_mdb.sh line 387: bridge -d mdb get dev br0 grp $grp vid 10 | grep -q "include" ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: bridge -d mdb get dev br0 grp "$grp" vid 10 | grep -q "include" In bridge_mdb.sh line 389: bridge -d mdb get dev br0 grp $grp src $src1 vid 10 | grep -q "blocked" ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: bridge -d mdb get dev br0 grp "$grp" src "$src1" vid 10 | grep -q "blocked" In bridge_mdb.sh line 392: bridge mdb del dev br0 port $swp1 grp $grp vid 10 ^---^ 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 br0 port "$swp1" grp "$grp" vid 10 In bridge_mdb.sh line 396: bridge mdb add dev br0 port $swp1 grp $grp vid 10 \ ^---^ 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 add dev br0 port "$swp1" grp "$grp" vid 10 \ In bridge_mdb.sh line 397: filter_mode exclude source_list $src1 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: filter_mode exclude source_list "$src1" In bridge_mdb.sh line 399: bridge -d mdb get dev br0 grp $grp vid 10 | grep -q "exclude" ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: bridge -d mdb get dev br0 grp "$grp" vid 10 | grep -q "exclude" In bridge_mdb.sh line 401: bridge -d mdb get dev br0 grp $grp src $src1 vid 10 | grep -q "blocked" ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: bridge -d mdb get dev br0 grp "$grp" src "$src1" vid 10 | grep -q "blocked" In bridge_mdb.sh line 404: bridge mdb del dev br0 port $swp1 grp $grp vid 10 ^---^ 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 br0 port "$swp1" grp "$grp" vid 10 In bridge_mdb.sh line 410: bridge mdb add dev br0 port $swp1 grp $grp vid 10 \ ^---^ 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 add dev br0 port "$swp1" grp "$grp" vid 10 \ In bridge_mdb.sh line 411: filter_mode exclude source_list $src1 proto zebra ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: filter_mode exclude source_list "$src1" proto zebra In bridge_mdb.sh line 413: bridge -d mdb get dev br0 grp $grp vid 10 | grep -q "zebra" ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: bridge -d mdb get dev br0 grp "$grp" vid 10 | grep -q "zebra" In bridge_mdb.sh line 415: bridge -d mdb get dev br0 grp $grp src $src1 vid 10 | grep -q "zebra" ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: bridge -d mdb get dev br0 grp "$grp" src "$src1" vid 10 | grep -q "zebra" In bridge_mdb.sh line 418: bridge mdb del dev br0 port $swp1 grp $grp vid 10 ^---^ 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 br0 port "$swp1" grp "$grp" vid 10 In bridge_mdb.sh line 423: bridge mdb add dev br0 port $swp1 grp $grp temp vid 10 \ ^---^ 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 add dev br0 port "$swp1" grp "$grp" temp vid 10 \ In bridge_mdb.sh line 424: filter_mode exclude source_list $src1 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: filter_mode exclude source_list "$src1" In bridge_mdb.sh line 426: bridge mdb replace dev br0 port $swp1 grp $grp permanent vid 10 \ ^---^ 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 br0 port "$swp1" grp "$grp" permanent vid 10 \ In bridge_mdb.sh line 427: filter_mode exclude source_list $src1 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: filter_mode exclude source_list "$src1" In bridge_mdb.sh line 428: bridge -d mdb get dev br0 grp $grp vid 10 | grep -q "permanent" ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: bridge -d mdb get dev br0 grp "$grp" vid 10 | grep -q "permanent" In bridge_mdb.sh line 430: bridge -d mdb get dev br0 grp $grp src $src1 vid 10 | grep -q "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 -d mdb get dev br0 grp "$grp" src "$src1" vid 10 | grep -q "permanent" In bridge_mdb.sh line 433: bridge mdb replace dev br0 port $swp1 grp $grp temp vid 10 \ ^---^ 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 br0 port "$swp1" grp "$grp" temp vid 10 \ In bridge_mdb.sh line 434: filter_mode exclude source_list $src1 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: filter_mode exclude source_list "$src1" In bridge_mdb.sh line 435: bridge -d mdb get dev br0 grp $grp vid 10 | grep -q "temp" ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: bridge -d mdb get dev br0 grp "$grp" vid 10 | grep -q "temp" In bridge_mdb.sh line 437: bridge -d mdb get dev br0 grp $grp src $src1 vid 10 | grep -q "temp" ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: bridge -d mdb get dev br0 grp "$grp" src "$src1" vid 10 | grep -q "temp" In bridge_mdb.sh line 440: bridge mdb del dev br0 port $swp1 grp $grp vid 10 ^---^ 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 br0 port "$swp1" grp "$grp" vid 10 In bridge_mdb.sh line 443: bridge mdb add dev br0 port $swp1 grp $grp temp vid 10 \ ^---^ 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 add dev br0 port "$swp1" grp "$grp" temp vid 10 \ In bridge_mdb.sh line 444: filter_mode exclude source_list $src1 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: filter_mode exclude source_list "$src1" In bridge_mdb.sh line 446: bridge mdb replace dev br0 port $swp1 grp $grp temp vid 10 \ ^---^ 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 br0 port "$swp1" grp "$grp" temp vid 10 \ In bridge_mdb.sh line 447: filter_mode include source_list $src1 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: filter_mode include source_list "$src1" In bridge_mdb.sh line 448: bridge -d mdb get dev br0 grp $grp vid 10 | grep -q "include" ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: bridge -d mdb get dev br0 grp "$grp" vid 10 | grep -q "include" In bridge_mdb.sh line 450: bridge -d mdb get dev br0 grp $grp src $src1 vid 10 | grep -q "blocked" ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: bridge -d mdb get dev br0 grp "$grp" src "$src1" vid 10 | grep -q "blocked" In bridge_mdb.sh line 453: bridge mdb replace dev br0 port $swp1 grp $grp temp vid 10 \ ^---^ 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 br0 port "$swp1" grp "$grp" temp vid 10 \ In bridge_mdb.sh line 454: filter_mode exclude source_list $src1 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: filter_mode exclude source_list "$src1" In bridge_mdb.sh line 455: bridge -d mdb get dev br0 grp $grp vid 10 | grep -q "exclude" ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: bridge -d mdb get dev br0 grp "$grp" vid 10 | grep -q "exclude" In bridge_mdb.sh line 457: bridge -d mdb get dev br0 grp $grp src $src1 vid 10 | grep -q "blocked" ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: bridge -d mdb get dev br0 grp "$grp" src "$src1" vid 10 | grep -q "blocked" In bridge_mdb.sh line 460: bridge mdb del dev br0 port $swp1 grp $grp vid 10 ^---^ 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 br0 port "$swp1" grp "$grp" vid 10 In bridge_mdb.sh line 463: bridge mdb add dev br0 port $swp1 grp $grp temp vid 10 \ ^---^ 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 add dev br0 port "$swp1" grp "$grp" temp vid 10 \ In bridge_mdb.sh line 464: filter_mode exclude source_list $src1 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: filter_mode exclude source_list "$src1" In bridge_mdb.sh line 466: bridge mdb replace dev br0 port $swp1 grp $grp temp vid 10 \ ^---^ 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 br0 port "$swp1" grp "$grp" temp vid 10 \ In bridge_mdb.sh line 467: filter_mode exclude source_list $src1,$src2,$src3 ^---^ 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: filter_mode exclude source_list "$src1","$src2","$src3" In bridge_mdb.sh line 468: bridge -d mdb get dev br0 grp $grp src $src1 vid 10 &> /dev/null ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: bridge -d mdb get dev br0 grp "$grp" src "$src1" vid 10 &> /dev/null In bridge_mdb.sh line 470: bridge -d mdb get dev br0 grp $grp src $src2 vid 10 &> /dev/null ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: bridge -d mdb get dev br0 grp "$grp" src "$src2" vid 10 &> /dev/null In bridge_mdb.sh line 472: bridge -d mdb get dev br0 grp $grp src $src3 vid 10 &> /dev/null ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: bridge -d mdb get dev br0 grp "$grp" src "$src3" vid 10 &> /dev/null In bridge_mdb.sh line 475: bridge mdb replace dev br0 port $swp1 grp $grp temp vid 10 \ ^---^ 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 br0 port "$swp1" grp "$grp" temp vid 10 \ In bridge_mdb.sh line 476: filter_mode exclude source_list $src1,$src3 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: filter_mode exclude source_list "$src1","$src3" In bridge_mdb.sh line 477: bridge -d mdb get dev br0 grp $grp src $src1 vid 10 &> /dev/null ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: bridge -d mdb get dev br0 grp "$grp" src "$src1" vid 10 &> /dev/null In bridge_mdb.sh line 479: bridge -d mdb get dev br0 grp $grp src $src2 vid 10 &> /dev/null ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: bridge -d mdb get dev br0 grp "$grp" src "$src2" vid 10 &> /dev/null In bridge_mdb.sh line 481: bridge -d mdb get dev br0 grp $grp src $src3 vid 10 &> /dev/null ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: bridge -d mdb get dev br0 grp "$grp" src "$src3" vid 10 &> /dev/null In bridge_mdb.sh line 484: bridge mdb del dev br0 port $swp1 grp $grp vid 10 ^---^ 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 br0 port "$swp1" grp "$grp" vid 10 In bridge_mdb.sh line 487: bridge mdb add dev br0 port $swp1 grp $grp temp vid 10 \ ^---^ 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 add dev br0 port "$swp1" grp "$grp" temp vid 10 \ In bridge_mdb.sh line 488: filter_mode exclude source_list $src1 proto zebra ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: filter_mode exclude source_list "$src1" proto zebra In bridge_mdb.sh line 490: bridge mdb replace dev br0 port $swp1 grp $grp temp vid 10 \ ^---^ 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 br0 port "$swp1" grp "$grp" temp vid 10 \ In bridge_mdb.sh line 491: filter_mode exclude source_list $src1 proto bgp ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: filter_mode exclude source_list "$src1" proto bgp In bridge_mdb.sh line 492: bridge -d mdb get dev br0 grp $grp vid 10 | grep -q "bgp" ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: bridge -d mdb get dev br0 grp "$grp" vid 10 | grep -q "bgp" In bridge_mdb.sh line 494: bridge -d mdb get dev br0 grp $grp src $src1 vid 10 | grep -q "bgp" ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: bridge -d mdb get dev br0 grp "$grp" src "$src1" vid 10 | grep -q "bgp" In bridge_mdb.sh line 497: bridge mdb del dev br0 port $swp1 grp $grp vid 10 ^---^ 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 br0 port "$swp1" grp "$grp" vid 10 In bridge_mdb.sh line 504: bridge mdb add dev br0 port $swp2 grp $grp vid 10 \ ^---^ 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 add dev br0 port "$swp2" grp "$grp" vid 10 \ In bridge_mdb.sh line 505: filter_mode include source_list $src1 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: filter_mode include source_list "$src1" In bridge_mdb.sh line 506: bridge mdb add dev br0 port $swp1 grp $grp vid 10 ^---^ 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 add dev br0 port "$swp1" grp "$grp" vid 10 In bridge_mdb.sh line 507: bridge -d mdb get dev br0 grp $grp src $src1 vid 10 | grep "$swp1" | \ ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: bridge -d mdb get dev br0 grp "$grp" src "$src1" vid 10 | grep "$swp1" | \ In bridge_mdb.sh line 510: bridge mdb del dev br0 port $swp1 grp $grp vid 10 ^---^ 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 br0 port "$swp1" grp "$grp" vid 10 In bridge_mdb.sh line 511: bridge mdb del dev br0 port $swp2 grp $grp src $src1 vid 10 ^---^ 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: bridge mdb del dev br0 port "$swp2" grp "$grp" src "$src1" vid 10 In bridge_mdb.sh line 515: bridge mdb add dev br0 port $swp1 grp $invalid_grp vid 10 &> /dev/null ^---^ 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 add dev br0 port "$swp1" grp "$invalid_grp" vid 10 &> /dev/null In bridge_mdb.sh line 518: bridge mdb add dev br0 port $swp1 grp $grp vid 10 filter_mode include \ ^---^ 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 add dev br0 port "$swp1" grp "$grp" vid 10 filter_mode include \ In bridge_mdb.sh line 522: bridge mdb add dev br0 port $swp1 grp $grp vid 10 filter_mode include \ ^---^ 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 add dev br0 port "$swp1" grp "$grp" vid 10 filter_mode include \ In bridge_mdb.sh line 523: source_list $grp &> /dev/null ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: source_list "$grp" &> /dev/null In bridge_mdb.sh line 526: bridge mdb add dev br0 port $swp1 grp $grp vid 10 \ ^---^ 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 add dev br0 port "$swp1" grp "$grp" vid 10 \ In bridge_mdb.sh line 527: source_list $src &> /dev/null ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: source_list "$src" &> /dev/null In bridge_mdb.sh line 530: bridge mdb add dev br0 port $swp1 grp $grp vid 10 filter_mode include \ ^---^ 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 add dev br0 port "$swp1" grp "$grp" vid 10 filter_mode include \ In bridge_mdb.sh line 531: source_list $src1 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: source_list "$src1" In bridge_mdb.sh line 532: bridge mdb add dev br0 port $swp1 grp $grp vid 10 filter_mode exclude \ ^---^ 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 add dev br0 port "$swp1" grp "$grp" vid 10 filter_mode exclude \ In bridge_mdb.sh line 533: source_list $src1 &> /dev/null ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: source_list "$src1" &> /dev/null In bridge_mdb.sh line 535: bridge mdb del dev br0 port $swp1 grp $grp vid 10 ^---^ 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 br0 port "$swp1" grp "$grp" vid 10 In bridge_mdb.sh line 537: bridge mdb add dev br0 port $swp1 grp $grp src $src2 vid 10 ^---^ 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: bridge mdb add dev br0 port "$swp1" grp "$grp" src "$src2" vid 10 In bridge_mdb.sh line 538: bridge mdb add dev br0 port $swp1 grp $grp vid 10 filter_mode include \ ^---^ 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 add dev br0 port "$swp1" grp "$grp" vid 10 filter_mode include \ In bridge_mdb.sh line 539: source_list $src1,$src2,$src3 &> /dev/null ^---^ 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: source_list "$src1","$src2","$src3" &> /dev/null In bridge_mdb.sh line 541: bridge mdb del dev br0 port $swp1 grp $grp src $src2 vid 10 ^---^ 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: bridge mdb del dev br0 port "$swp1" grp "$grp" src "$src2" vid 10 In bridge_mdb.sh line 544: bridge mdb add dev br0 port $swp1 grp $grp vid 10 filter_mode exclude \ ^---^ 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 add dev br0 port "$swp1" grp "$grp" vid 10 filter_mode exclude \ In bridge_mdb.sh line 545: source_list $(src_list_create $src_prefix $max_srcs) ^-- SC2046 (warning): Quote this to prevent 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: source_list $(src_list_create "$src_prefix" "$max_srcs") In bridge_mdb.sh line 547: grep "src" | wc -l) ^--------^ SC2126 (style): Consider using 'grep -c' instead of 'grep|wc -l'. In bridge_mdb.sh line 550: bridge mdb del dev br0 port $swp1 grp $grp vid 10 ^---^ 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 br0 port "$swp1" grp "$grp" vid 10 In bridge_mdb.sh line 552: bridge mdb add dev br0 port $swp1 grp $grp vid 10 filter_mode exclude \ ^---^ 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 add dev br0 port "$swp1" grp "$grp" vid 10 filter_mode exclude \ In bridge_mdb.sh line 553: source_list $(src_list_create $src_prefix $((max_srcs + 1))) \ ^-- SC2046 (warning): Quote this to prevent word splitting. ^---------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: source_list $(src_list_create "$src_prefix" $((max_srcs + 1))) \ In bridge_mdb.sh line 580: bridge mdb add dev br0 port $swp1 $grp_key vid 10 ^---^ 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 add dev br0 port "$swp1" "$grp_key" vid 10 In bridge_mdb.sh line 581: bridge -d mdb get dev br0 $grp_key vid 10 | grep -q "include" ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: bridge -d mdb get dev br0 "$grp_key" vid 10 | grep -q "include" In bridge_mdb.sh line 583: bridge mdb del dev br0 port $swp1 $grp_key vid 10 ^---^ 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 br0 port "$swp1" "$grp_key" vid 10 In bridge_mdb.sh line 587: bridge mdb add dev br0 port $swp1 $grp_key permanent vid 10 ^---^ 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 add dev br0 port "$swp1" "$grp_key" permanent vid 10 In bridge_mdb.sh line 588: bridge -d mdb get dev br0 $grp_key vid 10 | grep -q "permanent" ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: bridge -d mdb get dev br0 "$grp_key" vid 10 | grep -q "permanent" In bridge_mdb.sh line 590: bridge -d -s mdb get dev br0 $grp_key vid 10 | grep -q " 0.00" ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: bridge -d -s mdb get dev br0 "$grp_key" vid 10 | grep -q " 0.00" In bridge_mdb.sh line 592: bridge mdb del dev br0 port $swp1 $grp_key vid 10 ^---^ 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 br0 port "$swp1" "$grp_key" vid 10 In bridge_mdb.sh line 594: bridge mdb add dev br0 port $swp1 $grp_key temp vid 10 ^---^ 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 add dev br0 port "$swp1" "$grp_key" temp vid 10 In bridge_mdb.sh line 595: bridge -d mdb get dev br0 $grp_key vid 10 | grep -q "temp" ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: bridge -d mdb get dev br0 "$grp_key" vid 10 | grep -q "temp" In bridge_mdb.sh line 597: bridge -d -s mdb get dev br0 $grp_key vid 10 | grep -q " 0.00" ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: bridge -d -s mdb get dev br0 "$grp_key" vid 10 | grep -q " 0.00" In bridge_mdb.sh line 599: bridge mdb del dev br0 port $swp1 $grp_key vid 10 ^---^ 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 br0 port "$swp1" "$grp_key" vid 10 In bridge_mdb.sh line 602: bridge mdb add dev br0 port $swp1 $grp_key vid 10 \ ^---^ 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 add dev br0 port "$swp1" "$grp_key" vid 10 \ In bridge_mdb.sh line 606: bridge mdb add dev br0 port $swp1 $grp_key vid 10 \ ^---^ 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 add dev br0 port "$swp1" "$grp_key" vid 10 \ In bridge_mdb.sh line 607: filter_mode include source_list $src &> /dev/null ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: filter_mode include source_list "$src" &> /dev/null In bridge_mdb.sh line 610: bridge mdb add dev br0 port $swp1 grp $grp src $grp vid 10 &> /dev/null ^---^ 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: bridge mdb add dev br0 port "$swp1" grp "$grp" src "$grp" vid 10 &> /dev/null In bridge_mdb.sh line 613: bridge mdb add dev br0 port $swp1 $grp_key vid 10 temp ^---^ 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 add dev br0 port "$swp1" "$grp_key" vid 10 temp In bridge_mdb.sh line 614: bridge mdb add dev br0 port $swp1 $grp_key vid 10 permanent &> /dev/null ^---^ 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 add dev br0 port "$swp1" "$grp_key" vid 10 permanent &> /dev/null In bridge_mdb.sh line 616: bridge mdb del dev br0 port $swp1 $grp_key vid 10 ^---^ 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 br0 port "$swp1" "$grp_key" vid 10 In bridge_mdb.sh line 619: bridge mdb add dev br0 port $swp1 $grp_key vid 10 proto 123 ^---^ 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 add dev br0 port "$swp1" "$grp_key" vid 10 proto 123 In bridge_mdb.sh line 620: bridge mdb replace dev br0 port $swp1 $grp_key vid 10 proto 111 ^---^ 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 br0 port "$swp1" "$grp_key" vid 10 proto 111 In bridge_mdb.sh line 621: bridge -d mdb get dev br0 $grp_key vid 10 | grep -q "111" ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: bridge -d mdb get dev br0 "$grp_key" vid 10 | grep -q "111" In bridge_mdb.sh line 624: bridge mdb replace dev br0 port $swp1 $grp_key vid 10 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 br0 port "$swp1" "$grp_key" vid 10 permanent In bridge_mdb.sh line 625: bridge -d mdb get dev br0 $grp_key vid 10 | grep -q "permanent" ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: bridge -d mdb get dev br0 "$grp_key" vid 10 | grep -q "permanent" In bridge_mdb.sh line 627: bridge -d -s mdb get dev br0 $grp_key vid 10 | grep -q " 0.00" ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: bridge -d -s mdb get dev br0 "$grp_key" vid 10 | grep -q " 0.00" In bridge_mdb.sh line 630: bridge mdb replace dev br0 port $swp1 $grp_key vid 10 temp ^---^ 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 br0 port "$swp1" "$grp_key" vid 10 temp In bridge_mdb.sh line 631: bridge -d mdb get dev br0 $grp_key vid 10 | grep -q "temp" ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: bridge -d mdb get dev br0 "$grp_key" vid 10 | grep -q "temp" In bridge_mdb.sh line 633: bridge -d -s mdb get dev br0 $grp_key vid 10 | grep -q " 0.00" ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: bridge -d -s mdb get dev br0 "$grp_key" vid 10 | grep -q " 0.00" In bridge_mdb.sh line 635: bridge mdb del dev br0 port $swp1 $grp_key vid 10 ^---^ 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 br0 port "$swp1" "$grp_key" vid 10 In bridge_mdb.sh line 639: bridge mdb add dev br0 port $swp2 grp $grp vid 10 ^---^ 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 add dev br0 port "$swp2" grp "$grp" vid 10 In bridge_mdb.sh line 640: bridge mdb add dev br0 port $swp1 $grp_key vid 10 ^---^ 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 add dev br0 port "$swp1" "$grp_key" vid 10 In bridge_mdb.sh line 641: bridge mdb get dev br0 $grp_key vid 10 | grep $swp2 | \ ^------^ 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 get dev br0 "$grp_key" vid 10 | grep "$swp2" | \ In bridge_mdb.sh line 644: bridge mdb del dev br0 port $swp1 $grp_key vid 10 ^---^ 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 br0 port "$swp1" "$grp_key" vid 10 In bridge_mdb.sh line 645: bridge mdb del dev br0 port $swp2 grp $grp vid 10 ^---^ 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 br0 port "$swp2" grp "$grp" vid 10 In bridge_mdb.sh line 673: bridge meb add dev br0 port $swp grp 00:01:02:03:04:05 \ ^--^ SC2154 (warning): swp is referenced but not assigned. ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: bridge meb add dev br0 port "$swp" grp 00:01:02:03:04:05 \ In bridge_mdb.sh line 677: bridge mdb add dev br0 port $swp grp $grp src 00:01:02:03:04:05 \ ^--^ 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 add dev br0 port "$swp" grp "$grp" src 00:01:02:03:04:05 \ In bridge_mdb.sh line 681: bridge mdb add dev br0 port $swp1 grp $grp permanent vid 10 \ ^---^ 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 add dev br0 port "$swp1" grp "$grp" permanent vid 10 \ In bridge_mdb.sh line 685: bridge mdb add dev br0 port $swp1 grp $grp permanent vid 10 \ ^---^ 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 add dev br0 port "$swp1" grp "$grp" permanent vid 10 \ In bridge_mdb.sh line 724: echo "ff0e::$(printf %x $i)" ^-- SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: echo "ff0e::$(printf %x "$i")" In bridge_mdb.sh line 734: echo "01:00:00:00:00:$(printf %02x $i)" ^-- SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: echo "01:00:00:00:00:$(printf %02x "$i")" In bridge_mdb.sh line 753: for i in $(seq 1 $max_bridges); do ^----------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: for i in $(seq 1 "$max_bridges"); do In bridge_mdb.sh line 754: ip link add name br-test${i} up type bridge vlan_filtering 1 \ ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link add name br-test"${i}" up type bridge vlan_filtering 1 \ In bridge_mdb.sh line 756: for j in $(seq 1 $max_ports); do ^--------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: for j in $(seq 1 "$max_ports"); do In bridge_mdb.sh line 757: ip link add name br-test${i}-du${j} up \ ^--^ 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 add name br-test"${i}"-du"${j}" up \ In bridge_mdb.sh line 758: master br-test${i} type dummy ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: master br-test"${i}" type dummy In bridge_mdb.sh line 764: for i in $(seq 1 $max_bridges); do ^----------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: for i in $(seq 1 "$max_bridges"); do In bridge_mdb.sh line 765: for j in $(seq 1 $max_ports); do ^--------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: for j in $(seq 1 "$max_ports"); do In bridge_mdb.sh line 766: for grp in $($fn $max_grps); do ^-------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: for grp in $($fn "$max_grps"); do In bridge_mdb.sh line 769: permanent vid 1" >> $batch_file ^---------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: permanent vid 1" >> "$batch_file" In bridge_mdb.sh line 775: bridge -b $batch_file ^---------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: bridge -b "$batch_file" In bridge_mdb.sh line 776: for i in $(seq 1 $max_bridges); do ^----------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: for i in $(seq 1 "$max_bridges"); do In bridge_mdb.sh line 777: num_entries=$(bridge mdb show dev br-test${i} | \ ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: num_entries=$(bridge mdb show dev br-test"${i}" | \ In bridge_mdb.sh line 778: grep "permanent" | wc -l) ^--------------^ SC2126 (style): Consider using 'grep -c' instead of 'grep|wc -l'. In bridge_mdb.sh line 784: rm $batch_file ^---------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: rm "$batch_file" In bridge_mdb.sh line 785: for i in $(seq 1 $max_bridges); do ^----------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: for i in $(seq 1 "$max_bridges"); do In bridge_mdb.sh line 786: ip link del dev br-test${i} ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link del dev br-test"${i}" In bridge_mdb.sh line 787: for j in $(seq $max_ports); do ^--------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: for j in $(seq "$max_ports"); do In bridge_mdb.sh line 788: ip link del dev br-test${i}-du${j} ^--^ 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 del dev br-test"${i}"-du"${j}" In bridge_mdb.sh line 815: bridge mdb add dev br0 port $swp1 grp 239.1.1.1 vid 10 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: bridge mdb add dev br0 port "$swp1" grp 239.1.1.1 vid 10 In bridge_mdb.sh line 816: bridge mdb add dev br0 port $swp2 grp 239.1.1.2 vid 10 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: bridge mdb add dev br0 port "$swp2" grp 239.1.1.2 vid 10 In bridge_mdb.sh line 819: bridge mdb add dev br0 port $swp1 grp 239.1.1.3 vid 10 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: bridge mdb add dev br0 port "$swp1" grp 239.1.1.3 vid 10 In bridge_mdb.sh line 820: bridge mdb add dev br0 port $swp1 grp 239.1.1.4 vid 20 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: bridge mdb add dev br0 port "$swp1" grp 239.1.1.4 vid 20 In bridge_mdb.sh line 823: bridge mdb add dev br0 port $swp1 grp 239.1.1.5 vid 10 proto bgp ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: bridge mdb add dev br0 port "$swp1" grp 239.1.1.5 vid 10 proto bgp In bridge_mdb.sh line 824: bridge mdb add dev br0 port $swp1 grp 239.1.1.6 vid 10 proto zebra ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: bridge mdb add dev br0 port "$swp1" grp 239.1.1.6 vid 10 proto zebra In bridge_mdb.sh line 827: bridge mdb add dev br0 port $swp1 grp 239.1.1.7 vid 10 permanent ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: bridge mdb add dev br0 port "$swp1" grp 239.1.1.7 vid 10 permanent In bridge_mdb.sh line 828: bridge mdb add dev br0 port $swp1 grp 239.1.1.8 vid 10 temp ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: bridge mdb add dev br0 port "$swp1" grp 239.1.1.8 vid 10 temp In bridge_mdb.sh line 838: bridge mdb add dev br0 port $swp1 grp 239.1.1.1 vid 10 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: bridge mdb add dev br0 port "$swp1" grp 239.1.1.1 vid 10 In bridge_mdb.sh line 839: bridge mdb add dev br0 port $swp2 grp 239.1.1.1 vid 10 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: bridge mdb add dev br0 port "$swp2" grp 239.1.1.1 vid 10 In bridge_mdb.sh line 842: bridge mdb flush dev br0 port $swp1 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: bridge mdb flush dev br0 port "$swp1" In bridge_mdb.sh line 861: bridge mdb add dev br0 port $swp1 grp 239.1.1.1 vid 10 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: bridge mdb add dev br0 port "$swp1" grp 239.1.1.1 vid 10 In bridge_mdb.sh line 862: bridge mdb add dev br0 port $swp2 grp 239.1.1.1 vid 10 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: bridge mdb add dev br0 port "$swp2" grp 239.1.1.1 vid 10 In bridge_mdb.sh line 863: bridge mdb add dev br0 port $swp1 grp 239.1.1.1 vid 20 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: bridge mdb add dev br0 port "$swp1" grp 239.1.1.1 vid 20 In bridge_mdb.sh line 864: bridge mdb add dev br0 port $swp2 grp 239.1.1.1 vid 20 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: bridge mdb add dev br0 port "$swp2" grp 239.1.1.1 vid 20 In bridge_mdb.sh line 878: bridge mdb add dev br0 port $swp1 grp 239.1.1.1 permanent vid 10 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: bridge mdb add dev br0 port "$swp1" grp 239.1.1.1 permanent vid 10 In bridge_mdb.sh line 879: bridge mdb add dev br0 port $swp2 grp 239.1.1.1 temp vid 10 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: bridge mdb add dev br0 port "$swp2" grp 239.1.1.1 temp vid 10 In bridge_mdb.sh line 893: bridge mdb add dev br0 port $swp1 grp 239.1.1.1 permanent vid 10 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: bridge mdb add dev br0 port "$swp1" grp 239.1.1.1 permanent vid 10 In bridge_mdb.sh line 894: bridge mdb add dev br0 port $swp2 grp 239.1.1.1 temp vid 10 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: bridge mdb add dev br0 port "$swp2" grp 239.1.1.1 temp vid 10 In bridge_mdb.sh line 959: bridge mdb add dev br0 port $swp1 grp 239.1.1.1 vid 10 proto bgp ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: bridge mdb add dev br0 port "$swp1" grp 239.1.1.1 vid 10 proto bgp In bridge_mdb.sh line 960: bridge mdb add dev br0 port $swp2 grp 239.1.1.1 vid 10 proto zebra ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: bridge mdb add dev br0 port "$swp2" grp 239.1.1.1 vid 10 proto zebra In bridge_mdb.sh line 1020: vlan_ethtype $eth_type vlan_id 10 dst_ip $grp src_ip $src \ ^-------^ 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: vlan_ethtype "$eth_type" vlan_id 10 dst_ip "$grp" src_ip "$src" \ In bridge_mdb.sh line 1026: $MZ $mode $h1.10 -a own -b $dmac -c 1 -p 128 -A $src -B $grp -t udp -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".10 -a own -b "$dmac" -c 1 -p 128 -A "$src" -B "$grp" -t udp -q In bridge_mdb.sh line 1032: bridge mdb add dev br0 port $swp2 grp $grp temp vid 10 ^---^ 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 add dev br0 port "$swp2" grp "$grp" temp vid 10 In bridge_mdb.sh line 1033: $MZ $mode $h1.10 -a own -b $dmac -c 1 -p 128 -A $src -B $grp -t udp -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".10 -a own -b "$dmac" -c 1 -p 128 -A "$src" -B "$grp" -t udp -q In bridge_mdb.sh line 1038: bridge mdb add dev br0 port br0 grp $grp temp vid 10 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: bridge mdb add dev br0 port br0 grp "$grp" temp vid 10 In bridge_mdb.sh line 1039: $MZ $mode $h1.10 -a own -b $dmac -c 1 -p 128 -A $src -B $grp -t udp -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".10 -a own -b "$dmac" -c 1 -p 128 -A "$src" -B "$grp" -t udp -q In bridge_mdb.sh line 1045: bridge mdb del dev br0 port br0 grp $grp vid 10 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: bridge mdb del dev br0 port br0 grp "$grp" vid 10 In bridge_mdb.sh line 1046: $MZ $mode $h1.10 -a own -b $dmac -c 1 -p 128 -A $src -B $grp -t udp -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".10 -a own -b "$dmac" -c 1 -p 128 -A "$src" -B "$grp" -t udp -q In bridge_mdb.sh line 1050: bridge mdb del dev br0 port $swp2 grp $grp vid 10 ^---^ 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 br0 port "$swp2" grp "$grp" vid 10 In bridge_mdb.sh line 1070: dst_mac $dmac action drop ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: dst_mac "$dmac" action drop In bridge_mdb.sh line 1074: $MZ $h1.10 -c 1 -p 128 -a own -b $dmac -q ^-^ 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".10 -c 1 -p 128 -a own -b "$dmac" -q In bridge_mdb.sh line 1080: bridge mdb add dev br0 port $swp2 grp $dmac permanent vid 10 ^---^ 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 add dev br0 port "$swp2" grp "$dmac" permanent vid 10 In bridge_mdb.sh line 1081: $MZ $h1.10 -c 1 -p 128 -a own -b $dmac -q ^-^ 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".10 -c 1 -p 128 -a own -b "$dmac" -q In bridge_mdb.sh line 1086: bridge mdb add dev br0 port br0 grp $dmac permanent vid 10 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: bridge mdb add dev br0 port br0 grp "$dmac" permanent vid 10 In bridge_mdb.sh line 1087: $MZ $h1.10 -c 1 -p 128 -a own -b $dmac -q ^-^ 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".10 -c 1 -p 128 -a own -b "$dmac" -q In bridge_mdb.sh line 1093: bridge mdb del dev br0 port br0 grp $dmac permanent vid 10 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: bridge mdb del dev br0 port br0 grp "$dmac" permanent vid 10 In bridge_mdb.sh line 1094: $MZ $h1.10 -c 1 -p 128 -a own -b $dmac -q ^-^ 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".10 -c 1 -p 128 -a own -b "$dmac" -q In bridge_mdb.sh line 1098: bridge mdb del dev br0 port $swp2 grp $dmac permanent vid 10 ^---^ 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 br0 port "$swp2" grp "$dmac" permanent vid 10 In bridge_mdb.sh line 1147: tc filter add dev $h2 ingress protocol 802.1q pref 1 handle 1 flower \ ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter add dev "$h2" ingress protocol 802.1q pref 1 handle 1 flower \ In bridge_mdb.sh line 1148: vlan_ethtype $eth_type vlan_id 10 dst_ip $grp \ ^-------^ SC2086 (info): Double quote to prevent globbing and word splitting. ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: vlan_ethtype "$eth_type" vlan_id 10 dst_ip "$grp" \ In bridge_mdb.sh line 1149: src_ip $valid_src action drop ^--------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: src_ip "$valid_src" action drop In bridge_mdb.sh line 1150: tc filter add dev $h2 ingress protocol 802.1q pref 1 handle 2 flower \ ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter add dev "$h2" ingress protocol 802.1q pref 1 handle 2 flower \ In bridge_mdb.sh line 1151: vlan_ethtype $eth_type vlan_id 10 dst_ip $grp \ ^-------^ SC2086 (info): Double quote to prevent globbing and word splitting. ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: vlan_ethtype "$eth_type" vlan_id 10 dst_ip "$grp" \ In bridge_mdb.sh line 1152: src_ip $invalid_src action drop ^----------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: src_ip "$invalid_src" action drop In bridge_mdb.sh line 1154: $MZ $mode $h1.10 -a own -b $dmac -c 1 -p 128 -A $valid_src -B $grp -t udp -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".10 -a own -b "$dmac" -c 1 -p 128 -A "$valid_src" -B "$grp" -t udp -q In bridge_mdb.sh line 1158: $MZ $mode $h1.10 -a own -b $dmac -c 1 -p 128 -A $invalid_src -B $grp -t udp -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".10 -a own -b "$dmac" -c 1 -p 128 -A "$invalid_src" -B "$grp" -t udp -q In bridge_mdb.sh line 1162: bridge mdb add dev br0 port $swp2 grp $grp vid 10 \ ^---^ 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 add dev br0 port "$swp2" grp "$grp" vid 10 \ In bridge_mdb.sh line 1163: filter_mode $filter_mode source_list $src_list ^----------^ SC2086 (info): Double quote to prevent globbing and word splitting. ^-------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: filter_mode "$filter_mode" source_list "$src_list" In bridge_mdb.sh line 1165: $MZ $mode $h1.10 -a own -b $dmac -c 1 -p 128 -A $valid_src -B $grp -t udp -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".10 -a own -b "$dmac" -c 1 -p 128 -A "$valid_src" -B "$grp" -t udp -q In bridge_mdb.sh line 1169: $MZ $mode $h1.10 -a own -b $dmac -c 1 -p 128 -A $invalid_src -B $grp -t udp -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".10 -a own -b "$dmac" -c 1 -p 128 -A "$invalid_src" -B "$grp" -t udp -q In bridge_mdb.sh line 1173: bridge mdb replace dev br0 port $swp2 grp $grp vid 10 \ ^---^ 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 br0 port "$swp2" grp "$grp" vid 10 \ In bridge_mdb.sh line 1176: $MZ $mode $h1.10 -a own -b $dmac -c 1 -p 128 -A $valid_src -B $grp -t udp -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".10 -a own -b "$dmac" -c 1 -p 128 -A "$valid_src" -B "$grp" -t udp -q In bridge_mdb.sh line 1180: $MZ $mode $h1.10 -a own -b $dmac -c 1 -p 128 -A $invalid_src -B $grp -t udp -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".10 -a own -b "$dmac" -c 1 -p 128 -A "$invalid_src" -B "$grp" -t udp -q In bridge_mdb.sh line 1184: bridge mdb del dev br0 port $swp2 grp $grp vid 10 ^---^ 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 br0 port "$swp2" grp "$grp" vid 10 In bridge_mdb.sh line 1186: $MZ $mode $h1.10 -a own -b $dmac -c 1 -p 128 -A $valid_src -B $grp -t udp -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".10 -a own -b "$dmac" -c 1 -p 128 -A "$valid_src" -B "$grp" -t udp -q In bridge_mdb.sh line 1190: $MZ $mode $h1.10 -a own -b $dmac -c 1 -p 128 -A $invalid_src -B $grp -t udp -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".10 -a own -b "$dmac" -c 1 -p 128 -A "$invalid_src" -B "$grp" -t udp -q In bridge_mdb.sh line 1194: tc filter del dev $h2 ingress protocol 802.1q pref 1 handle 2 flower ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter del dev "$h2" ingress protocol 802.1q pref 1 handle 2 flower In bridge_mdb.sh line 1195: tc filter del dev $h2 ingress protocol 802.1q pref 1 handle 1 flower ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter del dev "$h2" ingress protocol 802.1q pref 1 handle 1 flower In bridge_mdb.sh line 1216: tc filter add dev $h2 ingress protocol all pref 1 handle 1 flower \ ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter add dev "$h2" ingress protocol all pref 1 handle 1 flower \ In bridge_mdb.sh line 1217: dst_mac $dmac action drop ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: dst_mac "$dmac" action drop In bridge_mdb.sh line 1219: $MZ $h1.10 -c 1 -p 128 -a own -b $dmac -q ^-^ 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".10 -c 1 -p 128 -a own -b "$dmac" -q In bridge_mdb.sh line 1223: bridge mdb add dev br0 port $swp2 grp $dmac permanent vid 10 ^---^ 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 add dev br0 port "$swp2" grp "$dmac" permanent vid 10 In bridge_mdb.sh line 1224: $MZ $h1.10 -c 1 -p 128 -a own -b $dmac -q ^-^ 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".10 -c 1 -p 128 -a own -b "$dmac" -q In bridge_mdb.sh line 1228: bridge mdb del dev br0 port $swp2 grp $dmac permanent vid 10 ^---^ 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 br0 port "$swp2" grp "$dmac" permanent vid 10 In bridge_mdb.sh line 1229: $MZ $h1.10 -c 1 -p 128 -a own -b $dmac -q ^-^ 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".10 -c 1 -p 128 -a own -b "$dmac" -q In bridge_mdb.sh line 1233: tc filter del dev $h2 ingress protocol all pref 1 handle 1 flower ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter del dev "$h2" ingress protocol all pref 1 handle 1 flower In bridge_mdb.sh line 1242: bridge link set dev $swp2 mcast_flood off ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: bridge link set dev "$swp2" mcast_flood off In bridge_mdb.sh line 1247: bridge link set dev $swp2 mcast_flood on ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: bridge link set dev "$swp2" mcast_flood on In bridge_mdb.sh line 1282: bridge mdb add dev br0 port $swp1 grp 239.1.1.1 permanent vid 10 \ ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: bridge mdb add dev br0 port "$swp1" grp 239.1.1.1 permanent vid 10 \ In bridge_mdb.sh line 1286: $MZ $h1.10 -c 1 -a own -b 01:00:5e:01:01:01 -A 192.0.2.1 -B 239.1.1.1 \ ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: $MZ "$h1".10 -c 1 -a own -b 01:00:5e:01:01:01 -A 192.0.2.1 -B 239.1.1.1 \ In bridge_mdb.sh line 1287: -t ip proto=2,p=$(igmpv3_is_in_get 239.1.1.1 192.0.2.2) -q ^-- SC2046 (warning): Quote this to prevent word splitting. In bridge_mdb.sh line 1295: bridge mdb replace dev br0 port $swp1 grp 239.1.1.1 temp vid 10 \ ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: bridge mdb replace dev br0 port "$swp1" grp 239.1.1.1 temp vid 10 \ In bridge_mdb.sh line 1299: $MZ $h1.10 -a own -b 01:00:5e:01:01:01 -c 1 -A 192.0.2.1 -B 239.1.1.1 \ ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: $MZ "$h1".10 -a own -b 01:00:5e:01:01:01 -c 1 -A 192.0.2.1 -B 239.1.1.1 \ In bridge_mdb.sh line 1300: -t ip proto=2,p=$(igmpv3_is_in_get 239.1.1.1 192.0.2.2) -q ^-- SC2046 (warning): Quote this to prevent word splitting. In bridge_mdb.sh line 1308: bridge mdb del dev br0 port $swp1 grp 239.1.1.1 vid 10 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: bridge mdb del dev br0 port "$swp1" grp 239.1.1.1 vid 10 In bridge_mdb.sh line 1319: bridge mdb add dev br0 port $swp1 grp ff0e::1 permanent vid 10 \ ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: bridge mdb add dev br0 port "$swp1" grp ff0e::1 permanent vid 10 \ In bridge_mdb.sh line 1323: local p=$(mldv2_is_in_get fe80::1 ff0e::1 2001:db8:1::2) ^-- SC2155 (warning): Declare and assign separately to avoid masking return values. In bridge_mdb.sh line 1324: $MZ -6 $h1.10 -a own -b 33:33:00:00:00:01 -c 1 -A fe80::1 -B ff0e::1 \ ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: $MZ -6 "$h1".10 -a own -b 33:33:00:00:00:01 -c 1 -A fe80::1 -B ff0e::1 \ In bridge_mdb.sh line 1333: bridge mdb replace dev br0 port $swp1 grp ff0e::1 temp vid 10 \ ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: bridge mdb replace dev br0 port "$swp1" grp ff0e::1 temp vid 10 \ In bridge_mdb.sh line 1337: $MZ -6 $h1.10 -a own -b 33:33:00:00:00:01 -c 1 -A fe80::1 -B ff0e::1 \ ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: $MZ -6 "$h1".10 -a own -b 33:33:00:00:00:01 -c 1 -A fe80::1 -B ff0e::1 \ In bridge_mdb.sh line 1346: bridge mdb del dev br0 port $swp1 grp ff0e::1 vid 10 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: bridge mdb del dev br0 port "$swp1" grp ff0e::1 vid 10 In bridge_mdb.sh line 1371: 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/SC2046 -- Quote this to prevent word splitt... https://www.shellcheck.net/wiki/SC2154 -- swp is referenced but not assigned. https://www.shellcheck.net/wiki/SC2155 -- Declare and assign separately to ... Checking tools/testing/selftests/net/forwarding/bridge_mdb_max.sh - 78065bf01e7a3a3d7f5c9f696cd51ff3e2329fb34600d66c28331c1ab155aca6 In bridge_mdb_max.sh line 39: simple_if_init $h1 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: simple_if_init "$h1" In bridge_mdb_max.sh line 40: vlan_create $h1 10 v$h1 192.0.2.1/28 2001:db8:1::1/64 ^-^ 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 "$h1" 10 v"$h1" 192.0.2.1/28 2001:db8:1::1/64 In bridge_mdb_max.sh line 41: vlan_create $h1 20 v$h1 198.51.100.1/24 2001:db8:2::1/64 ^-^ 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 "$h1" 20 v"$h1" 198.51.100.1/24 2001:db8:2::1/64 In bridge_mdb_max.sh line 46: vlan_destroy $h1 20 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: vlan_destroy "$h1" 20 In bridge_mdb_max.sh line 47: vlan_destroy $h1 10 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: vlan_destroy "$h1" 10 In bridge_mdb_max.sh line 48: simple_if_fini $h1 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: simple_if_fini "$h1" In bridge_mdb_max.sh line 53: simple_if_init $h2 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: simple_if_init "$h2" In bridge_mdb_max.sh line 54: vlan_create $h2 10 v$h2 192.0.2.2/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 "$h2" 10 v"$h2" 192.0.2.2/28 In bridge_mdb_max.sh line 55: vlan_create $h2 20 v$h2 198.51.100.2/24 ^-^ 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 "$h2" 20 v"$h2" 198.51.100.2/24 In bridge_mdb_max.sh line 60: vlan_destroy $h2 20 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: vlan_destroy "$h2" 20 In bridge_mdb_max.sh line 61: vlan_destroy $h2 10 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: vlan_destroy "$h2" 10 In bridge_mdb_max.sh line 62: simple_if_fini $h2 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: simple_if_fini "$h2" In bridge_mdb_max.sh line 74: ip link set dev $swp1 master br0 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link set dev "$swp1" master br0 In bridge_mdb_max.sh line 75: 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 bridge_mdb_max.sh line 76: bridge link set dev $swp1 fastleave on ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: bridge link set dev "$swp1" fastleave on In bridge_mdb_max.sh line 78: ip link set dev $swp2 master br0 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link set dev "$swp2" master br0 In bridge_mdb_max.sh line 79: 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 bridge_mdb_max.sh line 89: mcast_snooping 1 $br_flags \ ^-------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: mcast_snooping 1 "$br_flags" \ In bridge_mdb_max.sh line 95: ip link set dev $swp1 master br0 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link set dev "$swp1" master br0 In bridge_mdb_max.sh line 96: 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 bridge_mdb_max.sh line 97: bridge link set dev $swp1 fastleave on ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: bridge link set dev "$swp1" fastleave on In bridge_mdb_max.sh line 98: bridge vlan add vid 10 dev $swp1 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: bridge vlan add vid 10 dev "$swp1" In bridge_mdb_max.sh line 99: bridge vlan add vid 20 dev $swp1 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: bridge vlan add vid 20 dev "$swp1" In bridge_mdb_max.sh line 101: ip link set dev $swp2 master br0 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link set dev "$swp2" master br0 In bridge_mdb_max.sh line 102: 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 bridge_mdb_max.sh line 103: bridge vlan add vid 10 dev $swp2 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: bridge vlan add vid 10 dev "$swp2" In bridge_mdb_max.sh line 104: bridge vlan add vid 20 dev $swp2 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: bridge vlan add vid 20 dev "$swp2" In bridge_mdb_max.sh line 118: 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 bridge_mdb_max.sh line 119: 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 bridge_mdb_max.sh line 121: 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 bridge_mdb_max.sh line 122: 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 bridge_mdb_max.sh line 158: local IPstr=$(echo ${IPs[@]} | tr '[:space:]' , | sed 's/,$//') ^---^ SC2155 (warning): Declare and assign separately to avoid masking return values. ^-------^ SC2068 (error): Double quote array expansions to avoid re-splitting elements. In bridge_mdb_max.sh line 160: echo ${IPstr:+source_list }${IPstr} ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: echo ${IPstr:+source_list }"${IPstr}" In bridge_mdb_max.sh line 171: local source_list=$(cfg_src_list ${IPs[@]}) ^---------^ SC2155 (warning): Declare and assign separately to avoid masking return values. ^-------^ SC2068 (error): Double quote array expansions to avoid re-splitting elements. In bridge_mdb_max.sh line 175: local br_locus=$(echo "$locus" | sed 's/^dev /port /') ^------^ SC2155 (warning): Declare and assign separately to avoid masking return values. ^-- SC2001 (style): See if you can use ${variable//search/replace} instead. In bridge_mdb_max.sh line 177: bridge mdb $op dev br0 $br_locus grp $GRP $state \ ^-^ 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: bridge mdb "$op" dev br0 "$br_locus" grp "$GRP" "$state" \ In bridge_mdb_max.sh line 178: filter_mode include $source_list ^----------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: filter_mode include "$source_list" In bridge_mdb_max.sh line 190: local IPs=$(seq -f 192.0.2.%g 1 $((n - 1))) ^-^ SC2155 (warning): Declare and assign separately to avoid masking return values. ^-^ SC2178 (warning): Variable was used as an array but is now assigned a string. In bridge_mdb_max.sh line 191: cfg_group_op "$op" "$locus" "$GRP" "$state" ${IPs[@]} ^-------^ SC2068 (error): Double quote array expansions to avoid re-splitting elements. In bridge_mdb_max.sh line 213: local IPs=$(printf "2001:db8:1::%x\n" $(seq 1 $((n - 1)))) ^-^ SC2155 (warning): Declare and assign separately to avoid masking return values. ^-^ SC2178 (warning): Variable was used as an array but is now assigned a string. In bridge_mdb_max.sh line 214: cfg_group_op "$op" "$locus" "$GRP" "$state" ${IPs[@]} ^-------^ SC2068 (error): Double quote array expansions to avoid re-splitting elements. In bridge_mdb_max.sh line 231: local vid_kw=$1; shift ^----^ SC2034 (warning): vid_kw appears unused. Verify use (or export if used externally). In bridge_mdb_max.sh line 239: local dev_kw=$1; shift ^----^ SC2034 (warning): dev_kw appears unused. Verify use (or export if used externally). In bridge_mdb_max.sh line 242: echo $dev ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: echo "$dev" In bridge_mdb_max.sh line 252: local IPs=$(seq -f 192.0.2.%g 1 $((n - 1))) ^-^ SC2155 (warning): Declare and assign separately to avoid masking return values. ^-^ SC2178 (warning): Variable was used as an array but is now assigned a string. In bridge_mdb_max.sh line 253: local peer=$(locus_dev_peer $locus) ^--^ 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 peer=$(locus_dev_peer "$locus") In bridge_mdb_max.sh line 255: local dmac=01:00:5e:01:01:$(printf "%02x" $grp) ^--^ 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 dmac=01:00:5e:01:01:$(printf "%02x" "$grp") In bridge_mdb_max.sh line 256: $MZ $peer -a own -b $dmac -c 1 -A 192.0.2.1 -B $GRP \ ^---^ 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 "$peer" -a own -b "$dmac" -c 1 -A 192.0.2.1 -B "$GRP" \ In bridge_mdb_max.sh line 257: -t ip proto=2,p=$(igmpv3_is_in_get $GRP $IPs) -q ^---------------------------^ SC2046 (warning): Quote this to prevent word splitting. ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. ^--^ SC2128 (warning): Expanding an array without an index only gives the first element. ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: -t ip proto=2,p=$(igmpv3_is_in_get "$GRP" "$IPs") -q In bridge_mdb_max.sh line 260: local nn=$(bridge mdb show dev br0 | grep $GRP | wc -l) ^-- SC2155 (warning): Declare and assign separately to avoid masking return values. ^-------^ SC2126 (style): Consider using 'grep -c' instead of 'grep|wc -l'. ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: local nn=$(bridge mdb show dev br0 | grep "$GRP" | wc -l) In bridge_mdb_max.sh line 274: local peer=$(locus_dev_peer $locus) ^--^ 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 peer=$(locus_dev_peer "$locus") In bridge_mdb_max.sh line 277: $MZ $peer -a own -b $dmac -c 1 -A 192.0.2.1 -B 224.0.0.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 "$peer" -a own -b "$dmac" -c 1 -A 192.0.2.1 -B 224.0.0.2 \ In bridge_mdb_max.sh line 278: -t ip proto=2,p=$(igmpv2_leave_get $GRP) -q ^----------------------^ SC2046 (warning): Quote this to prevent word splitting. ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: -t ip proto=2,p=$(igmpv2_leave_get "$GRP") -q In bridge_mdb_max.sh line 280: ! bridge mdb show dev br0 | grep -q $GRP ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ! bridge mdb show dev br0 | grep -q "$GRP" In bridge_mdb_max.sh line 290: local IPs=$(printf "2001:db8:1::%x\n" $(seq 1 $((n - 1)))) ^-^ SC2155 (warning): Declare and assign separately to avoid masking return values. ^-^ SC2178 (warning): Variable was used as an array but is now assigned a string. In bridge_mdb_max.sh line 291: local peer=$(locus_dev_peer $locus) ^--^ 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 peer=$(locus_dev_peer "$locus") In bridge_mdb_max.sh line 294: local dmac=33:33:00:00:00:$(printf "%02x" $grp) ^--^ 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 dmac=33:33:00:00:00:$(printf "%02x" "$grp") In bridge_mdb_max.sh line 295: local p=$(mldv2_is_in_get $SIP $GRP $IPs) ^-- SC2155 (warning): Declare and assign separately to avoid masking return values. ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. ^--^ SC2128 (warning): Expanding an array without an index only gives the first element. ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: local p=$(mldv2_is_in_get "$SIP" "$GRP" "$IPs") In bridge_mdb_max.sh line 296: $MZ -6 $peer -a own -b $dmac -c 1 -A $SIP -B $GRP \ ^---^ 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 -6 "$peer" -a own -b "$dmac" -c 1 -A "$SIP" -B "$GRP" \ In bridge_mdb_max.sh line 300: local nn=$(bridge mdb show dev br0 | grep $GRP | wc -l) ^-- SC2155 (warning): Declare and assign separately to avoid masking return values. ^-------^ SC2126 (style): Consider using 'grep -c' instead of 'grep|wc -l'. ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: local nn=$(bridge mdb show dev br0 | grep "$GRP" | wc -l) In bridge_mdb_max.sh line 314: local peer=$(locus_dev_peer $locus) ^--^ 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 peer=$(locus_dev_peer "$locus") In bridge_mdb_max.sh line 317: local dmac=33:33:00:00:00:$(printf "%02x" $grp) ^--^ 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 dmac=33:33:00:00:00:$(printf "%02x" "$grp") In bridge_mdb_max.sh line 318: local p=$(mldv1_done_get $SIP $GRP) ^-- SC2155 (warning): Declare and assign separately to avoid masking return values. ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: local p=$(mldv1_done_get "$SIP" "$GRP") In bridge_mdb_max.sh line 319: $MZ -6 $peer -a own -b $dmac -c 1 -A $SIP -B $GRP \ ^---^ 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 -6 "$peer" -a own -b "$dmac" -c 1 -A "$SIP" -B "$GRP" \ In bridge_mdb_max.sh line 322: ! bridge mdb show dev br0 | grep -q $GRP ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ! bridge mdb show dev br0 | grep -q "$GRP" In bridge_mdb_max.sh line 328: local needle=$1; shift ^----^ SC2034 (warning): needle appears unused. Verify use (or export if used externally). In bridge_mdb_max.sh line 358: bridge -j -d link show $locus | ^----^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: bridge -j -d link show "$locus" | In bridge_mdb_max.sh line 366: bridge -j -d link show $locus | ^----^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: bridge -j -d link show "$locus" | In bridge_mdb_max.sh line 375: bridge link set dev $(locus_dev $locus) mcast_max_groups $max ^-----------------^ SC2046 (warning): Quote this to prevent 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: bridge link set dev $(locus_dev "$locus") mcast_max_groups "$max" In bridge_mdb_max.sh line 382: bridge -j -d vlan show $locus | ^----^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: bridge -j -d vlan show "$locus" | In bridge_mdb_max.sh line 390: bridge -j -d vlan show $locus | ^----^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: bridge -j -d vlan show "$locus" | In bridge_mdb_max.sh line 399: bridge vlan set $locus mcast_max_groups $max ^----^ SC2086 (info): Double quote to prevent globbing and word splitting. ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: bridge vlan set "$locus" mcast_max_groups "$max" In bridge_mdb_max.sh line 410: local n0=$(bridge_${context}_ngroups_get "$locus") ^-- 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 n0=$(bridge_"${context}"_ngroups_get "$locus") In bridge_mdb_max.sh line 411: ${CFG}_entries_add "$locus" temp 5 ^----^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: "${CFG}"_entries_add "$locus" temp 5 In bridge_mdb_max.sh line 413: local n1=$(bridge_${context}_ngroups_get "$locus") ^-- 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 n1=$(bridge_"${context}"_ngroups_get "$locus") In bridge_mdb_max.sh line 418: ${CFG}_entries_del "$locus" temp 5 ^----^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: "${CFG}"_entries_del "$locus" temp 5 In bridge_mdb_max.sh line 420: local n2=$(bridge_${context}_ngroups_get "$locus") ^-- 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 n2=$(bridge_"${context}"_ngroups_get "$locus") In bridge_mdb_max.sh line 497: local n10=$(bridge_port_vlan_ngroups_get "$locus1") ^-^ SC2155 (warning): Declare and assign separately to avoid masking return values. In bridge_mdb_max.sh line 498: local n20=$(bridge_port_vlan_ngroups_get "$locus2") ^-^ SC2155 (warning): Declare and assign separately to avoid masking return values. In bridge_mdb_max.sh line 499: ${CFG}_entries_add "$locus1" temp 5 111 ^----^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: "${CFG}"_entries_add "$locus1" temp 5 111 In bridge_mdb_max.sh line 501: local n11=$(bridge_port_vlan_ngroups_get "$locus1") ^-^ SC2155 (warning): Declare and assign separately to avoid masking return values. In bridge_mdb_max.sh line 502: local n21=$(bridge_port_vlan_ngroups_get "$locus2") ^-^ SC2155 (warning): Declare and assign separately to avoid masking return values. In bridge_mdb_max.sh line 510: ${CFG}_entries_add "$locus2" temp 5 112 ^----^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: "${CFG}"_entries_add "$locus2" temp 5 112 In bridge_mdb_max.sh line 512: local n12=$(bridge_port_vlan_ngroups_get "$locus1") ^-^ SC2155 (warning): Declare and assign separately to avoid masking return values. In bridge_mdb_max.sh line 513: local n22=$(bridge_port_vlan_ngroups_get "$locus2") ^-^ SC2155 (warning): Declare and assign separately to avoid masking return values. In bridge_mdb_max.sh line 521: ${CFG}_entries_del "$locus1" temp 5 111 ^----^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: "${CFG}"_entries_del "$locus1" temp 5 111 In bridge_mdb_max.sh line 523: ${CFG}_entries_del "$locus2" temp 5 112 ^----^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: "${CFG}"_entries_del "$locus2" temp 5 112 In bridge_mdb_max.sh line 525: local n13=$(bridge_port_vlan_ngroups_get "$locus1") ^-^ SC2155 (warning): Declare and assign separately to avoid masking return values. In bridge_mdb_max.sh line 526: local n23=$(bridge_port_vlan_ngroups_get "$locus2") ^-^ SC2155 (warning): Declare and assign separately to avoid masking return values. In bridge_mdb_max.sh line 566: max=$(bridge_${context}_maxgroups_get "$locus") ^--------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: max=$(bridge_"${context}"_maxgroups_get "$locus") In bridge_mdb_max.sh line 570: bridge_${context}_maxgroups_set "$locus" 100 ^--------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: bridge_"${context}"_maxgroups_set "$locus" 100 In bridge_mdb_max.sh line 572: max=$(bridge_${context}_maxgroups_get "$locus") ^--------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: max=$(bridge_"${context}"_maxgroups_get "$locus") In bridge_mdb_max.sh line 576: bridge_${context}_maxgroups_set "$locus" 0 ^--------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: bridge_"${context}"_maxgroups_set "$locus" 0 In bridge_mdb_max.sh line 580: ${CFG}_entries_add "$locus" temp 5 ^----^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: "${CFG}"_entries_add "$locus" temp 5 In bridge_mdb_max.sh line 582: ${CFG}_entries_del "$locus" temp 5 ^----^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: "${CFG}"_entries_del "$locus" temp 5 In bridge_mdb_max.sh line 756: local n=$(bridge_${context}_ngroups_get "$locus") ^-- 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 n=$(bridge_"${context}"_ngroups_get "$locus") In bridge_mdb_max.sh line 759: ${CFG}_entries_add "$locus" temp 5 111 ^----^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: "${CFG}"_entries_add "$locus" temp 5 111 In bridge_mdb_max.sh line 762: bridge_${context}_maxgroups_set "$locus" $((n+2)) ^--------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: bridge_"${context}"_maxgroups_set "$locus" $((n+2)) In bridge_mdb_max.sh line 765: msg=$(${CFG}_entries_add "$locus" temp 2 112 2>&1) ^----^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: msg=$("${CFG}"_entries_add "$locus" temp 2 112 2>&1) In bridge_mdb_max.sh line 769: ${CFG}_entries_del "$locus" temp 5 111 ^----^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: "${CFG}"_entries_del "$locus" temp 5 111 In bridge_mdb_max.sh line 772: ${CFG}_entries_add "$locus" temp 2 112 ^----^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: "${CFG}"_entries_add "$locus" temp 2 112 In bridge_mdb_max.sh line 775: ${CFG}_entries_del "$locus" temp 2 112 ^----^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: "${CFG}"_entries_del "$locus" temp 2 112 In bridge_mdb_max.sh line 778: bridge_${context}_maxgroups_set "$locus" 0 ^--------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: bridge_"${context}"_maxgroups_set "$locus" 0 In bridge_mdb_max.sh line 852: local n=$(bridge_${context}_ngroups_get "$locus") ^-- 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 n=$(bridge_"${context}"_ngroups_get "$locus") In bridge_mdb_max.sh line 856: bridge_${context}_maxgroups_set "$locus" $((n+1)) ^--------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: bridge_"${context}"_maxgroups_set "$locus" $((n+1)) In bridge_mdb_max.sh line 860: msg=$(${CFG}_entries_add "$locus" temp 5 2>&1) ^----^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: msg=$("${CFG}"_entries_add "$locus" temp 5 2>&1) In bridge_mdb_max.sh line 862: bridge_maxgroups_errmsg_check_${CFG} "$msg" ^----^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: bridge_maxgroups_errmsg_check_"${CFG}" "$msg" In bridge_mdb_max.sh line 868: ${CFG}_entries_del "$locus" temp 17 2>&1 ^----^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: "${CFG}"_entries_del "$locus" temp 17 2>&1 In bridge_mdb_max.sh line 871: local n2=$(bridge_${context}_ngroups_get "$locus") ^-- 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 n2=$(bridge_"${context}"_ngroups_get "$locus") In bridge_mdb_max.sh line 875: bridge_${context}_maxgroups_set "$locus" 0 ^--------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: bridge_"${context}"_maxgroups_set "$locus" 0 In bridge_mdb_max.sh line 950: local n1=$(bridge_port_vlan_ngroups_get "$locus1") ^-- SC2155 (warning): Declare and assign separately to avoid masking return values. In bridge_mdb_max.sh line 951: local n2=$(bridge_port_vlan_ngroups_get "$locus2") ^-- SC2155 (warning): Declare and assign separately to avoid masking return values. In bridge_mdb_max.sh line 965: ${CFG}_entries_add "$locus2" temp 5 112 ^----^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: "${CFG}"_entries_add "$locus2" temp 5 112 In bridge_mdb_max.sh line 979: msg=$(${CFG}_entries_add "$locus1" temp $n2 111 2>&1) ^----^ SC2086 (info): Double quote to prevent globbing and word splitting. ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: msg=$("${CFG}"_entries_add "$locus1" temp "$n2" 111 2>&1) In bridge_mdb_max.sh line 981: bridge_maxgroups_errmsg_check_${CFG} "$msg" ^----^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: bridge_maxgroups_errmsg_check_"${CFG}" "$msg" In bridge_mdb_max.sh line 986: msg=$(${CFG}_entries_add "$locus1" temp 5 111 2>&1) ^----^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: msg=$("${CFG}"_entries_add "$locus1" temp 5 111 2>&1) In bridge_mdb_max.sh line 988: bridge_maxgroups_errmsg_check_${CFG} "$msg" ^----^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: bridge_maxgroups_errmsg_check_"${CFG}" "$msg" In bridge_mdb_max.sh line 993: ${CFG}_entries_del "$locus1" temp 5 111 2>/dev/null ^----^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: "${CFG}"_entries_del "$locus1" temp 5 111 2>/dev/null In bridge_mdb_max.sh line 995: ${CFG}_entries_add "$locus1" temp 2 111 ^----^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: "${CFG}"_entries_add "$locus1" temp 2 111 In bridge_mdb_max.sh line 998: ${CFG}_entries_del "$locus1" temp 2 111 ^----^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: "${CFG}"_entries_del "$locus1" temp 2 111 In bridge_mdb_max.sh line 1001: ${CFG}_entries_del "$locus2" temp 5 112 ^----^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: "${CFG}"_entries_del "$locus2" temp 5 112 In bridge_mdb_max.sh line 1040: local max=$(bridge_port_vlan_maxgroups_get "$locus") ^-^ SC2155 (warning): Declare and assign separately to avoid masking return values. In bridge_mdb_max.sh line 1041: local n=$(bridge_port_vlan_ngroups_get "$locus") ^-- SC2155 (warning): Declare and assign separately to avoid masking return values. In bridge_mdb_max.sh line 1072: ${CFG}_entries_add "$locus" $mode 5 ^----^ SC2086 (info): Double quote to prevent globbing and word splitting. ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: "${CFG}"_entries_add "$locus" "$mode" 5 In bridge_mdb_max.sh line 1075: bridge_${context}_maxgroups_set "$locus" 100 ^--------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: bridge_"${context}"_maxgroups_set "$locus" 100 In bridge_mdb_max.sh line 1082: local n=$(bridge_${context}_ngroups_get "$locus") ^-- 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 n=$(bridge_"${context}"_ngroups_get "$locus") In bridge_mdb_max.sh line 1083: local nn=$(bridge mdb show dev br0 | grep $swp1 | wc -l) ^-- SC2155 (warning): Declare and assign separately to avoid masking return values. ^--------^ SC2126 (style): Consider using 'grep -c' instead of 'grep|wc -l'. ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: local nn=$(bridge mdb show dev br0 | grep "$swp1" | wc -l) In bridge_mdb_max.sh line 1087: local max=$(bridge_${context}_maxgroups_get "$locus") ^-^ 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 max=$(bridge_"${context}"_maxgroups_get "$locus") In bridge_mdb_max.sh line 1091: bridge_${context}_maxgroups_set "$locus" 0 ^--------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: bridge_"${context}"_maxgroups_set "$locus" 0 In bridge_mdb_max.sh line 1347: 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/SC2068 -- Double quote array expansions to ... https://www.shellcheck.net/wiki/SC2034 -- dev_kw appears unused. Verify use... https://www.shellcheck.net/wiki/SC2046 -- Quote this to prevent word splitt... Checking tools/testing/selftests/net/forwarding/bridge_mld.sh - c9cf8245407d8eef297e4cc2d38035137cbef0ce084f1d5fe176f1cb71d76761 In bridge_mld.sh line 82: simple_if_init $h1 2001:db8:1::1/64 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: simple_if_init "$h1" 2001:db8:1::1/64 In bridge_mld.sh line 87: simple_if_fini $h1 2001:db8:1::1/64 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: simple_if_fini "$h1" 2001:db8:1::1/64 In bridge_mld.sh line 92: simple_if_init $h2 2001:db8:1::2/64 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: simple_if_init "$h2" 2001:db8:1::2/64 In bridge_mld.sh line 97: simple_if_fini $h2 2001:db8:1::2/64 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: simple_if_fini "$h2" 2001:db8:1::2/64 In bridge_mld.sh line 106: ip link set dev $swp1 master br0 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link set dev "$swp1" master br0 In bridge_mld.sh line 107: ip link set dev $swp2 master br0 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link set dev "$swp2" master br0 In bridge_mld.sh line 110: 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 bridge_mld.sh line 111: 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 bridge_mld.sh line 119: 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 bridge_mld.sh line 120: 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 bridge_mld.sh line 161: $MZ $host1_if $MZPKT_IS_INC -q ^-------^ SC2086 (info): Double quote to prevent globbing and word splitting. ^-----------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: $MZ "$host1_if" "$MZPKT_IS_INC" -q In bridge_mld.sh line 180: local pkt=$4 ^-^ SC2034 (warning): pkt appears unused. Verify use (or export if used externally). In bridge_mld.sh line 184: mldv2include_prepare $h1 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: mldv2include_prepare "$h1" In bridge_mld.sh line 186: $MZ $host1_if -c 1 $MZPKT_IS_EXC -q ^-------^ SC2086 (info): Double quote to prevent globbing and word splitting. ^-----------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: $MZ "$host1_if" -c 1 "$MZPKT_IS_EXC" -q In bridge_mld.sh line 211: bridge mdb del dev br0 port $port grp $TEST_GROUP ^---^ 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 br0 port "$port" grp "$TEST_GROUP" In bridge_mld.sh line 220: mldv2include_prepare $h1 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: mldv2include_prepare "$h1" In bridge_mld.sh line 229: mldv2cleanup $swp1 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: mldv2cleanup "$swp1" In bridge_mld.sh line 237: mldv2include_prepare $h1 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: mldv2include_prepare "$h1" In bridge_mld.sh line 239: $MZ $h1 -c 1 $MZPKT_ALLOW -q ^-^ 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" -c 1 "$MZPKT_ALLOW" -q In bridge_mld.sh line 250: mldv2cleanup $swp1 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: mldv2cleanup "$swp1" In bridge_mld.sh line 258: mldv2include_prepare $h1 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: mldv2include_prepare "$h1" In bridge_mld.sh line 260: $MZ $h1 -c 1 $MZPKT_IS_INC2 -q ^-^ 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" -c 1 "$MZPKT_IS_INC2" -q In bridge_mld.sh line 271: mldv2cleanup $swp1 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: mldv2cleanup "$swp1" In bridge_mld.sh line 278: mldv2exclude_prepare $h1 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: mldv2exclude_prepare "$h1" In bridge_mld.sh line 285: mldv2cleanup $swp1 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: mldv2cleanup "$swp1" In bridge_mld.sh line 294: mldv2include_prepare $h1 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: mldv2include_prepare "$h1" In bridge_mld.sh line 299: $MZ $h1 -c 1 $MZPKT_TO_EXC -q ^-^ 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" -c 1 "$MZPKT_TO_EXC" -q In bridge_mld.sh line 332: mldv2cleanup $swp1 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: mldv2cleanup "$swp1" In bridge_mld.sh line 341: mldv2exclude_prepare $h1 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: mldv2exclude_prepare "$h1" In bridge_mld.sh line 343: $MZ $h1 -c 1 $MZPKT_ALLOW2 -q ^-^ 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" -c 1 "$MZPKT_ALLOW2" -q In bridge_mld.sh line 355: mldv2cleanup $swp1 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: mldv2cleanup "$swp1" In bridge_mld.sh line 364: mldv2exclude_prepare $h1 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: mldv2exclude_prepare "$h1" In bridge_mld.sh line 366: $MZ $h1 -c 1 $MZPKT_IS_INC3 -q ^-^ 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" -c 1 "$MZPKT_IS_INC3" -q In bridge_mld.sh line 378: mldv2cleanup $swp1 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: mldv2cleanup "$swp1" In bridge_mld.sh line 387: mldv2exclude_prepare $h1 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: mldv2exclude_prepare "$h1" In bridge_mld.sh line 389: $MZ $h1 -c 1 $MZPKT_IS_EXC2 -q ^-^ 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" -c 1 "$MZPKT_IS_EXC2" -q In bridge_mld.sh line 401: mldv2cleanup $swp1 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: mldv2cleanup "$swp1" In bridge_mld.sh line 410: mldv2exclude_prepare $h1 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: mldv2exclude_prepare "$h1" In bridge_mld.sh line 415: $MZ $h1 -c 1 $MZPKT_TO_EXC -q ^-^ 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" -c 1 "$MZPKT_TO_EXC" -q In bridge_mld.sh line 429: mldv2cleanup $swp1 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: mldv2cleanup "$swp1" In bridge_mld.sh line 437: mldv2include_prepare $h1 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: mldv2include_prepare "$h1" In bridge_mld.sh line 439: $MZ $h1 -c 1 $MZPKT_BLOCK -q ^-^ 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" -c 1 "$MZPKT_BLOCK" -q In bridge_mld.sh line 458: mldv2cleanup $swp1 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: mldv2cleanup "$swp1" In bridge_mld.sh line 467: mldv2exclude_prepare $h1 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: mldv2exclude_prepare "$h1" In bridge_mld.sh line 472: $MZ $h1 -c 1 $MZPKT_BLOCK -q ^-^ 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" -c 1 "$MZPKT_BLOCK" -q In bridge_mld.sh line 486: mldv2cleanup $swp1 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: mldv2cleanup "$swp1" In bridge_mld.sh line 499: mldv2exclude_prepare $h1 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: mldv2exclude_prepare "$h1" In bridge_mld.sh line 504: $MZ $h1 -c 1 $MZPKT_ALLOW2 -q ^-^ 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" -c 1 "$MZPKT_ALLOW2" -q In bridge_mld.sh line 538: mldv2cleanup $swp1 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: mldv2cleanup "$swp1" In bridge_mld.sh line 545: mldv2exclude_prepare $h1 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: mldv2exclude_prepare "$h1" In bridge_mld.sh line 547: $MZ $h2 -c 1 $MZPKT_IS_INC -q ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. ^-----------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: $MZ "$h2" -c 1 "$MZPKT_IS_INC" -q In bridge_mld.sh line 566: mldv2cleanup $swp1 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: mldv2cleanup "$swp1" In bridge_mld.sh line 567: mldv2cleanup $swp2 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: mldv2cleanup "$swp2" In bridge_mld.sh line 590: [[ $is_port -eq 1 ]] && bridge link set dev $swp1 state 0 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: [[ $is_port -eq 1 ]] && bridge link set dev "$swp1" state 0 In bridge_mld.sh line 591: [[ $is_port -ne 1 ]] && bridge vlan set vid 1 dev $swp1 state 4 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: [[ $is_port -ne 1 ]] && bridge vlan set vid 1 dev "$swp1" state 4 In bridge_mld.sh line 593: local tx_s=$(ip -j -p stats show dev $swp1 \ ^--^ 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 tx_s=$(ip -j -p stats show dev "$swp1" \ In bridge_mld.sh line 596: [[ $is_port -eq 1 ]] && bridge link set dev $swp1 state 3 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: [[ $is_port -eq 1 ]] && bridge link set dev "$swp1" state 3 In bridge_mld.sh line 597: [[ $is_port -ne 1 ]] && bridge vlan set vid 1 dev $swp1 state 3 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: [[ $is_port -ne 1 ]] && bridge vlan set vid 1 dev "$swp1" state 3 In bridge_mld.sh line 599: local tx_e=$(ip -j -p stats show dev $swp1 \ ^--^ 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 tx_e=$(ip -j -p stats show dev "$swp1" \ In bridge_mld.sh line 604: local tx=$(expr $tx_e - $tx_s) ^-- SC2155 (warning): Declare and assign separately to avoid masking return values. ^--^ SC2003 (style): expr is antiquated. Consider rewriting this using $((..)), ${} or [[ ]]. ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: local tx=$(expr "$tx_e" - "$tx_s") In bridge_mld.sh line 605: test $tx -gt 0 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: test "$tx" -gt 0 In bridge_mld.sh line 637: 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/SC2034 -- pkt appears unused. Verify use (o... https://www.shellcheck.net/wiki/SC2155 -- Declare and assign separately to ... https://www.shellcheck.net/wiki/SC2086 -- Double quote to prevent globbing ... Checking tools/testing/selftests/net/forwarding/bridge_sticky_fdb.sh - a8cd9b13a1e3d04359e2623811a65ad2a1547446e463cdae91638a35fcc35033 In bridge_sticky_fdb.sh line 13: ip link set dev $swp1 master br0 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link set dev "$swp1" master br0 In bridge_sticky_fdb.sh line 14: ip link set dev $swp2 master br0 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link set dev "$swp2" master br0 In bridge_sticky_fdb.sh line 17: ip link set dev $h1 up ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link set dev "$h1" up In bridge_sticky_fdb.sh line 18: 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 bridge_sticky_fdb.sh line 19: ip link set dev $h2 up ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link set dev "$h2" up In bridge_sticky_fdb.sh line 20: 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 bridge_sticky_fdb.sh line 25: 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 bridge_sticky_fdb.sh line 26: ip link set dev $h2 down ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link set dev "$h2" down In bridge_sticky_fdb.sh line 27: 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 bridge_sticky_fdb.sh line 28: ip link set dev $h1 down ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link set dev "$h1" down In bridge_sticky_fdb.sh line 51: bridge fdb add $TEST_MAC dev $swp1 master static sticky ^-------^ 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 add "$TEST_MAC" dev "$swp1" master static sticky In bridge_sticky_fdb.sh line 53: bridge fdb del $TEST_MAC dev $swp1 vlan 1 master static sticky ^-------^ 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 "$TEST_MAC" dev "$swp1" vlan 1 master static sticky In bridge_sticky_fdb.sh line 54: $MZ $h2 -c 1 -a $TEST_MAC -t arp "request" -q ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. ^-------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: $MZ "$h2" -c 1 -a "$TEST_MAC" -t arp "request" -q In bridge_sticky_fdb.sh line 55: bridge -j fdb show br br0 brport $swp1\ ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: bridge -j fdb show br br0 brport "$swp1"\ In bridge_sticky_fdb.sh line 69: 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 ... Checking tools/testing/selftests/net/forwarding/bridge_vlan_aware.sh - beafe7452ff1ade48f8acaf495810ddb4ba99619f955d6430de614fdce26f1f2 In bridge_vlan_aware.sh line 11: simple_if_init $h1 192.0.2.1/24 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/24 2001:db8:1::1/64 In bridge_vlan_aware.sh line 16: simple_if_fini $h1 192.0.2.1/24 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/24 2001:db8:1::1/64 In bridge_vlan_aware.sh line 21: simple_if_init $h2 192.0.2.2/24 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/24 2001:db8:1::2/64 In bridge_vlan_aware.sh line 26: simple_if_fini $h2 192.0.2.2/24 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/24 2001:db8:1::2/64 In bridge_vlan_aware.sh line 33: ageing_time $LOW_AGEING_TIME \ ^--------------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ageing_time "$LOW_AGEING_TIME" \ In bridge_vlan_aware.sh line 36: ip link set dev $swp1 master br0 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link set dev "$swp1" master br0 In bridge_vlan_aware.sh line 37: ip link set dev $swp2 master br0 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link set dev "$swp2" master br0 In bridge_vlan_aware.sh line 40: 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 bridge_vlan_aware.sh line 41: 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 bridge_vlan_aware.sh line 46: 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 bridge_vlan_aware.sh line 47: 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 bridge_vlan_aware.sh line 82: ping_test $h1 192.0.2.2 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ping_test "$h1" 192.0.2.2 In bridge_vlan_aware.sh line 87: ping6_test $h1 2001:db8:1::2 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ping6_test "$h1" 2001:db8:1::2 In bridge_vlan_aware.sh line 92: learning_test "br0" $swp1 $h1 $h2 ^---^ 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: learning_test "br0" "$swp1" "$h1" "$h2" In bridge_vlan_aware.sh line 97: flood_test $swp2 $h1 $h2 ^---^ 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: flood_test "$swp2" "$h1" "$h2" In bridge_vlan_aware.sh line 106: bridge vlan add vid 10 dev $swp1 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: bridge vlan add vid 10 dev "$swp1" In bridge_vlan_aware.sh line 107: bridge vlan del vid 10 dev $swp1 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: bridge vlan del vid 10 dev "$swp1" In bridge_vlan_aware.sh line 121: bridge fdb add de:ad:be:ef:13:37 dev $swp1 master extern_learn vlan 1 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: bridge fdb add de:ad:be:ef:13:37 dev "$swp1" master extern_learn vlan 1 In bridge_vlan_aware.sh line 123: bridge fdb show brport $swp1 | grep -q de:ad:be:ef:13:37 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: bridge fdb show brport "$swp1" | grep -q de:ad:be:ef:13:37 In bridge_vlan_aware.sh line 131: bridge fdb show brport $swp1 | grep -q de:ad:be:ef:13:37 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: bridge fdb show brport "$swp1" | grep -q de:ad:be:ef:13:37 In bridge_vlan_aware.sh line 134: $MZ $h2 -c 1 -p 64 -a $mac -t ip -q ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: $MZ "$h2" -c 1 -p 64 -a "$mac" -t ip -q In bridge_vlan_aware.sh line 136: bridge fdb show brport $swp2 | grep -q de:ad:be:ef:13:37 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: bridge fdb show brport "$swp2" | grep -q de:ad:be:ef:13:37 In bridge_vlan_aware.sh line 141: bridge fdb del de:ad:be:ef:13:37 dev $swp2 master vlan 1 &> /dev/null ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: bridge fdb del de:ad:be:ef:13:37 dev "$swp2" master vlan 1 &> /dev/null In bridge_vlan_aware.sh line 142: bridge fdb del de:ad:be:ef:13:37 dev $swp1 master vlan 1 &> /dev/null ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: bridge fdb del de:ad:be:ef:13:37 dev "$swp1" master vlan 1 &> /dev/null In bridge_vlan_aware.sh line 155: tc qdisc add dev $h2 clsact ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc qdisc add dev "$h2" clsact In bridge_vlan_aware.sh line 156: tc filter add dev $h2 ingress protocol all pref 1 handle 101 \ ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter add dev "$h2" ingress protocol all pref 1 handle 101 \ In bridge_vlan_aware.sh line 157: flower dst_mac $mac action drop ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: flower dst_mac "$mac" action drop In bridge_vlan_aware.sh line 158: ip link set $h2 promisc on ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link set "$h2" promisc on In bridge_vlan_aware.sh line 159: ethtool -K $h2 rx-vlan-filter off rx-vlan-stag-filter off ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ethtool -K "$h2" rx-vlan-filter off rx-vlan-stag-filter off In bridge_vlan_aware.sh line 161: $MZ -q $h1 -c 1 -b $mac -a own "88:a8 00:03 81:00 00:05 08:00 aa-aa-aa-aa-aa-aa-aa-aa-aa" ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: $MZ -q "$h1" -c 1 -b "$mac" -a own "88:a8 00:03 81:00 00:05 08:00 aa-aa-aa-aa-aa-aa-aa-aa-aa" In bridge_vlan_aware.sh line 167: bridge -j fdb show $swp1 | \ ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: bridge -j fdb show "$swp1" | \ In bridge_vlan_aware.sh line 168: jq -e ".[] | select(.mac == \"$(mac_get $h1)\") | select(.vlan == 1)" &> /dev/null ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: jq -e ".[] | select(.mac == \"$(mac_get "$h1")\") | select(.vlan == 1)" &> /dev/null In bridge_vlan_aware.sh line 174: tc -j -s filter show dev $h2 ingress \ ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc -j -s filter show dev "$h2" ingress \ In bridge_vlan_aware.sh line 180: bridge vlan del dev $swp1 vid 1 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: bridge vlan del dev "$swp1" vid 1 In bridge_vlan_aware.sh line 182: $MZ -q $h1 -c 1 -b $mac -a own "88:a8 00:03 81:00 00:05 08:00 aa-aa-aa-aa-aa-aa-aa-aa-aa" ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: $MZ -q "$h1" -c 1 -b "$mac" -a own "88:a8 00:03 81:00 00:05 08:00 aa-aa-aa-aa-aa-aa-aa-aa-aa" In bridge_vlan_aware.sh line 186: tc -j -s filter show dev $h2 ingress \ ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc -j -s filter show dev "$h2" ingress \ In bridge_vlan_aware.sh line 192: bridge vlan add dev $swp1 vid 1 pvid untagged ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: bridge vlan add dev "$swp1" vid 1 pvid untagged In bridge_vlan_aware.sh line 193: ip link set $h2 promisc off ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link set "$h2" promisc off In bridge_vlan_aware.sh line 194: tc qdisc del dev $h2 clsact ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc qdisc del dev "$h2" clsact In bridge_vlan_aware.sh line 202: tc filter add dev $h2 ingress protocol all pref 1 handle 101 \ ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter add dev "$h2" ingress protocol all pref 1 handle 101 \ In bridge_vlan_aware.sh line 203: flower dst_mac $mac action drop ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: flower dst_mac "$mac" action drop In bridge_vlan_aware.sh line 205: $MZ -q $h1 -c 1 -b $mac -a own "81:00 00:00 08:00 aa-aa-aa-aa-aa-aa-aa-aa-aa" ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: $MZ -q "$h1" -c 1 -b "$mac" -a own "81:00 00:00 08:00 aa-aa-aa-aa-aa-aa-aa-aa-aa" In bridge_vlan_aware.sh line 208: tc -j -s filter show dev $h2 ingress \ ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc -j -s filter show dev "$h2" ingress \ In bridge_vlan_aware.sh line 211: check_err_fail $should_fail $? "802.1p-tagged reception" ^----------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: check_err_fail "$should_fail" $? "802.1p-tagged reception" In bridge_vlan_aware.sh line 213: tc filter del dev $h2 ingress pref 1 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter del dev "$h2" ingress pref 1 In bridge_vlan_aware.sh line 220: tc qdisc add dev $h2 clsact ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc qdisc add dev "$h2" clsact In bridge_vlan_aware.sh line 221: ip link set $h2 promisc on ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link set "$h2" promisc on In bridge_vlan_aware.sh line 234: ip link set $h2 promisc off ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link set "$h2" promisc off In bridge_vlan_aware.sh line 235: tc qdisc del dev $h2 clsact ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc qdisc del dev "$h2" clsact In bridge_vlan_aware.sh line 240: ping_do $h1 192.0.2.2 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ping_do "$h1" 192.0.2.2 In bridge_vlan_aware.sh line 250: tc qdisc add dev $h2 clsact ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc qdisc add dev "$h2" clsact In bridge_vlan_aware.sh line 251: ip link set $h2 promisc on ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link set "$h2" promisc on In bridge_vlan_aware.sh line 258: bridge vlan add dev $swp1 vid 1 untagged ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: bridge vlan add dev "$swp1" vid 1 untagged In bridge_vlan_aware.sh line 260: bridge vlan add dev $swp1 vid 1 pvid untagged ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: bridge vlan add dev "$swp1" vid 1 pvid untagged In bridge_vlan_aware.sh line 263: bridge vlan del dev $swp1 vid 1 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: bridge vlan del dev "$swp1" vid 1 In bridge_vlan_aware.sh line 265: bridge vlan add dev $swp1 vid 1 pvid untagged ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: bridge vlan add dev "$swp1" vid 1 pvid untagged In bridge_vlan_aware.sh line 271: ip link set $swp1 down ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link set "$swp1" down In bridge_vlan_aware.sh line 272: ip link set $swp1 up ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link set "$swp1" up In bridge_vlan_aware.sh line 278: ip link set $swp1 nomaster ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link set "$swp1" nomaster In bridge_vlan_aware.sh line 279: ip link set $swp1 master br0 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link set "$swp1" master br0 In bridge_vlan_aware.sh line 287: ip link set $h2 promisc off ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link set "$h2" promisc off In bridge_vlan_aware.sh line 288: tc qdisc del dev $h2 clsact ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc qdisc del dev "$h2" clsact In bridge_vlan_aware.sh line 298: 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 ... Checking tools/testing/selftests/net/forwarding/custom_multipath_hash.sh - feef75360916395bb50579a2362a27bb961763cb35917e4c01701137e61cacd9 In custom_multipath_hash.sh line 56: simple_if_init $h1 198.51.100.2/24 2001:db8:1::2/64 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: simple_if_init "$h1" 198.51.100.2/24 2001:db8:1::2/64 In custom_multipath_hash.sh line 57: ip route add vrf v$h1 default via 198.51.100.1 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 route add vrf v"$h1" default via 198.51.100.1 dev "$h1" In custom_multipath_hash.sh line 58: ip -6 route add vrf v$h1 default via 2001:db8:1::1 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 -6 route add vrf v"$h1" default via 2001:db8:1::1 dev "$h1" In custom_multipath_hash.sh line 63: ip -6 route del vrf v$h1 default ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip -6 route del vrf v"$h1" default In custom_multipath_hash.sh line 64: ip route del vrf v$h1 default ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip route del vrf v"$h1" default In custom_multipath_hash.sh line 65: simple_if_fini $h1 198.51.100.2/24 2001:db8:1::2/64 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: simple_if_fini "$h1" 198.51.100.2/24 2001:db8:1::2/64 In custom_multipath_hash.sh line 70: simple_if_init $rp1 198.51.100.1/24 2001:db8:1::1/64 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: simple_if_init "$rp1" 198.51.100.1/24 2001:db8:1::1/64 In custom_multipath_hash.sh line 71: __simple_if_init $rp11 v$rp1 192.0.2.1/28 2001:db8:2::1/64 ^---^ 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 "$rp11" v"$rp1" 192.0.2.1/28 2001:db8:2::1/64 In custom_multipath_hash.sh line 72: __simple_if_init $rp12 v$rp1 192.0.2.17/28 2001:db8:3::1/64 ^---^ 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 "$rp12" v"$rp1" 192.0.2.17/28 2001:db8:3::1/64 In custom_multipath_hash.sh line 74: ip route add vrf v$rp1 203.0.113.0/24 \ ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip route add vrf v"$rp1" 203.0.113.0/24 \ In custom_multipath_hash.sh line 75: nexthop via 192.0.2.2 dev $rp11 \ ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: nexthop via 192.0.2.2 dev "$rp11" \ In custom_multipath_hash.sh line 76: nexthop via 192.0.2.18 dev $rp12 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: nexthop via 192.0.2.18 dev "$rp12" In custom_multipath_hash.sh line 78: ip -6 route add vrf v$rp1 2001:db8:4::/64 \ ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip -6 route add vrf v"$rp1" 2001:db8:4::/64 \ In custom_multipath_hash.sh line 79: nexthop via 2001:db8:2::2 dev $rp11 \ ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: nexthop via 2001:db8:2::2 dev "$rp11" \ In custom_multipath_hash.sh line 80: nexthop via 2001:db8:3::2 dev $rp12 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: nexthop via 2001:db8:3::2 dev "$rp12" In custom_multipath_hash.sh line 85: ip -6 route del vrf v$rp1 2001:db8:4::/64 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip -6 route del vrf v"$rp1" 2001:db8:4::/64 In custom_multipath_hash.sh line 87: ip route del vrf v$rp1 203.0.113.0/24 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip route del vrf v"$rp1" 203.0.113.0/24 In custom_multipath_hash.sh line 89: __simple_if_fini $rp12 192.0.2.17/28 2001:db8:3::1/64 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: __simple_if_fini "$rp12" 192.0.2.17/28 2001:db8:3::1/64 In custom_multipath_hash.sh line 90: __simple_if_fini $rp11 192.0.2.1/28 2001:db8:2::1/64 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: __simple_if_fini "$rp11" 192.0.2.1/28 2001:db8:2::1/64 In custom_multipath_hash.sh line 91: simple_if_fini $rp1 198.51.100.1/24 2001:db8:1::1/64 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: simple_if_fini "$rp1" 198.51.100.1/24 2001:db8:1::1/64 In custom_multipath_hash.sh line 96: simple_if_init $rp2 203.0.113.1/24 2001:db8:4::1/64 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: simple_if_init "$rp2" 203.0.113.1/24 2001:db8:4::1/64 In custom_multipath_hash.sh line 97: __simple_if_init $rp21 v$rp2 192.0.2.2/28 2001:db8:2::2/64 ^---^ 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 "$rp21" v"$rp2" 192.0.2.2/28 2001:db8:2::2/64 In custom_multipath_hash.sh line 98: __simple_if_init $rp22 v$rp2 192.0.2.18/28 2001:db8:3::2/64 ^---^ 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 "$rp22" v"$rp2" 192.0.2.18/28 2001:db8:3::2/64 In custom_multipath_hash.sh line 100: ip route add vrf v$rp2 198.51.100.0/24 \ ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip route add vrf v"$rp2" 198.51.100.0/24 \ In custom_multipath_hash.sh line 101: nexthop via 192.0.2.1 dev $rp21 \ ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: nexthop via 192.0.2.1 dev "$rp21" \ In custom_multipath_hash.sh line 102: nexthop via 192.0.2.17 dev $rp22 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: nexthop via 192.0.2.17 dev "$rp22" In custom_multipath_hash.sh line 104: ip -6 route add vrf v$rp2 2001:db8:1::/64 \ ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip -6 route add vrf v"$rp2" 2001:db8:1::/64 \ In custom_multipath_hash.sh line 105: nexthop via 2001:db8:2::1 dev $rp21 \ ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: nexthop via 2001:db8:2::1 dev "$rp21" \ In custom_multipath_hash.sh line 106: nexthop via 2001:db8:3::1 dev $rp22 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: nexthop via 2001:db8:3::1 dev "$rp22" In custom_multipath_hash.sh line 111: ip -6 route del vrf v$rp2 2001:db8:1::/64 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip -6 route del vrf v"$rp2" 2001:db8:1::/64 In custom_multipath_hash.sh line 113: ip route del vrf v$rp2 198.51.100.0/24 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip route del vrf v"$rp2" 198.51.100.0/24 In custom_multipath_hash.sh line 115: __simple_if_fini $rp22 192.0.2.18/28 2001:db8:3::2/64 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: __simple_if_fini "$rp22" 192.0.2.18/28 2001:db8:3::2/64 In custom_multipath_hash.sh line 116: __simple_if_fini $rp21 192.0.2.2/28 2001:db8:2::2/64 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: __simple_if_fini "$rp21" 192.0.2.2/28 2001:db8:2::2/64 In custom_multipath_hash.sh line 117: simple_if_fini $rp2 203.0.113.1/24 2001:db8:4::1/64 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: simple_if_fini "$rp2" 203.0.113.1/24 2001:db8:4::1/64 In custom_multipath_hash.sh line 122: simple_if_init $h2 203.0.113.2/24 2001:db8:4::2/64 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: simple_if_init "$h2" 203.0.113.2/24 2001:db8:4::2/64 In custom_multipath_hash.sh line 123: ip route add vrf v$h2 default via 203.0.113.1 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 route add vrf v"$h2" default via 203.0.113.1 dev "$h2" In custom_multipath_hash.sh line 124: ip -6 route add vrf v$h2 default via 2001:db8:4::1 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 -6 route add vrf v"$h2" default via 2001:db8:4::1 dev "$h2" In custom_multipath_hash.sh line 129: ip -6 route del vrf v$h2 default ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip -6 route del vrf v"$h2" default In custom_multipath_hash.sh line 130: ip route del vrf v$h2 default ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip route del vrf v"$h2" default In custom_multipath_hash.sh line 131: simple_if_fini $h2 203.0.113.2/24 2001:db8:4::2/64 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: simple_if_fini "$h2" 203.0.113.2/24 2001:db8:4::2/64 In custom_multipath_hash.sh line 174: ping_test $h1 203.0.113.2 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ping_test "$h1" 203.0.113.2 In custom_multipath_hash.sh line 179: ping6_test $h1 2001:db8:4::2 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ping6_test "$h1" 2001:db8:4::2 In custom_multipath_hash.sh line 184: ip vrf exec v$h1 $MZ $h1 -q -p 64 \ ^-^ 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: ip vrf exec v"$h1" "$MZ" "$h1" -q -p 64 \ In custom_multipath_hash.sh line 186: -d $MZ_DELAY -c 50 -t udp "sp=20000,dp=30000" ^-------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: -d "$MZ_DELAY" -c 50 -t udp "sp=20000,dp=30000" In custom_multipath_hash.sh line 191: ip vrf exec v$h1 $MZ $h1 -q -p 64 \ ^-^ 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: ip vrf exec v"$h1" "$MZ" "$h1" -q -p 64 \ In custom_multipath_hash.sh line 193: -d $MZ_DELAY -c 50 -t udp "sp=20000,dp=30000" ^-------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: -d "$MZ_DELAY" -c 50 -t udp "sp=20000,dp=30000" In custom_multipath_hash.sh line 198: ip vrf exec v$h1 $MZ $h1 -q -p 64 \ ^-^ 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: ip vrf exec v"$h1" "$MZ" "$h1" -q -p 64 \ In custom_multipath_hash.sh line 200: -d $MZ_DELAY -t udp "sp=0-32768,dp=30000" ^-------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: -d "$MZ_DELAY" -t udp "sp=0-32768,dp=30000" In custom_multipath_hash.sh line 205: ip vrf exec v$h1 $MZ $h1 -q -p 64 \ ^-^ 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: ip vrf exec v"$h1" "$MZ" "$h1" -q -p 64 \ In custom_multipath_hash.sh line 207: -d $MZ_DELAY -t udp "sp=20000,dp=0-32768" ^-------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: -d "$MZ_DELAY" -t udp "sp=20000,dp=0-32768" In custom_multipath_hash.sh line 212: ip vrf exec v$h1 $MZ -6 $h1 -q -p 64 \ ^-^ 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: ip vrf exec v"$h1" "$MZ" -6 "$h1" -q -p 64 \ In custom_multipath_hash.sh line 214: -d $MZ_DELAY -c 50 -t udp "sp=20000,dp=30000" ^-------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: -d "$MZ_DELAY" -c 50 -t udp "sp=20000,dp=30000" In custom_multipath_hash.sh line 219: ip vrf exec v$h1 $MZ -6 $h1 -q -p 64 \ ^-^ 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: ip vrf exec v"$h1" "$MZ" -6 "$h1" -q -p 64 \ In custom_multipath_hash.sh line 221: -d $MZ_DELAY -c 50 -t udp "sp=20000,dp=30000" ^-------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: -d "$MZ_DELAY" -c 50 -t udp "sp=20000,dp=30000" In custom_multipath_hash.sh line 227: ip vrf exec v$h1 sh -c \ ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip vrf exec v"$h1" sh -c \ In custom_multipath_hash.sh line 235: ip vrf exec v$h1 $MZ -6 $h1 -q -p 64 \ ^-^ 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: ip vrf exec v"$h1" "$MZ" -6 "$h1" -q -p 64 \ In custom_multipath_hash.sh line 237: -d $MZ_DELAY -t udp "sp=0-32768,dp=30000" ^-------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: -d "$MZ_DELAY" -t udp "sp=0-32768,dp=30000" In custom_multipath_hash.sh line 242: ip vrf exec v$h1 $MZ -6 $h1 -q -p 64 \ ^-^ 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: ip vrf exec v"$h1" "$MZ" -6 "$h1" -q -p 64 \ In custom_multipath_hash.sh line 244: -d $MZ_DELAY -t udp "sp=20000,dp=0-32768" ^-------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: -d "$MZ_DELAY" -t udp "sp=20000,dp=0-32768" In custom_multipath_hash.sh line 251: local send_flows="$@" ^--^ SC2124 (warning): Assigning an array to a string! Assign as array, or use * instead of @ to concatenate. In custom_multipath_hash.sh line 255: local t0_rp11=$(link_stats_tx_packets_get $rp11) ^-----^ 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_rp11=$(link_stats_tx_packets_get "$rp11") In custom_multipath_hash.sh line 256: local t0_rp12=$(link_stats_tx_packets_get $rp12) ^-----^ 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_rp12=$(link_stats_tx_packets_get "$rp12") In custom_multipath_hash.sh line 260: local t1_rp11=$(link_stats_tx_packets_get $rp11) ^-----^ 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_rp11=$(link_stats_tx_packets_get "$rp11") In custom_multipath_hash.sh line 261: local t1_rp12=$(link_stats_tx_packets_get $rp12) ^-----^ 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_rp12=$(link_stats_tx_packets_get "$rp12") In custom_multipath_hash.sh line 269: local pct=$(echo "$diff / $sum * 100" | bc -l) ^-^ SC2155 (warning): Declare and assign separately to avoid masking return values. In custom_multipath_hash.sh line 270: local is_balanced=$(echo "-20 <= $pct && $pct <= 20" | bc) ^---------^ SC2155 (warning): Declare and assign separately to avoid masking return values. In custom_multipath_hash.sh line 372: 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/SC2124 -- Assigning an array to a string! A... https://www.shellcheck.net/wiki/SC2155 -- Declare and assign separately to ... https://www.shellcheck.net/wiki/SC2086 -- Double quote to prevent globbing ... Checking tools/testing/selftests/net/forwarding/gre_custom_multipath_hash.sh - 445306b7293eb5abcc5103adcd817f49fc36f06a5909e8bc59e17582e8a25de0 In gre_custom_multipath_hash.sh line 89: simple_if_init $h1 198.51.100.2/24 2001:db8:1::2/64 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: simple_if_init "$h1" 198.51.100.2/24 2001:db8:1::2/64 In gre_custom_multipath_hash.sh line 90: ip route add vrf v$h1 default via 198.51.100.1 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 route add vrf v"$h1" default via 198.51.100.1 dev "$h1" In gre_custom_multipath_hash.sh line 91: ip -6 route add vrf v$h1 default via 2001:db8:1::1 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 -6 route add vrf v"$h1" default via 2001:db8:1::1 dev "$h1" In gre_custom_multipath_hash.sh line 96: ip -6 route del vrf v$h1 default ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip -6 route del vrf v"$h1" default In gre_custom_multipath_hash.sh line 97: ip route del vrf v$h1 default ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip route del vrf v"$h1" default In gre_custom_multipath_hash.sh line 98: simple_if_fini $h1 198.51.100.2/24 2001:db8:1::2/64 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: simple_if_fini "$h1" 198.51.100.2/24 2001:db8:1::2/64 In gre_custom_multipath_hash.sh line 103: simple_if_init $ol1 198.51.100.1/24 2001:db8:1::1/64 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: simple_if_init "$ol1" 198.51.100.1/24 2001:db8:1::1/64 In gre_custom_multipath_hash.sh line 104: __simple_if_init $ul1 v$ol1 192.0.2.17/28 ^--^ 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" 192.0.2.17/28 In gre_custom_multipath_hash.sh line 106: tunnel_create g1 gre 192.0.2.1 192.0.2.2 tos inherit dev v$ol1 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tunnel_create g1 gre 192.0.2.1 192.0.2.2 tos inherit dev v"$ol1" In gre_custom_multipath_hash.sh line 107: __simple_if_init g1 v$ol1 192.0.2.1/32 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: __simple_if_init g1 v"$ol1" 192.0.2.1/32 In gre_custom_multipath_hash.sh line 108: ip route add vrf v$ol1 192.0.2.2/32 via 192.0.2.18 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip route add vrf v"$ol1" 192.0.2.2/32 via 192.0.2.18 In gre_custom_multipath_hash.sh line 110: ip route add vrf v$ol1 203.0.113.0/24 dev g1 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip route add vrf v"$ol1" 203.0.113.0/24 dev g1 In gre_custom_multipath_hash.sh line 111: ip -6 route add vrf v$ol1 2001:db8:2::/64 dev g1 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip -6 route add vrf v"$ol1" 2001:db8:2::/64 dev g1 In gre_custom_multipath_hash.sh line 116: ip -6 route del vrf v$ol1 2001:db8:2::/64 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip -6 route del vrf v"$ol1" 2001:db8:2::/64 In gre_custom_multipath_hash.sh line 117: ip route del vrf v$ol1 203.0.113.0/24 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip route del vrf v"$ol1" 203.0.113.0/24 In gre_custom_multipath_hash.sh line 119: ip route del vrf v$ol1 192.0.2.2/32 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip route del vrf v"$ol1" 192.0.2.2/32 In gre_custom_multipath_hash.sh line 123: __simple_if_fini $ul1 192.0.2.17/28 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: __simple_if_fini "$ul1" 192.0.2.17/28 In gre_custom_multipath_hash.sh line 124: simple_if_fini $ol1 198.51.100.1/24 2001:db8:1::1/64 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: simple_if_fini "$ol1" 198.51.100.1/24 2001:db8:1::1/64 In gre_custom_multipath_hash.sh line 129: simple_if_init $ul21 192.0.2.18/28 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: simple_if_init "$ul21" 192.0.2.18/28 In gre_custom_multipath_hash.sh line 130: __simple_if_init $ul22 v$ul21 ^---^ 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 "$ul22" v"$ul21" In gre_custom_multipath_hash.sh line 131: vlan_create $ul22 111 v$ul21 192.0.2.33/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 "$ul22" 111 v"$ul21" 192.0.2.33/28 In gre_custom_multipath_hash.sh line 132: vlan_create $ul22 222 v$ul21 192.0.2.49/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 "$ul22" 222 v"$ul21" 192.0.2.49/28 In gre_custom_multipath_hash.sh line 134: ip route add vrf v$ul21 192.0.2.1/32 via 192.0.2.17 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip route add vrf v"$ul21" 192.0.2.1/32 via 192.0.2.17 In gre_custom_multipath_hash.sh line 135: ip route add vrf v$ul21 192.0.2.2/32 \ ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip route add vrf v"$ul21" 192.0.2.2/32 \ In gre_custom_multipath_hash.sh line 142: ip route del vrf v$ul21 192.0.2.2/32 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip route del vrf v"$ul21" 192.0.2.2/32 In gre_custom_multipath_hash.sh line 143: ip route del vrf v$ul21 192.0.2.1/32 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip route del vrf v"$ul21" 192.0.2.1/32 In gre_custom_multipath_hash.sh line 145: vlan_destroy $ul22 222 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: vlan_destroy "$ul22" 222 In gre_custom_multipath_hash.sh line 146: vlan_destroy $ul22 111 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: vlan_destroy "$ul22" 111 In gre_custom_multipath_hash.sh line 147: __simple_if_fini $ul22 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: __simple_if_fini "$ul22" In gre_custom_multipath_hash.sh line 148: simple_if_fini $ul21 192.0.2.18/28 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: simple_if_fini "$ul21" 192.0.2.18/28 In gre_custom_multipath_hash.sh line 153: simple_if_init $ul31 192.0.2.65/28 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: simple_if_init "$ul31" 192.0.2.65/28 In gre_custom_multipath_hash.sh line 154: __simple_if_init $ul32 v$ul31 ^---^ 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 "$ul32" v"$ul31" In gre_custom_multipath_hash.sh line 155: vlan_create $ul32 111 v$ul31 192.0.2.34/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 "$ul32" 111 v"$ul31" 192.0.2.34/28 In gre_custom_multipath_hash.sh line 156: vlan_create $ul32 222 v$ul31 192.0.2.50/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 "$ul32" 222 v"$ul31" 192.0.2.50/28 In gre_custom_multipath_hash.sh line 158: ip route add vrf v$ul31 192.0.2.2/32 via 192.0.2.66 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip route add vrf v"$ul31" 192.0.2.2/32 via 192.0.2.66 In gre_custom_multipath_hash.sh line 159: ip route add vrf v$ul31 192.0.2.1/32 \ ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip route add vrf v"$ul31" 192.0.2.1/32 \ In gre_custom_multipath_hash.sh line 163: tc qdisc add dev $ul32 clsact ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc qdisc add dev "$ul32" clsact In gre_custom_multipath_hash.sh line 164: tc filter add dev $ul32 ingress pref 111 prot 802.1Q \ ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter add dev "$ul32" ingress pref 111 prot 802.1Q \ In gre_custom_multipath_hash.sh line 166: tc filter add dev $ul32 ingress pref 222 prot 802.1Q \ ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter add dev "$ul32" ingress pref 222 prot 802.1Q \ In gre_custom_multipath_hash.sh line 172: tc qdisc del dev $ul32 clsact ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc qdisc del dev "$ul32" clsact In gre_custom_multipath_hash.sh line 174: ip route del vrf v$ul31 192.0.2.1/32 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip route del vrf v"$ul31" 192.0.2.1/32 In gre_custom_multipath_hash.sh line 175: ip route del vrf v$ul31 192.0.2.2/32 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip route del vrf v"$ul31" 192.0.2.2/32 In gre_custom_multipath_hash.sh line 177: vlan_destroy $ul32 222 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: vlan_destroy "$ul32" 222 In gre_custom_multipath_hash.sh line 178: vlan_destroy $ul32 111 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: vlan_destroy "$ul32" 111 In gre_custom_multipath_hash.sh line 179: __simple_if_fini $ul32 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: __simple_if_fini "$ul32" In gre_custom_multipath_hash.sh line 180: simple_if_fini $ul31 192.0.2.65/28 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: simple_if_fini "$ul31" 192.0.2.65/28 In gre_custom_multipath_hash.sh line 185: simple_if_init $ol4 203.0.113.1/24 2001:db8:2::1/64 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: simple_if_init "$ol4" 203.0.113.1/24 2001:db8:2::1/64 In gre_custom_multipath_hash.sh line 186: __simple_if_init $ul4 v$ol4 192.0.2.66/28 ^--^ 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 "$ul4" v"$ol4" 192.0.2.66/28 In gre_custom_multipath_hash.sh line 188: tunnel_create g2 gre 192.0.2.2 192.0.2.1 tos inherit dev v$ol4 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tunnel_create g2 gre 192.0.2.2 192.0.2.1 tos inherit dev v"$ol4" In gre_custom_multipath_hash.sh line 189: __simple_if_init g2 v$ol4 192.0.2.2/32 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: __simple_if_init g2 v"$ol4" 192.0.2.2/32 In gre_custom_multipath_hash.sh line 190: ip route add vrf v$ol4 192.0.2.1/32 via 192.0.2.65 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip route add vrf v"$ol4" 192.0.2.1/32 via 192.0.2.65 In gre_custom_multipath_hash.sh line 192: ip route add vrf v$ol4 198.51.100.0/24 dev g2 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip route add vrf v"$ol4" 198.51.100.0/24 dev g2 In gre_custom_multipath_hash.sh line 193: ip -6 route add vrf v$ol4 2001:db8:1::/64 dev g2 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip -6 route add vrf v"$ol4" 2001:db8:1::/64 dev g2 In gre_custom_multipath_hash.sh line 198: ip -6 route del vrf v$ol4 2001:db8:1::/64 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip -6 route del vrf v"$ol4" 2001:db8:1::/64 In gre_custom_multipath_hash.sh line 199: ip route del vrf v$ol4 198.51.100.0/24 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip route del vrf v"$ol4" 198.51.100.0/24 In gre_custom_multipath_hash.sh line 201: ip route del vrf v$ol4 192.0.2.1/32 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip route del vrf v"$ol4" 192.0.2.1/32 In gre_custom_multipath_hash.sh line 205: __simple_if_fini $ul4 192.0.2.66/28 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: __simple_if_fini "$ul4" 192.0.2.66/28 In gre_custom_multipath_hash.sh line 206: simple_if_fini $ol4 203.0.113.1/24 2001:db8:2::1/64 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: simple_if_fini "$ol4" 203.0.113.1/24 2001:db8:2::1/64 In gre_custom_multipath_hash.sh line 211: simple_if_init $h2 203.0.113.2/24 2001:db8:2::2/64 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: simple_if_init "$h2" 203.0.113.2/24 2001:db8:2::2/64 In gre_custom_multipath_hash.sh line 212: ip route add vrf v$h2 default via 203.0.113.1 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 route add vrf v"$h2" default via 203.0.113.1 dev "$h2" In gre_custom_multipath_hash.sh line 213: ip -6 route add vrf v$h2 default via 2001:db8:2::1 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 -6 route add vrf v"$h2" default via 2001:db8:2::1 dev "$h2" In gre_custom_multipath_hash.sh line 218: ip -6 route del vrf v$h2 default ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip -6 route del vrf v"$h2" default In gre_custom_multipath_hash.sh line 219: ip route del vrf v$h2 default ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip route del vrf v"$h2" default In gre_custom_multipath_hash.sh line 220: simple_if_fini $h2 203.0.113.2/24 2001:db8:2::2/64 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: simple_if_fini "$h2" 203.0.113.2/24 2001:db8:2::2/64 In gre_custom_multipath_hash.sh line 269: ping_test $h1 203.0.113.2 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ping_test "$h1" 203.0.113.2 In gre_custom_multipath_hash.sh line 274: 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_custom_multipath_hash.sh line 279: ip vrf exec v$h1 $MZ $h1 -q -p 64 \ ^-^ 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: ip vrf exec v"$h1" "$MZ" "$h1" -q -p 64 \ In gre_custom_multipath_hash.sh line 281: -d $MZ_DELAY -c 50 -t udp "sp=20000,dp=30000" ^-------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: -d "$MZ_DELAY" -c 50 -t udp "sp=20000,dp=30000" In gre_custom_multipath_hash.sh line 286: ip vrf exec v$h1 $MZ $h1 -q -p 64 \ ^-^ 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: ip vrf exec v"$h1" "$MZ" "$h1" -q -p 64 \ In gre_custom_multipath_hash.sh line 288: -d $MZ_DELAY -c 50 -t udp "sp=20000,dp=30000" ^-------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: -d "$MZ_DELAY" -c 50 -t udp "sp=20000,dp=30000" In gre_custom_multipath_hash.sh line 293: ip vrf exec v$h1 $MZ $h1 -q -p 64 \ ^-^ 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: ip vrf exec v"$h1" "$MZ" "$h1" -q -p 64 \ In gre_custom_multipath_hash.sh line 295: -d $MZ_DELAY -t udp "sp=0-32768,dp=30000" ^-------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: -d "$MZ_DELAY" -t udp "sp=0-32768,dp=30000" In gre_custom_multipath_hash.sh line 300: ip vrf exec v$h1 $MZ $h1 -q -p 64 \ ^-^ 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: ip vrf exec v"$h1" "$MZ" "$h1" -q -p 64 \ In gre_custom_multipath_hash.sh line 302: -d $MZ_DELAY -t udp "sp=20000,dp=0-32768" ^-------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: -d "$MZ_DELAY" -t udp "sp=20000,dp=0-32768" In gre_custom_multipath_hash.sh line 307: ip vrf exec v$h1 $MZ -6 $h1 -q -p 64 \ ^-^ 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: ip vrf exec v"$h1" "$MZ" -6 "$h1" -q -p 64 \ In gre_custom_multipath_hash.sh line 309: -d $MZ_DELAY -c 50 -t udp "sp=20000,dp=30000" ^-------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: -d "$MZ_DELAY" -c 50 -t udp "sp=20000,dp=30000" In gre_custom_multipath_hash.sh line 314: ip vrf exec v$h1 $MZ -6 $h1 -q -p 64 \ ^-^ 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: ip vrf exec v"$h1" "$MZ" -6 "$h1" -q -p 64 \ In gre_custom_multipath_hash.sh line 316: -d $MZ_DELAY -c 50 -t udp "sp=20000,dp=30000" ^-------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: -d "$MZ_DELAY" -c 50 -t udp "sp=20000,dp=30000" In gre_custom_multipath_hash.sh line 322: ip vrf exec v$h1 sh -c \ ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip vrf exec v"$h1" sh -c \ In gre_custom_multipath_hash.sh line 330: ip vrf exec v$h1 $MZ -6 $h1 -q -p 64 \ ^-^ 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: ip vrf exec v"$h1" "$MZ" -6 "$h1" -q -p 64 \ In gre_custom_multipath_hash.sh line 332: -d $MZ_DELAY -t udp "sp=0-32768,dp=30000" ^-------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: -d "$MZ_DELAY" -t udp "sp=0-32768,dp=30000" In gre_custom_multipath_hash.sh line 337: ip vrf exec v$h1 $MZ -6 $h1 -q -p 64 \ ^-^ 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: ip vrf exec v"$h1" "$MZ" -6 "$h1" -q -p 64 \ In gre_custom_multipath_hash.sh line 339: -d $MZ_DELAY -t udp "sp=20000,dp=0-32768" ^-------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: -d "$MZ_DELAY" -t udp "sp=20000,dp=0-32768" In gre_custom_multipath_hash.sh line 346: local send_flows="$@" ^--^ SC2124 (warning): Assigning an array to a string! Assign as array, or use * instead of @ to concatenate. In gre_custom_multipath_hash.sh line 350: local t0_111=$(tc_rule_stats_get $ul32 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 "$ul32" 111 ingress) In gre_custom_multipath_hash.sh line 351: local t0_222=$(tc_rule_stats_get $ul32 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 "$ul32" 222 ingress) In gre_custom_multipath_hash.sh line 355: local t1_111=$(tc_rule_stats_get $ul32 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 "$ul32" 111 ingress) In gre_custom_multipath_hash.sh line 356: local t1_222=$(tc_rule_stats_get $ul32 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 "$ul32" 222 ingress) In gre_custom_multipath_hash.sh line 364: local pct=$(echo "$diff / $sum * 100" | bc -l) ^-^ SC2155 (warning): Declare and assign separately to avoid masking return values. In gre_custom_multipath_hash.sh line 365: local is_balanced=$(echo "-20 <= $pct && $pct <= 20" | bc) ^---------^ SC2155 (warning): Declare and assign separately to avoid masking return values. In gre_custom_multipath_hash.sh line 464: 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/SC2124 -- Assigning an array to a string! A... https://www.shellcheck.net/wiki/SC2155 -- Declare and assign separately to ... https://www.shellcheck.net/wiki/SC2086 -- Double quote to prevent globbing ... Checking tools/testing/selftests/net/forwarding/gre_inner_v4_multipath.sh - 3ead183821db9db3533b97727f7fca803933162bb3e749252c5fd52b9a9f9378 In gre_inner_v4_multipath.sh line 84: simple_if_init $h1 192.0.3.2/24 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: simple_if_init "$h1" 192.0.3.2/24 In gre_inner_v4_multipath.sh line 85: ip route add vrf v$h1 192.0.4.0/24 via 192.0.3.1 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip route add vrf v"$h1" 192.0.4.0/24 via 192.0.3.1 In gre_inner_v4_multipath.sh line 90: ip route del vrf v$h1 192.0.4.0/24 via 192.0.3.1 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip route del vrf v"$h1" 192.0.4.0/24 via 192.0.3.1 In gre_inner_v4_multipath.sh line 91: simple_if_fini $h1 192.0.3.2/24 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: simple_if_fini "$h1" 192.0.3.2/24 In gre_inner_v4_multipath.sh line 96: simple_if_init $ol1 192.0.3.1/24 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: simple_if_init "$ol1" 192.0.3.1/24 In gre_inner_v4_multipath.sh line 97: __simple_if_init $ul1 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: __simple_if_init "$ul1" v"$ol1" 192.0.2.129/28 In gre_inner_v4_multipath.sh line 99: tunnel_create g1 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 g1 gre 192.0.2.65 192.0.2.66 tos inherit dev v"$ol1" In gre_inner_v4_multipath.sh line 100: __simple_if_init g1 v$ol1 192.0.2.65/32 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: __simple_if_init g1 v"$ol1" 192.0.2.65/32 In gre_inner_v4_multipath.sh line 101: 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_inner_v4_multipath.sh line 103: ip route add vrf v$ol1 192.0.4.0/24 nexthop dev g1 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip route add vrf v"$ol1" 192.0.4.0/24 nexthop dev g1 In gre_inner_v4_multipath.sh line 108: ip route del vrf v$ol1 192.0.4.0/24 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip route del vrf v"$ol1" 192.0.4.0/24 In gre_inner_v4_multipath.sh line 110: ip route del vrf v$ol1 192.0.2.66/32 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip route del vrf v"$ol1" 192.0.2.66/32 In gre_inner_v4_multipath.sh line 114: __simple_if_fini $ul1 192.0.2.129/28 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: __simple_if_fini "$ul1" 192.0.2.129/28 In gre_inner_v4_multipath.sh line 115: simple_if_fini $ol1 192.0.3.1/24 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: simple_if_fini "$ol1" 192.0.3.1/24 In gre_inner_v4_multipath.sh line 120: simple_if_init $ul21 192.0.2.130/28 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: simple_if_init "$ul21" 192.0.2.130/28 In gre_inner_v4_multipath.sh line 121: __simple_if_init $ul22 v$ul21 ^---^ 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 "$ul22" v"$ul21" In gre_inner_v4_multipath.sh line 122: vlan_create $ul22 111 v$ul21 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 "$ul22" 111 v"$ul21" 192.0.2.145/28 In gre_inner_v4_multipath.sh line 123: vlan_create $ul22 222 v$ul21 192.0.2.161/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 "$ul22" 222 v"$ul21" 192.0.2.161/28 In gre_inner_v4_multipath.sh line 125: ip route add vrf v$ul21 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"$ul21" 192.0.2.65/32 via 192.0.2.129 In gre_inner_v4_multipath.sh line 126: ip route add vrf v$ul21 192.0.2.66/32 \ ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip route add vrf v"$ul21" 192.0.2.66/32 \ In gre_inner_v4_multipath.sh line 133: ip route del vrf v$ul21 192.0.2.66/32 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip route del vrf v"$ul21" 192.0.2.66/32 In gre_inner_v4_multipath.sh line 134: ip route del vrf v$ul21 192.0.2.65/32 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip route del vrf v"$ul21" 192.0.2.65/32 In gre_inner_v4_multipath.sh line 136: vlan_destroy $ul22 222 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: vlan_destroy "$ul22" 222 In gre_inner_v4_multipath.sh line 137: vlan_destroy $ul22 111 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: vlan_destroy "$ul22" 111 In gre_inner_v4_multipath.sh line 138: __simple_if_fini $ul22 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: __simple_if_fini "$ul22" In gre_inner_v4_multipath.sh line 139: simple_if_fini $ul21 192.0.2.130/28 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: simple_if_fini "$ul21" 192.0.2.130/28 In gre_inner_v4_multipath.sh line 144: simple_if_init $ul31 192.0.2.177/28 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: simple_if_init "$ul31" 192.0.2.177/28 In gre_inner_v4_multipath.sh line 145: __simple_if_init $ul32 v$ul31 ^---^ 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 "$ul32" v"$ul31" In gre_inner_v4_multipath.sh line 146: vlan_create $ul32 111 v$ul31 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 "$ul32" 111 v"$ul31" 192.0.2.146/28 In gre_inner_v4_multipath.sh line 147: vlan_create $ul32 222 v$ul31 192.0.2.162/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 "$ul32" 222 v"$ul31" 192.0.2.162/28 In gre_inner_v4_multipath.sh line 149: ip route add vrf v$ul31 192.0.2.66/32 via 192.0.2.178 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip route add vrf v"$ul31" 192.0.2.66/32 via 192.0.2.178 In gre_inner_v4_multipath.sh line 150: ip route add vrf v$ul31 192.0.2.65/32 \ ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip route add vrf v"$ul31" 192.0.2.65/32 \ In gre_inner_v4_multipath.sh line 154: tc qdisc add dev $ul32 clsact ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc qdisc add dev "$ul32" clsact In gre_inner_v4_multipath.sh line 155: tc filter add dev $ul32 ingress pref 111 prot 802.1Q \ ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter add dev "$ul32" ingress pref 111 prot 802.1Q \ In gre_inner_v4_multipath.sh line 157: tc filter add dev $ul32 ingress pref 222 prot 802.1Q \ ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter add dev "$ul32" ingress pref 222 prot 802.1Q \ In gre_inner_v4_multipath.sh line 163: tc qdisc del dev $ul32 clsact ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc qdisc del dev "$ul32" clsact In gre_inner_v4_multipath.sh line 165: ip route del vrf v$ul31 192.0.2.65/32 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip route del vrf v"$ul31" 192.0.2.65/32 In gre_inner_v4_multipath.sh line 166: ip route del vrf v$ul31 192.0.2.66/32 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip route del vrf v"$ul31" 192.0.2.66/32 In gre_inner_v4_multipath.sh line 168: vlan_destroy $ul32 222 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: vlan_destroy "$ul32" 222 In gre_inner_v4_multipath.sh line 169: vlan_destroy $ul32 111 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: vlan_destroy "$ul32" 111 In gre_inner_v4_multipath.sh line 170: __simple_if_fini $ul32 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: __simple_if_fini "$ul32" In gre_inner_v4_multipath.sh line 171: simple_if_fini $ul31 192.0.2.177/28 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: simple_if_fini "$ul31" 192.0.2.177/28 In gre_inner_v4_multipath.sh line 176: simple_if_init $ol4 192.0.4.1/24 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: simple_if_init "$ol4" 192.0.4.1/24 In gre_inner_v4_multipath.sh line 177: __simple_if_init $ul4 v$ol4 192.0.2.178/28 ^--^ 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 "$ul4" v"$ol4" 192.0.2.178/28 In gre_inner_v4_multipath.sh line 179: tunnel_create g2 gre 192.0.2.66 192.0.2.65 tos inherit dev v$ol4 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tunnel_create g2 gre 192.0.2.66 192.0.2.65 tos inherit dev v"$ol4" In gre_inner_v4_multipath.sh line 180: __simple_if_init g2 v$ol4 192.0.2.66/32 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: __simple_if_init g2 v"$ol4" 192.0.2.66/32 In gre_inner_v4_multipath.sh line 181: ip route add vrf v$ol4 192.0.2.65/32 via 192.0.2.177 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip route add vrf v"$ol4" 192.0.2.65/32 via 192.0.2.177 In gre_inner_v4_multipath.sh line 183: ip route add vrf v$ol4 192.0.3.0/24 nexthop dev g2 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip route add vrf v"$ol4" 192.0.3.0/24 nexthop dev g2 In gre_inner_v4_multipath.sh line 188: ip route del vrf v$ol4 192.0.3.0/24 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip route del vrf v"$ol4" 192.0.3.0/24 In gre_inner_v4_multipath.sh line 190: ip route del vrf v$ol4 192.0.2.65/32 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip route del vrf v"$ol4" 192.0.2.65/32 In gre_inner_v4_multipath.sh line 194: __simple_if_fini $ul4 192.0.2.178/28 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: __simple_if_fini "$ul4" 192.0.2.178/28 In gre_inner_v4_multipath.sh line 195: simple_if_fini $ol4 192.0.4.1/24 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: simple_if_fini "$ol4" 192.0.4.1/24 In gre_inner_v4_multipath.sh line 200: simple_if_init $h2 192.0.4.2/24 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: simple_if_init "$h2" 192.0.4.2/24 In gre_inner_v4_multipath.sh line 201: ip route add vrf v$h2 192.0.3.0/24 via 192.0.4.1 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip route add vrf v"$h2" 192.0.3.0/24 via 192.0.4.1 In gre_inner_v4_multipath.sh line 206: ip route del vrf v$h2 192.0.3.0/24 via 192.0.4.1 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip route del vrf v"$h2" 192.0.3.0/24 via 192.0.4.1 In gre_inner_v4_multipath.sh line 207: simple_if_fini $h2 192.0.4.2/24 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: simple_if_fini "$h2" 192.0.4.2/24 In gre_inner_v4_multipath.sh line 261: ip route replace vrf v$ul21 192.0.2.66/32 \ ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip route replace vrf v"$ul21" 192.0.2.66/32 \ In gre_inner_v4_multipath.sh line 262: nexthop via 192.0.2.146 weight $weight1 \ ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: nexthop via 192.0.2.146 weight "$weight1" \ In gre_inner_v4_multipath.sh line 263: nexthop via 192.0.2.162 weight $weight2 ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: nexthop via 192.0.2.162 weight "$weight2" In gre_inner_v4_multipath.sh line 265: local t0_111=$(tc_rule_stats_get $ul32 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 "$ul32" 111 ingress) In gre_inner_v4_multipath.sh line 266: local t0_222=$(tc_rule_stats_get $ul32 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 "$ul32" 222 ingress) In gre_inner_v4_multipath.sh line 268: 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_inner_v4_multipath.sh line 269: $MZ $h1 -q -p 64 -A "192.0.3.2-192.0.3.62" -B "192.0.4.2-192.0.4.62" \ ^-^ 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.3.2-192.0.3.62" -B "192.0.4.2-192.0.4.62" \ In gre_inner_v4_multipath.sh line 270: -d $MZ_DELAY -c 50 -t udp "sp=1024,dp=1024" ^-------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: -d "$MZ_DELAY" -c 50 -t udp "sp=1024,dp=1024" In gre_inner_v4_multipath.sh line 273: local t1_111=$(tc_rule_stats_get $ul32 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 "$ul32" 111 ingress) In gre_inner_v4_multipath.sh line 274: local t1_222=$(tc_rule_stats_get $ul32 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 "$ul32" 222 ingress) In gre_inner_v4_multipath.sh line 278: 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_inner_v4_multipath.sh line 280: ip route replace vrf v$ul21 192.0.2.66/32 \ ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip route replace vrf v"$ul21" 192.0.2.66/32 \ In gre_inner_v4_multipath.sh line 288: ping_test $h1 192.0.4.2 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ping_test "$h1" 192.0.4.2 In gre_inner_v4_multipath.sh line 305: 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 ... Checking tools/testing/selftests/net/forwarding/gre_inner_v6_multipath.sh - c39cac2edd42e2002601ad25a6e4d874d0a7de481de0c28967dcfd9d011a4fa5 In gre_inner_v6_multipath.sh line 84: simple_if_init $h1 2001:db8:1::2/64 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: simple_if_init "$h1" 2001:db8:1::2/64 In gre_inner_v6_multipath.sh line 85: ip -6 route add vrf v$h1 2001:db8:2::/64 via 2001:db8:1::1 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip -6 route add vrf v"$h1" 2001:db8:2::/64 via 2001:db8:1::1 In gre_inner_v6_multipath.sh line 90: ip -6 route del vrf v$h1 2001:db8:2::/64 via 2001:db8:1::1 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip -6 route del vrf v"$h1" 2001:db8:2::/64 via 2001:db8:1::1 In gre_inner_v6_multipath.sh line 91: simple_if_fini $h1 2001:db8:1::2/64 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: simple_if_fini "$h1" 2001:db8:1::2/64 In gre_inner_v6_multipath.sh line 96: simple_if_init $ol1 2001:db8:1::1/64 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: simple_if_init "$ol1" 2001:db8:1::1/64 In gre_inner_v6_multipath.sh line 97: __simple_if_init $ul1 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: __simple_if_init "$ul1" v"$ol1" 192.0.2.129/28 In gre_inner_v6_multipath.sh line 99: tunnel_create g1 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 g1 gre 192.0.2.65 192.0.2.66 tos inherit dev v"$ol1" In gre_inner_v6_multipath.sh line 100: __simple_if_init g1 v$ol1 192.0.2.65/32 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: __simple_if_init g1 v"$ol1" 192.0.2.65/32 In gre_inner_v6_multipath.sh line 101: 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_inner_v6_multipath.sh line 103: ip -6 route add vrf v$ol1 2001:db8:2::/64 dev g1 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip -6 route add vrf v"$ol1" 2001:db8:2::/64 dev g1 In gre_inner_v6_multipath.sh line 108: ip -6 route del vrf v$ol1 2001:db8:2::/64 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip -6 route del vrf v"$ol1" 2001:db8:2::/64 In gre_inner_v6_multipath.sh line 110: ip route del vrf v$ol1 192.0.2.66/32 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip route del vrf v"$ol1" 192.0.2.66/32 In gre_inner_v6_multipath.sh line 114: __simple_if_fini $ul1 192.0.2.129/28 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: __simple_if_fini "$ul1" 192.0.2.129/28 In gre_inner_v6_multipath.sh line 115: simple_if_fini $ol1 2001:db8:1::1/64 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: simple_if_fini "$ol1" 2001:db8:1::1/64 In gre_inner_v6_multipath.sh line 120: simple_if_init $ul21 192.0.2.130/28 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: simple_if_init "$ul21" 192.0.2.130/28 In gre_inner_v6_multipath.sh line 121: __simple_if_init $ul22 v$ul21 ^---^ 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 "$ul22" v"$ul21" In gre_inner_v6_multipath.sh line 122: vlan_create $ul22 111 v$ul21 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 "$ul22" 111 v"$ul21" 192.0.2.145/28 In gre_inner_v6_multipath.sh line 123: vlan_create $ul22 222 v$ul21 192.0.2.161/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 "$ul22" 222 v"$ul21" 192.0.2.161/28 In gre_inner_v6_multipath.sh line 125: ip route add vrf v$ul21 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"$ul21" 192.0.2.65/32 via 192.0.2.129 In gre_inner_v6_multipath.sh line 126: ip route add vrf v$ul21 192.0.2.66/32 \ ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip route add vrf v"$ul21" 192.0.2.66/32 \ In gre_inner_v6_multipath.sh line 133: ip route del vrf v$ul21 192.0.2.66/32 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip route del vrf v"$ul21" 192.0.2.66/32 In gre_inner_v6_multipath.sh line 134: ip route del vrf v$ul21 192.0.2.65/32 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip route del vrf v"$ul21" 192.0.2.65/32 In gre_inner_v6_multipath.sh line 136: vlan_destroy $ul22 222 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: vlan_destroy "$ul22" 222 In gre_inner_v6_multipath.sh line 137: vlan_destroy $ul22 111 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: vlan_destroy "$ul22" 111 In gre_inner_v6_multipath.sh line 138: __simple_if_fini $ul22 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: __simple_if_fini "$ul22" In gre_inner_v6_multipath.sh line 139: simple_if_fini $ul21 192.0.2.130/28 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: simple_if_fini "$ul21" 192.0.2.130/28 In gre_inner_v6_multipath.sh line 144: simple_if_init $ul31 192.0.2.177/28 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: simple_if_init "$ul31" 192.0.2.177/28 In gre_inner_v6_multipath.sh line 145: __simple_if_init $ul32 v$ul31 ^---^ 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 "$ul32" v"$ul31" In gre_inner_v6_multipath.sh line 146: vlan_create $ul32 111 v$ul31 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 "$ul32" 111 v"$ul31" 192.0.2.146/28 In gre_inner_v6_multipath.sh line 147: vlan_create $ul32 222 v$ul31 192.0.2.162/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 "$ul32" 222 v"$ul31" 192.0.2.162/28 In gre_inner_v6_multipath.sh line 149: ip route add vrf v$ul31 192.0.2.66/32 via 192.0.2.178 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip route add vrf v"$ul31" 192.0.2.66/32 via 192.0.2.178 In gre_inner_v6_multipath.sh line 150: ip route add vrf v$ul31 192.0.2.65/32 \ ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip route add vrf v"$ul31" 192.0.2.65/32 \ In gre_inner_v6_multipath.sh line 154: tc qdisc add dev $ul32 clsact ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc qdisc add dev "$ul32" clsact In gre_inner_v6_multipath.sh line 155: tc filter add dev $ul32 ingress pref 111 prot 802.1Q \ ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter add dev "$ul32" ingress pref 111 prot 802.1Q \ In gre_inner_v6_multipath.sh line 157: tc filter add dev $ul32 ingress pref 222 prot 802.1Q \ ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter add dev "$ul32" ingress pref 222 prot 802.1Q \ In gre_inner_v6_multipath.sh line 163: tc qdisc del dev $ul32 clsact ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc qdisc del dev "$ul32" clsact In gre_inner_v6_multipath.sh line 165: ip route del vrf v$ul31 192.0.2.65/32 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip route del vrf v"$ul31" 192.0.2.65/32 In gre_inner_v6_multipath.sh line 166: ip route del vrf v$ul31 192.0.2.66/32 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip route del vrf v"$ul31" 192.0.2.66/32 In gre_inner_v6_multipath.sh line 168: vlan_destroy $ul32 222 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: vlan_destroy "$ul32" 222 In gre_inner_v6_multipath.sh line 169: vlan_destroy $ul32 111 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: vlan_destroy "$ul32" 111 In gre_inner_v6_multipath.sh line 170: __simple_if_fini $ul32 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: __simple_if_fini "$ul32" In gre_inner_v6_multipath.sh line 171: simple_if_fini $ul31 192.0.2.177/28 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: simple_if_fini "$ul31" 192.0.2.177/28 In gre_inner_v6_multipath.sh line 176: simple_if_init $ol4 2001:db8:2::1/64 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: simple_if_init "$ol4" 2001:db8:2::1/64 In gre_inner_v6_multipath.sh line 177: __simple_if_init $ul4 v$ol4 192.0.2.178/28 ^--^ 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 "$ul4" v"$ol4" 192.0.2.178/28 In gre_inner_v6_multipath.sh line 179: tunnel_create g2 gre 192.0.2.66 192.0.2.65 tos inherit dev v$ol4 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tunnel_create g2 gre 192.0.2.66 192.0.2.65 tos inherit dev v"$ol4" In gre_inner_v6_multipath.sh line 180: __simple_if_init g2 v$ol4 192.0.2.66/32 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: __simple_if_init g2 v"$ol4" 192.0.2.66/32 In gre_inner_v6_multipath.sh line 181: ip route add vrf v$ol4 192.0.2.65/32 via 192.0.2.177 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip route add vrf v"$ol4" 192.0.2.65/32 via 192.0.2.177 In gre_inner_v6_multipath.sh line 183: ip -6 route add vrf v$ol4 2001:db8:1::/64 dev g2 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip -6 route add vrf v"$ol4" 2001:db8:1::/64 dev g2 In gre_inner_v6_multipath.sh line 188: ip -6 route del vrf v$ol4 2001:db8:1::/64 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip -6 route del vrf v"$ol4" 2001:db8:1::/64 In gre_inner_v6_multipath.sh line 190: ip route del vrf v$ol4 192.0.2.65/32 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip route del vrf v"$ol4" 192.0.2.65/32 In gre_inner_v6_multipath.sh line 194: __simple_if_fini $ul4 192.0.2.178/28 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: __simple_if_fini "$ul4" 192.0.2.178/28 In gre_inner_v6_multipath.sh line 195: simple_if_fini $ol4 2001:db8:2::1/64 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: simple_if_fini "$ol4" 2001:db8:2::1/64 In gre_inner_v6_multipath.sh line 200: simple_if_init $h2 2001:db8:2::2/64 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: simple_if_init "$h2" 2001:db8:2::2/64 In gre_inner_v6_multipath.sh line 201: ip -6 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 -6 route add vrf v"$h2" 2001:db8:1::/64 via 2001:db8:2::1 In gre_inner_v6_multipath.sh line 206: ip -6 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 -6 route del vrf v"$h2" 2001:db8:1::/64 via 2001:db8:2::1 In gre_inner_v6_multipath.sh line 207: simple_if_fini $h2 2001:db8:2::2/64 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: simple_if_fini "$h2" 2001:db8:2::2/64 In gre_inner_v6_multipath.sh line 261: ip route replace vrf v$ul21 192.0.2.66/32 \ ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip route replace vrf v"$ul21" 192.0.2.66/32 \ In gre_inner_v6_multipath.sh line 262: nexthop via 192.0.2.146 weight $weight1 \ ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: nexthop via 192.0.2.146 weight "$weight1" \ In gre_inner_v6_multipath.sh line 263: nexthop via 192.0.2.162 weight $weight2 ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: nexthop via 192.0.2.162 weight "$weight2" In gre_inner_v6_multipath.sh line 265: local t0_111=$(tc_rule_stats_get $ul32 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 "$ul32" 111 ingress) In gre_inner_v6_multipath.sh line 266: local t0_222=$(tc_rule_stats_get $ul32 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 "$ul32" 222 ingress) In gre_inner_v6_multipath.sh line 268: 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_inner_v6_multipath.sh line 269: $MZ $h1 -6 -q -p 64 -A "2001:db8:1::2-2001:db8:1::3e" \ ^-^ 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::2-2001:db8:1::3e" \ In gre_inner_v6_multipath.sh line 271: -d $MZ_DELAY -c 50 -t udp "sp=1024,dp=1024" ^-------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: -d "$MZ_DELAY" -c 50 -t udp "sp=1024,dp=1024" In gre_inner_v6_multipath.sh line 274: local t1_111=$(tc_rule_stats_get $ul32 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 "$ul32" 111 ingress) In gre_inner_v6_multipath.sh line 275: local t1_222=$(tc_rule_stats_get $ul32 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 "$ul32" 222 ingress) In gre_inner_v6_multipath.sh line 279: 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_inner_v6_multipath.sh line 281: ip route replace vrf v$ul21 192.0.2.66/32 \ ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip route replace vrf v"$ul21" 192.0.2.66/32 \ In gre_inner_v6_multipath.sh line 289: ping_test $h1 2001:db8:2::2 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ping_test "$h1" 2001:db8:2::2 In gre_inner_v6_multipath.sh line 306: 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 ... 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 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 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 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 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 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 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 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 ... 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 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 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 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 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 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 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 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 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 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 ... 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 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 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 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 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 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 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 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 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 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 ... Checking tools/testing/selftests/net/forwarding/ip6_forward_instats_vrf.sh - 51b183061a61f70f33d0edb53e8a0e0c4837b86543d268b3bf48cfdcda42e179 In ip6_forward_instats_vrf.sh line 17: require_command $TROUTE6 ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: require_command "$TROUTE6" In ip6_forward_instats_vrf.sh line 21: simple_if_init $h1 2001:1:1::2/64 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: simple_if_init "$h1" 2001:1:1::2/64 In ip6_forward_instats_vrf.sh line 22: ip -6 route add vrf v$h1 2001:1:2::/64 via 2001:1:1::1 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip -6 route add vrf v"$h1" 2001:1:2::/64 via 2001:1:1::1 In ip6_forward_instats_vrf.sh line 27: ip -6 route del vrf v$h1 2001:1:2::/64 via 2001:1:1::1 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip -6 route del vrf v"$h1" 2001:1:2::/64 via 2001:1:1::1 In ip6_forward_instats_vrf.sh line 28: simple_if_fini $h1 2001:1:1::2/64 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: simple_if_fini "$h1" 2001:1:1::2/64 In ip6_forward_instats_vrf.sh line 34: __simple_if_init $rtr1 router 2001:1:1::1/64 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: __simple_if_init "$rtr1" router 2001:1:1::1/64 In ip6_forward_instats_vrf.sh line 35: __simple_if_init $rtr2 router 2001:1:2::1/64 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: __simple_if_init "$rtr2" router 2001:1:2::1/64 In ip6_forward_instats_vrf.sh line 36: mtu_set $rtr2 1280 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: mtu_set "$rtr2" 1280 In ip6_forward_instats_vrf.sh line 41: mtu_restore $rtr2 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: mtu_restore "$rtr2" In ip6_forward_instats_vrf.sh line 42: __simple_if_fini $rtr2 2001:1:2::1/64 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: __simple_if_fini "$rtr2" 2001:1:2::1/64 In ip6_forward_instats_vrf.sh line 43: __simple_if_fini $rtr1 2001:1:1::1/64 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: __simple_if_fini "$rtr1" 2001:1:1::1/64 In ip6_forward_instats_vrf.sh line 49: simple_if_init $h2 2001:1:2::2/64 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: simple_if_init "$h2" 2001:1:2::2/64 In ip6_forward_instats_vrf.sh line 50: ip -6 route add vrf v$h2 2001:1:1::/64 via 2001:1:2::1 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip -6 route add vrf v"$h2" 2001:1:1::/64 via 2001:1:2::1 In ip6_forward_instats_vrf.sh line 51: mtu_set $h2 1280 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: mtu_set "$h2" 1280 In ip6_forward_instats_vrf.sh line 56: mtu_restore $h2 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: mtu_restore "$h2" In ip6_forward_instats_vrf.sh line 57: ip -6 route del vrf v$h2 2001:1:1::/64 via 2001:1:2::1 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip -6 route del vrf v"$h2" 2001:1:1::/64 via 2001:1:2::1 In ip6_forward_instats_vrf.sh line 58: simple_if_fini $h2 2001:1:2::2/64 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: simple_if_fini "$h2" 2001:1:2::2/64 In ip6_forward_instats_vrf.sh line 93: local t0=$(ipv6_stats_get $rtr1 Ip6InTooBigErrors) ^-- 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=$(ipv6_stats_get "$rtr1" Ip6InTooBigErrors) In ip6_forward_instats_vrf.sh line 94: local vrf_name=$(master_name_get $h1) ^------^ 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 vrf_name=$(master_name_get "$h1") In ip6_forward_instats_vrf.sh line 97: ip vrf exec $vrf_name \ ^-------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip vrf exec "$vrf_name" \ In ip6_forward_instats_vrf.sh line 98: $PING6 -s 1300 2001:1:2::2 -c 1 -w $PING_TIMEOUT &> /dev/null ^----^ SC2086 (info): Double quote to prevent globbing and word splitting. ^-----------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: "$PING6" -s 1300 2001:1:2::2 -c 1 -w "$PING_TIMEOUT" &> /dev/null In ip6_forward_instats_vrf.sh line 100: local t1=$(ipv6_stats_get $rtr1 Ip6InTooBigErrors) ^-- 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=$(ipv6_stats_get "$rtr1" Ip6InTooBigErrors) In ip6_forward_instats_vrf.sh line 110: local t0=$(ipv6_stats_get $rtr1 Ip6InHdrErrors) ^-- 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=$(ipv6_stats_get "$rtr1" Ip6InHdrErrors) In ip6_forward_instats_vrf.sh line 111: local vrf_name=$(master_name_get $h1) ^------^ 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 vrf_name=$(master_name_get "$h1") In ip6_forward_instats_vrf.sh line 115: ip vrf exec $vrf_name \ ^-------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip vrf exec "$vrf_name" \ In ip6_forward_instats_vrf.sh line 116: $TROUTE6 2001:1:2::2 &> /dev/null ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: "$TROUTE6" 2001:1:2::2 &> /dev/null In ip6_forward_instats_vrf.sh line 118: local t1=$(ipv6_stats_get $rtr1 Ip6InHdrErrors) ^-- 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=$(ipv6_stats_get "$rtr1" Ip6InHdrErrors) In ip6_forward_instats_vrf.sh line 128: local t0=$(ipv6_stats_get $rtr1 Ip6InAddrErrors) ^-- 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=$(ipv6_stats_get "$rtr1" Ip6InAddrErrors) In ip6_forward_instats_vrf.sh line 129: local vrf_name=$(master_name_get $h1) ^------^ 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 vrf_name=$(master_name_get "$h1") In ip6_forward_instats_vrf.sh line 133: ip vrf exec $vrf_name \ ^-------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip vrf exec "$vrf_name" \ In ip6_forward_instats_vrf.sh line 134: $PING6 2001:1:2::2 -c 1 -w $PING_TIMEOUT &> /dev/null ^----^ SC2086 (info): Double quote to prevent globbing and word splitting. ^-----------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: "$PING6" 2001:1:2::2 -c 1 -w "$PING_TIMEOUT" &> /dev/null In ip6_forward_instats_vrf.sh line 137: local t1=$(ipv6_stats_get $rtr1 Ip6InAddrErrors) ^-- 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=$(ipv6_stats_get "$rtr1" Ip6InAddrErrors) In ip6_forward_instats_vrf.sh line 147: local t0=$(ipv6_stats_get $rtr1 Ip6InDiscards) ^-- 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=$(ipv6_stats_get "$rtr1" Ip6InDiscards) In ip6_forward_instats_vrf.sh line 148: local vrf_name=$(master_name_get $h1) ^------^ 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 vrf_name=$(master_name_get "$h1") In ip6_forward_instats_vrf.sh line 152: ip vrf exec $vrf_name \ ^-------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip vrf exec "$vrf_name" \ In ip6_forward_instats_vrf.sh line 153: $PING6 2001:1:2::2 -c 1 -w $PING_TIMEOUT &> /dev/null ^----^ SC2086 (info): Double quote to prevent globbing and word splitting. ^-----------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: "$PING6" 2001:1:2::2 -c 1 -w "$PING_TIMEOUT" &> /dev/null In ip6_forward_instats_vrf.sh line 156: local t1=$(ipv6_stats_get $rtr1 Ip6InDiscards) ^-- 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=$(ipv6_stats_get "$rtr1" Ip6InDiscards) In ip6_forward_instats_vrf.sh line 165: ping6_test $h1 2001:1:2::2 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ping6_test "$h1" 2001:1:2::2 In ip6_forward_instats_vrf.sh line 174: 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 ... Checking tools/testing/selftests/net/forwarding/ip6gre_custom_multipath_hash.sh - 76a16a84cf1e44787fb34c93910c240a7b20de5ee8162fba3a12fad494bdc972 In ip6gre_custom_multipath_hash.sh line 89: simple_if_init $h1 198.51.100.2/24 2001:db8:1::2/64 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: simple_if_init "$h1" 198.51.100.2/24 2001:db8:1::2/64 In ip6gre_custom_multipath_hash.sh line 90: ip route add vrf v$h1 default via 198.51.100.1 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 route add vrf v"$h1" default via 198.51.100.1 dev "$h1" In ip6gre_custom_multipath_hash.sh line 91: ip -6 route add vrf v$h1 default via 2001:db8:1::1 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 -6 route add vrf v"$h1" default via 2001:db8:1::1 dev "$h1" In ip6gre_custom_multipath_hash.sh line 96: ip -6 route del vrf v$h1 default ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip -6 route del vrf v"$h1" default In ip6gre_custom_multipath_hash.sh line 97: ip route del vrf v$h1 default ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip route del vrf v"$h1" default In ip6gre_custom_multipath_hash.sh line 98: simple_if_fini $h1 198.51.100.2/24 2001:db8:1::2/64 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: simple_if_fini "$h1" 198.51.100.2/24 2001:db8:1::2/64 In ip6gre_custom_multipath_hash.sh line 103: simple_if_init $ol1 198.51.100.1/24 2001:db8:1::1/64 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: simple_if_init "$ol1" 198.51.100.1/24 2001:db8:1::1/64 In ip6gre_custom_multipath_hash.sh line 104: __simple_if_init $ul1 v$ol1 2001:db8:10::1/64 ^--^ 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" 2001:db8:10::1/64 In ip6gre_custom_multipath_hash.sh line 107: dev v$ol1 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: dev v"$ol1" In ip6gre_custom_multipath_hash.sh line 108: __simple_if_init g1 v$ol1 2001:db8:3::1/128 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: __simple_if_init g1 v"$ol1" 2001:db8:3::1/128 In ip6gre_custom_multipath_hash.sh line 109: ip route add vrf v$ol1 2001:db8:3::2/128 via 2001:db8:10::2 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip route add vrf v"$ol1" 2001:db8:3::2/128 via 2001:db8:10::2 In ip6gre_custom_multipath_hash.sh line 111: ip route add vrf v$ol1 203.0.113.0/24 dev g1 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip route add vrf v"$ol1" 203.0.113.0/24 dev g1 In ip6gre_custom_multipath_hash.sh line 112: ip -6 route add vrf v$ol1 2001:db8:2::/64 dev g1 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip -6 route add vrf v"$ol1" 2001:db8:2::/64 dev g1 In ip6gre_custom_multipath_hash.sh line 117: ip -6 route del vrf v$ol1 2001:db8:2::/64 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip -6 route del vrf v"$ol1" 2001:db8:2::/64 In ip6gre_custom_multipath_hash.sh line 118: ip route del vrf v$ol1 203.0.113.0/24 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip route del vrf v"$ol1" 203.0.113.0/24 In ip6gre_custom_multipath_hash.sh line 120: ip route del vrf v$ol1 2001:db8:3::2/128 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip route del vrf v"$ol1" 2001:db8:3::2/128 In ip6gre_custom_multipath_hash.sh line 124: __simple_if_fini $ul1 2001:db8:10::1/64 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: __simple_if_fini "$ul1" 2001:db8:10::1/64 In ip6gre_custom_multipath_hash.sh line 125: simple_if_fini $ol1 198.51.100.1/24 2001:db8:1::1/64 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: simple_if_fini "$ol1" 198.51.100.1/24 2001:db8:1::1/64 In ip6gre_custom_multipath_hash.sh line 130: simple_if_init $ul21 2001:db8:10::2/64 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: simple_if_init "$ul21" 2001:db8:10::2/64 In ip6gre_custom_multipath_hash.sh line 131: __simple_if_init $ul22 v$ul21 ^---^ 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 "$ul22" v"$ul21" In ip6gre_custom_multipath_hash.sh line 132: vlan_create $ul22 111 v$ul21 2001:db8:11::1/64 ^---^ 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 "$ul22" 111 v"$ul21" 2001:db8:11::1/64 In ip6gre_custom_multipath_hash.sh line 133: vlan_create $ul22 222 v$ul21 2001:db8:12::1/64 ^---^ 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 "$ul22" 222 v"$ul21" 2001:db8:12::1/64 In ip6gre_custom_multipath_hash.sh line 135: ip -6 route add vrf v$ul21 2001:db8:3::1/128 via 2001:db8:10::1 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip -6 route add vrf v"$ul21" 2001:db8:3::1/128 via 2001:db8:10::1 In ip6gre_custom_multipath_hash.sh line 136: ip -6 route add vrf v$ul21 2001:db8:3::2/128 \ ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip -6 route add vrf v"$ul21" 2001:db8:3::2/128 \ In ip6gre_custom_multipath_hash.sh line 143: ip -6 route del vrf v$ul21 2001:db8:3::2/128 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip -6 route del vrf v"$ul21" 2001:db8:3::2/128 In ip6gre_custom_multipath_hash.sh line 144: ip -6 route del vrf v$ul21 2001:db8:3::1/128 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip -6 route del vrf v"$ul21" 2001:db8:3::1/128 In ip6gre_custom_multipath_hash.sh line 146: vlan_destroy $ul22 222 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: vlan_destroy "$ul22" 222 In ip6gre_custom_multipath_hash.sh line 147: vlan_destroy $ul22 111 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: vlan_destroy "$ul22" 111 In ip6gre_custom_multipath_hash.sh line 148: __simple_if_fini $ul22 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: __simple_if_fini "$ul22" In ip6gre_custom_multipath_hash.sh line 149: simple_if_fini $ul21 2001:db8:10::2/64 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: simple_if_fini "$ul21" 2001:db8:10::2/64 In ip6gre_custom_multipath_hash.sh line 154: simple_if_init $ul31 2001:db8:13::1/64 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: simple_if_init "$ul31" 2001:db8:13::1/64 In ip6gre_custom_multipath_hash.sh line 155: __simple_if_init $ul32 v$ul31 ^---^ 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 "$ul32" v"$ul31" In ip6gre_custom_multipath_hash.sh line 156: vlan_create $ul32 111 v$ul31 2001:db8:11::2/64 ^---^ 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 "$ul32" 111 v"$ul31" 2001:db8:11::2/64 In ip6gre_custom_multipath_hash.sh line 157: vlan_create $ul32 222 v$ul31 2001:db8:12::2/64 ^---^ 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 "$ul32" 222 v"$ul31" 2001:db8:12::2/64 In ip6gre_custom_multipath_hash.sh line 159: ip -6 route add vrf v$ul31 2001:db8:3::2/128 via 2001:db8:13::2 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip -6 route add vrf v"$ul31" 2001:db8:3::2/128 via 2001:db8:13::2 In ip6gre_custom_multipath_hash.sh line 160: ip -6 route add vrf v$ul31 2001:db8:3::1/128 \ ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip -6 route add vrf v"$ul31" 2001:db8:3::1/128 \ In ip6gre_custom_multipath_hash.sh line 164: tc qdisc add dev $ul32 clsact ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc qdisc add dev "$ul32" clsact In ip6gre_custom_multipath_hash.sh line 165: tc filter add dev $ul32 ingress pref 111 prot 802.1Q \ ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter add dev "$ul32" ingress pref 111 prot 802.1Q \ In ip6gre_custom_multipath_hash.sh line 167: tc filter add dev $ul32 ingress pref 222 prot 802.1Q \ ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter add dev "$ul32" ingress pref 222 prot 802.1Q \ In ip6gre_custom_multipath_hash.sh line 173: tc qdisc del dev $ul32 clsact ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc qdisc del dev "$ul32" clsact In ip6gre_custom_multipath_hash.sh line 175: ip -6 route del vrf v$ul31 2001:db8:3::1/128 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip -6 route del vrf v"$ul31" 2001:db8:3::1/128 In ip6gre_custom_multipath_hash.sh line 176: ip -6 route del vrf v$ul31 2001:db8:3::2/128 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip -6 route del vrf v"$ul31" 2001:db8:3::2/128 In ip6gre_custom_multipath_hash.sh line 178: vlan_destroy $ul32 222 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: vlan_destroy "$ul32" 222 In ip6gre_custom_multipath_hash.sh line 179: vlan_destroy $ul32 111 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: vlan_destroy "$ul32" 111 In ip6gre_custom_multipath_hash.sh line 180: __simple_if_fini $ul32 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: __simple_if_fini "$ul32" In ip6gre_custom_multipath_hash.sh line 181: simple_if_fini $ul31 2001:db8:13::1/64 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: simple_if_fini "$ul31" 2001:db8:13::1/64 In ip6gre_custom_multipath_hash.sh line 186: simple_if_init $ol4 203.0.113.1/24 2001:db8:2::1/64 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: simple_if_init "$ol4" 203.0.113.1/24 2001:db8:2::1/64 In ip6gre_custom_multipath_hash.sh line 187: __simple_if_init $ul4 v$ol4 2001:db8:13::2/64 ^--^ 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 "$ul4" v"$ol4" 2001:db8:13::2/64 In ip6gre_custom_multipath_hash.sh line 190: dev v$ol4 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: dev v"$ol4" In ip6gre_custom_multipath_hash.sh line 191: __simple_if_init g2 v$ol4 2001:db8:3::2/128 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: __simple_if_init g2 v"$ol4" 2001:db8:3::2/128 In ip6gre_custom_multipath_hash.sh line 192: ip -6 route add vrf v$ol4 2001:db8:3::1/128 via 2001:db8:13::1 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip -6 route add vrf v"$ol4" 2001:db8:3::1/128 via 2001:db8:13::1 In ip6gre_custom_multipath_hash.sh line 194: ip route add vrf v$ol4 198.51.100.0/24 dev g2 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip route add vrf v"$ol4" 198.51.100.0/24 dev g2 In ip6gre_custom_multipath_hash.sh line 195: ip -6 route add vrf v$ol4 2001:db8:1::/64 dev g2 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip -6 route add vrf v"$ol4" 2001:db8:1::/64 dev g2 In ip6gre_custom_multipath_hash.sh line 200: ip -6 route del vrf v$ol4 2001:db8:1::/64 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip -6 route del vrf v"$ol4" 2001:db8:1::/64 In ip6gre_custom_multipath_hash.sh line 201: ip route del vrf v$ol4 198.51.100.0/24 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip route del vrf v"$ol4" 198.51.100.0/24 In ip6gre_custom_multipath_hash.sh line 203: ip -6 route del vrf v$ol4 2001:db8:3::1/128 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip -6 route del vrf v"$ol4" 2001:db8:3::1/128 In ip6gre_custom_multipath_hash.sh line 207: __simple_if_fini $ul4 2001:db8:13::2/64 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: __simple_if_fini "$ul4" 2001:db8:13::2/64 In ip6gre_custom_multipath_hash.sh line 208: simple_if_fini $ol4 203.0.113.1/24 2001:db8:2::1/64 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: simple_if_fini "$ol4" 203.0.113.1/24 2001:db8:2::1/64 In ip6gre_custom_multipath_hash.sh line 213: simple_if_init $h2 203.0.113.2/24 2001:db8:2::2/64 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: simple_if_init "$h2" 203.0.113.2/24 2001:db8:2::2/64 In ip6gre_custom_multipath_hash.sh line 214: ip route add vrf v$h2 default via 203.0.113.1 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 route add vrf v"$h2" default via 203.0.113.1 dev "$h2" In ip6gre_custom_multipath_hash.sh line 215: ip -6 route add vrf v$h2 default via 2001:db8:2::1 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 -6 route add vrf v"$h2" default via 2001:db8:2::1 dev "$h2" In ip6gre_custom_multipath_hash.sh line 220: ip -6 route del vrf v$h2 default ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip -6 route del vrf v"$h2" default In ip6gre_custom_multipath_hash.sh line 221: ip route del vrf v$h2 default ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip route del vrf v"$h2" default In ip6gre_custom_multipath_hash.sh line 222: simple_if_fini $h2 203.0.113.2/24 2001:db8:2::2/64 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: simple_if_fini "$h2" 203.0.113.2/24 2001:db8:2::2/64 In ip6gre_custom_multipath_hash.sh line 271: ping_test $h1 203.0.113.2 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ping_test "$h1" 203.0.113.2 In ip6gre_custom_multipath_hash.sh line 276: 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 ip6gre_custom_multipath_hash.sh line 281: ip vrf exec v$h1 $MZ $h1 -q -p 64 \ ^-^ 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: ip vrf exec v"$h1" "$MZ" "$h1" -q -p 64 \ In ip6gre_custom_multipath_hash.sh line 283: -d $MZ_DELAY -c 50 -t udp "sp=20000,dp=30000" ^-------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: -d "$MZ_DELAY" -c 50 -t udp "sp=20000,dp=30000" In ip6gre_custom_multipath_hash.sh line 288: ip vrf exec v$h1 $MZ $h1 -q -p 64 \ ^-^ 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: ip vrf exec v"$h1" "$MZ" "$h1" -q -p 64 \ In ip6gre_custom_multipath_hash.sh line 290: -d $MZ_DELAY -c 50 -t udp "sp=20000,dp=30000" ^-------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: -d "$MZ_DELAY" -c 50 -t udp "sp=20000,dp=30000" In ip6gre_custom_multipath_hash.sh line 295: ip vrf exec v$h1 $MZ $h1 -q -p 64 \ ^-^ 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: ip vrf exec v"$h1" "$MZ" "$h1" -q -p 64 \ In ip6gre_custom_multipath_hash.sh line 297: -d $MZ_DELAY -t udp "sp=0-32768,dp=30000" ^-------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: -d "$MZ_DELAY" -t udp "sp=0-32768,dp=30000" In ip6gre_custom_multipath_hash.sh line 302: ip vrf exec v$h1 $MZ $h1 -q -p 64 \ ^-^ 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: ip vrf exec v"$h1" "$MZ" "$h1" -q -p 64 \ In ip6gre_custom_multipath_hash.sh line 304: -d $MZ_DELAY -t udp "sp=20000,dp=0-32768" ^-------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: -d "$MZ_DELAY" -t udp "sp=20000,dp=0-32768" In ip6gre_custom_multipath_hash.sh line 309: ip vrf exec v$h1 $MZ -6 $h1 -q -p 64 \ ^-^ 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: ip vrf exec v"$h1" "$MZ" -6 "$h1" -q -p 64 \ In ip6gre_custom_multipath_hash.sh line 311: -d $MZ_DELAY -c 50 -t udp "sp=20000,dp=30000" ^-------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: -d "$MZ_DELAY" -c 50 -t udp "sp=20000,dp=30000" In ip6gre_custom_multipath_hash.sh line 316: ip vrf exec v$h1 $MZ -6 $h1 -q -p 64 \ ^-^ 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: ip vrf exec v"$h1" "$MZ" -6 "$h1" -q -p 64 \ In ip6gre_custom_multipath_hash.sh line 318: -d $MZ_DELAY -c 50 -t udp "sp=20000,dp=30000" ^-------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: -d "$MZ_DELAY" -c 50 -t udp "sp=20000,dp=30000" In ip6gre_custom_multipath_hash.sh line 324: ip vrf exec v$h1 sh -c \ ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip vrf exec v"$h1" sh -c \ In ip6gre_custom_multipath_hash.sh line 332: ip vrf exec v$h1 $MZ -6 $h1 -q -p 64 \ ^-^ 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: ip vrf exec v"$h1" "$MZ" -6 "$h1" -q -p 64 \ In ip6gre_custom_multipath_hash.sh line 334: -d $MZ_DELAY -t udp "sp=0-32768,dp=30000" ^-------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: -d "$MZ_DELAY" -t udp "sp=0-32768,dp=30000" In ip6gre_custom_multipath_hash.sh line 339: ip vrf exec v$h1 $MZ -6 $h1 -q -p 64 \ ^-^ 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: ip vrf exec v"$h1" "$MZ" -6 "$h1" -q -p 64 \ In ip6gre_custom_multipath_hash.sh line 341: -d $MZ_DELAY -t udp "sp=20000,dp=0-32768" ^-------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: -d "$MZ_DELAY" -t udp "sp=20000,dp=0-32768" In ip6gre_custom_multipath_hash.sh line 348: local send_flows="$@" ^--^ SC2124 (warning): Assigning an array to a string! Assign as array, or use * instead of @ to concatenate. In ip6gre_custom_multipath_hash.sh line 352: local t0_111=$(tc_rule_stats_get $ul32 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 "$ul32" 111 ingress) In ip6gre_custom_multipath_hash.sh line 353: local t0_222=$(tc_rule_stats_get $ul32 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 "$ul32" 222 ingress) In ip6gre_custom_multipath_hash.sh line 357: local t1_111=$(tc_rule_stats_get $ul32 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 "$ul32" 111 ingress) In ip6gre_custom_multipath_hash.sh line 358: local t1_222=$(tc_rule_stats_get $ul32 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 "$ul32" 222 ingress) In ip6gre_custom_multipath_hash.sh line 366: local pct=$(echo "$diff / $sum * 100" | bc -l) ^-^ SC2155 (warning): Declare and assign separately to avoid masking return values. In ip6gre_custom_multipath_hash.sh line 367: local is_balanced=$(echo "-20 <= $pct && $pct <= 20" | bc) ^---------^ SC2155 (warning): Declare and assign separately to avoid masking return values. In ip6gre_custom_multipath_hash.sh line 466: 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/SC2124 -- Assigning an array to a string! A... https://www.shellcheck.net/wiki/SC2155 -- Declare and assign separately to ... https://www.shellcheck.net/wiki/SC2086 -- Double quote to prevent globbing ... Checking tools/testing/selftests/net/forwarding/ip6gre_inner_v4_multipath.sh - 60923764b0276a4d0cdbebc48f2f15c2337d1e24d4ffa7e02201e44b985b7a26 In ip6gre_inner_v4_multipath.sh line 83: simple_if_init $h1 192.0.3.2/24 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: simple_if_init "$h1" 192.0.3.2/24 In ip6gre_inner_v4_multipath.sh line 84: ip route add vrf v$h1 192.0.4.0/24 via 192.0.3.1 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip route add vrf v"$h1" 192.0.4.0/24 via 192.0.3.1 In ip6gre_inner_v4_multipath.sh line 89: ip route del vrf v$h1 192.0.4.0/24 via 192.0.3.1 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip route del vrf v"$h1" 192.0.4.0/24 via 192.0.3.1 In ip6gre_inner_v4_multipath.sh line 90: simple_if_fini $h1 192.0.3.2/24 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: simple_if_fini "$h1" 192.0.3.2/24 In ip6gre_inner_v4_multipath.sh line 95: simple_if_init $ol1 192.0.3.1/24 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: simple_if_init "$ol1" 192.0.3.1/24 In ip6gre_inner_v4_multipath.sh line 96: __simple_if_init $ul1 v$ol1 2001:db8:80::1/64 ^--^ 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" 2001:db8:80::1/64 In ip6gre_inner_v4_multipath.sh line 98: tunnel_create g1 ip6gre 2001:db8:40::1 2001:db8:40::2 tos inherit dev v$ol1 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tunnel_create g1 ip6gre 2001:db8:40::1 2001:db8:40::2 tos inherit dev v"$ol1" In ip6gre_inner_v4_multipath.sh line 99: __simple_if_init g1 v$ol1 2001:db8:40::1/128 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: __simple_if_init g1 v"$ol1" 2001:db8:40::1/128 In ip6gre_inner_v4_multipath.sh line 100: ip -6 route add vrf v$ol1 2001:db8:40::2/128 via 2001:db8:80::2 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip -6 route add vrf v"$ol1" 2001:db8:40::2/128 via 2001:db8:80::2 In ip6gre_inner_v4_multipath.sh line 102: ip route add vrf v$ol1 192.0.4.0/24 nexthop dev g1 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip route add vrf v"$ol1" 192.0.4.0/24 nexthop dev g1 In ip6gre_inner_v4_multipath.sh line 107: ip route del vrf v$ol1 192.0.4.0/24 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip route del vrf v"$ol1" 192.0.4.0/24 In ip6gre_inner_v4_multipath.sh line 109: ip -6 route del vrf v$ol1 2001:db8:40::2/128 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip -6 route del vrf v"$ol1" 2001:db8:40::2/128 In ip6gre_inner_v4_multipath.sh line 113: __simple_if_fini $ul1 2001:db8:80::1/64 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: __simple_if_fini "$ul1" 2001:db8:80::1/64 In ip6gre_inner_v4_multipath.sh line 114: simple_if_fini $ol1 192.0.3.1/24 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: simple_if_fini "$ol1" 192.0.3.1/24 In ip6gre_inner_v4_multipath.sh line 119: simple_if_init $ul21 2001:db8:80::2/64 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: simple_if_init "$ul21" 2001:db8:80::2/64 In ip6gre_inner_v4_multipath.sh line 120: __simple_if_init $ul22 v$ul21 ^---^ 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 "$ul22" v"$ul21" In ip6gre_inner_v4_multipath.sh line 121: vlan_create $ul22 111 v$ul21 2001:db8:81::1/64 ^---^ 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 "$ul22" 111 v"$ul21" 2001:db8:81::1/64 In ip6gre_inner_v4_multipath.sh line 122: vlan_create $ul22 222 v$ul21 2001:db8:82::1/64 ^---^ 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 "$ul22" 222 v"$ul21" 2001:db8:82::1/64 In ip6gre_inner_v4_multipath.sh line 124: ip -6 route add vrf v$ul21 2001:db8:40::1/128 via 2001:db8:80::1 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip -6 route add vrf v"$ul21" 2001:db8:40::1/128 via 2001:db8:80::1 In ip6gre_inner_v4_multipath.sh line 125: ip -6 route add vrf v$ul21 2001:db8:40::2/128 \ ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip -6 route add vrf v"$ul21" 2001:db8:40::2/128 \ In ip6gre_inner_v4_multipath.sh line 132: ip -6 route del vrf v$ul21 2001:db8:40::2/128 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip -6 route del vrf v"$ul21" 2001:db8:40::2/128 In ip6gre_inner_v4_multipath.sh line 133: ip -6 route del vrf v$ul21 2001:db8:40::1/128 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip -6 route del vrf v"$ul21" 2001:db8:40::1/128 In ip6gre_inner_v4_multipath.sh line 135: vlan_destroy $ul22 222 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: vlan_destroy "$ul22" 222 In ip6gre_inner_v4_multipath.sh line 136: vlan_destroy $ul22 111 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: vlan_destroy "$ul22" 111 In ip6gre_inner_v4_multipath.sh line 137: __simple_if_fini $ul22 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: __simple_if_fini "$ul22" In ip6gre_inner_v4_multipath.sh line 138: simple_if_fini $ul21 2001:db8:80::2/64 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: simple_if_fini "$ul21" 2001:db8:80::2/64 In ip6gre_inner_v4_multipath.sh line 143: simple_if_init $ul31 2001:db8:83::2/64 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: simple_if_init "$ul31" 2001:db8:83::2/64 In ip6gre_inner_v4_multipath.sh line 144: __simple_if_init $ul32 v$ul31 ^---^ 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 "$ul32" v"$ul31" In ip6gre_inner_v4_multipath.sh line 145: vlan_create $ul32 111 v$ul31 2001:db8:81::2/64 ^---^ 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 "$ul32" 111 v"$ul31" 2001:db8:81::2/64 In ip6gre_inner_v4_multipath.sh line 146: vlan_create $ul32 222 v$ul31 2001:db8:82::2/64 ^---^ 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 "$ul32" 222 v"$ul31" 2001:db8:82::2/64 In ip6gre_inner_v4_multipath.sh line 148: ip -6 route add vrf v$ul31 2001:db8:40::2/128 via 2001:db8:83::1 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip -6 route add vrf v"$ul31" 2001:db8:40::2/128 via 2001:db8:83::1 In ip6gre_inner_v4_multipath.sh line 149: ip -6 route add vrf v$ul31 2001:db8:40::1/128 \ ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip -6 route add vrf v"$ul31" 2001:db8:40::1/128 \ In ip6gre_inner_v4_multipath.sh line 153: tc qdisc add dev $ul32 clsact ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc qdisc add dev "$ul32" clsact In ip6gre_inner_v4_multipath.sh line 154: tc filter add dev $ul32 ingress pref 111 prot 802.1Q \ ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter add dev "$ul32" ingress pref 111 prot 802.1Q \ In ip6gre_inner_v4_multipath.sh line 156: tc filter add dev $ul32 ingress pref 222 prot 802.1Q \ ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter add dev "$ul32" ingress pref 222 prot 802.1Q \ In ip6gre_inner_v4_multipath.sh line 162: tc qdisc del dev $ul32 clsact ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc qdisc del dev "$ul32" clsact In ip6gre_inner_v4_multipath.sh line 164: ip -6 route del vrf v$ul31 2001:db8:40::1/128 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip -6 route del vrf v"$ul31" 2001:db8:40::1/128 In ip6gre_inner_v4_multipath.sh line 165: ip -6 route del vrf v$ul31 2001:db8:40::2/128 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip -6 route del vrf v"$ul31" 2001:db8:40::2/128 In ip6gre_inner_v4_multipath.sh line 167: vlan_destroy $ul32 222 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: vlan_destroy "$ul32" 222 In ip6gre_inner_v4_multipath.sh line 168: vlan_destroy $ul32 111 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: vlan_destroy "$ul32" 111 In ip6gre_inner_v4_multipath.sh line 169: __simple_if_fini $ul32 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: __simple_if_fini "$ul32" In ip6gre_inner_v4_multipath.sh line 170: simple_if_fini $ul31 2001:Db8:83::2/64 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: simple_if_fini "$ul31" 2001:Db8:83::2/64 In ip6gre_inner_v4_multipath.sh line 175: simple_if_init $ol4 192.0.4.1/24 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: simple_if_init "$ol4" 192.0.4.1/24 In ip6gre_inner_v4_multipath.sh line 176: __simple_if_init $ul4 v$ol4 2001:db8:83::1/64 ^--^ 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 "$ul4" v"$ol4" 2001:db8:83::1/64 In ip6gre_inner_v4_multipath.sh line 178: tunnel_create g2 ip6gre 2001:db8:40::2 2001:db8:40::1 tos inherit dev v$ol4 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tunnel_create g2 ip6gre 2001:db8:40::2 2001:db8:40::1 tos inherit dev v"$ol4" In ip6gre_inner_v4_multipath.sh line 179: __simple_if_init g2 v$ol4 2001:db8:40::2/128 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: __simple_if_init g2 v"$ol4" 2001:db8:40::2/128 In ip6gre_inner_v4_multipath.sh line 180: ip -6 route add vrf v$ol4 2001:db8:40::1/128 via 2001:db8:83::2 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip -6 route add vrf v"$ol4" 2001:db8:40::1/128 via 2001:db8:83::2 In ip6gre_inner_v4_multipath.sh line 182: ip route add vrf v$ol4 192.0.3.0/24 nexthop dev g2 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip route add vrf v"$ol4" 192.0.3.0/24 nexthop dev g2 In ip6gre_inner_v4_multipath.sh line 187: ip route del vrf v$ol4 192.0.3.0/24 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip route del vrf v"$ol4" 192.0.3.0/24 In ip6gre_inner_v4_multipath.sh line 189: ip -6 route del vrf v$ol4 2001:db8:40::1/128 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip -6 route del vrf v"$ol4" 2001:db8:40::1/128 In ip6gre_inner_v4_multipath.sh line 193: __simple_if_fini $ul4 2001:db8:83::1/64 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: __simple_if_fini "$ul4" 2001:db8:83::1/64 In ip6gre_inner_v4_multipath.sh line 194: simple_if_fini $ol4 192.0.4.1/24 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: simple_if_fini "$ol4" 192.0.4.1/24 In ip6gre_inner_v4_multipath.sh line 199: simple_if_init $h2 192.0.4.2/24 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: simple_if_init "$h2" 192.0.4.2/24 In ip6gre_inner_v4_multipath.sh line 200: ip route add vrf v$h2 192.0.3.0/24 via 192.0.4.1 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip route add vrf v"$h2" 192.0.3.0/24 via 192.0.4.1 In ip6gre_inner_v4_multipath.sh line 205: ip route del vrf v$h2 192.0.3.0/24 via 192.0.4.1 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip route del vrf v"$h2" 192.0.3.0/24 via 192.0.4.1 In ip6gre_inner_v4_multipath.sh line 206: simple_if_fini $h2 192.0.4.2/24 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: simple_if_fini "$h2" 192.0.4.2/24 In ip6gre_inner_v4_multipath.sh line 260: ip route replace vrf v$ul21 2001:db8:40::2/128 \ ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip route replace vrf v"$ul21" 2001:db8:40::2/128 \ In ip6gre_inner_v4_multipath.sh line 261: nexthop via 2001:db8:81::2 weight $weight1 \ ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: nexthop via 2001:db8:81::2 weight "$weight1" \ In ip6gre_inner_v4_multipath.sh line 262: nexthop via 2001:db8:82::2 weight $weight2 ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: nexthop via 2001:db8:82::2 weight "$weight2" In ip6gre_inner_v4_multipath.sh line 264: local t0_111=$(tc_rule_stats_get $ul32 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 "$ul32" 111 ingress) In ip6gre_inner_v4_multipath.sh line 265: local t0_222=$(tc_rule_stats_get $ul32 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 "$ul32" 222 ingress) In ip6gre_inner_v4_multipath.sh line 267: ip vrf exec v$h1 \ ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip vrf exec v"$h1" \ In ip6gre_inner_v4_multipath.sh line 268: $MZ $h1 -q -p 64 -A "192.0.3.2-192.0.3.62" -B "192.0.4.2-192.0.4.62" \ ^-^ 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.3.2-192.0.3.62" -B "192.0.4.2-192.0.4.62" \ In ip6gre_inner_v4_multipath.sh line 269: -d $MZ_DELAY -c 50 -t udp "sp=1024,dp=1024" ^-------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: -d "$MZ_DELAY" -c 50 -t udp "sp=1024,dp=1024" In ip6gre_inner_v4_multipath.sh line 272: local t1_111=$(tc_rule_stats_get $ul32 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 "$ul32" 111 ingress) In ip6gre_inner_v4_multipath.sh line 273: local t1_222=$(tc_rule_stats_get $ul32 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 "$ul32" 222 ingress) In ip6gre_inner_v4_multipath.sh line 277: 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 ip6gre_inner_v4_multipath.sh line 279: ip route replace vrf v$ul21 2001:db8:40::2/128 \ ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip route replace vrf v"$ul21" 2001:db8:40::2/128 \ In ip6gre_inner_v4_multipath.sh line 287: ping_test $h1 192.0.4.2 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ping_test "$h1" 192.0.4.2 In ip6gre_inner_v4_multipath.sh line 304: 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 ... Checking tools/testing/selftests/net/forwarding/ip6gre_inner_v6_multipath.sh - 91cf9f5c3b7472db751fb31c1399cff0552823a1f8226672a0ead2ba3b79df8a In ip6gre_inner_v6_multipath.sh line 83: simple_if_init $h1 2001:db8:1::2/64 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: simple_if_init "$h1" 2001:db8:1::2/64 In ip6gre_inner_v6_multipath.sh line 84: ip -6 route add vrf v$h1 2001:db8:2::/64 via 2001:db8:1::1 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip -6 route add vrf v"$h1" 2001:db8:2::/64 via 2001:db8:1::1 In ip6gre_inner_v6_multipath.sh line 89: ip -6 route del vrf v$h1 2001:db8:2::/64 via 2001:db8:1::1 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip -6 route del vrf v"$h1" 2001:db8:2::/64 via 2001:db8:1::1 In ip6gre_inner_v6_multipath.sh line 90: simple_if_fini $h1 2001:db8:1::2/64 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: simple_if_fini "$h1" 2001:db8:1::2/64 In ip6gre_inner_v6_multipath.sh line 95: simple_if_init $ol1 2001:db8:1::1/64 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: simple_if_init "$ol1" 2001:db8:1::1/64 In ip6gre_inner_v6_multipath.sh line 96: __simple_if_init $ul1 v$ol1 2001:db8:80::1/64 ^--^ 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" 2001:db8:80::1/64 In ip6gre_inner_v6_multipath.sh line 98: tunnel_create g1 ip6gre 2001:db8:40::1 2001:db8:40::2 tos inherit dev v$ol1 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tunnel_create g1 ip6gre 2001:db8:40::1 2001:db8:40::2 tos inherit dev v"$ol1" In ip6gre_inner_v6_multipath.sh line 99: __simple_if_init g1 v$ol1 2001:db8:40::1/128 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: __simple_if_init g1 v"$ol1" 2001:db8:40::1/128 In ip6gre_inner_v6_multipath.sh line 100: ip -6 route add vrf v$ol1 2001:db8:40::2/128 via 2001:db8:80::2 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip -6 route add vrf v"$ol1" 2001:db8:40::2/128 via 2001:db8:80::2 In ip6gre_inner_v6_multipath.sh line 102: ip -6 route add vrf v$ol1 2001:db8:2::/64 dev g1 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip -6 route add vrf v"$ol1" 2001:db8:2::/64 dev g1 In ip6gre_inner_v6_multipath.sh line 107: ip -6 route del vrf v$ol1 2001:db8:2::/64 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip -6 route del vrf v"$ol1" 2001:db8:2::/64 In ip6gre_inner_v6_multipath.sh line 109: ip -6 route del vrf v$ol1 2001:db8:40::2/128 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip -6 route del vrf v"$ol1" 2001:db8:40::2/128 In ip6gre_inner_v6_multipath.sh line 113: __simple_if_fini $ul1 2001:db8:80::1/64 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: __simple_if_fini "$ul1" 2001:db8:80::1/64 In ip6gre_inner_v6_multipath.sh line 114: simple_if_fini $ol1 2001:db8:1::1/64 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: simple_if_fini "$ol1" 2001:db8:1::1/64 In ip6gre_inner_v6_multipath.sh line 119: simple_if_init $ul21 2001:db8:80::2/64 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: simple_if_init "$ul21" 2001:db8:80::2/64 In ip6gre_inner_v6_multipath.sh line 120: __simple_if_init $ul22 v$ul21 ^---^ 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 "$ul22" v"$ul21" In ip6gre_inner_v6_multipath.sh line 121: vlan_create $ul22 111 v$ul21 2001:db8:81::1/64 ^---^ 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 "$ul22" 111 v"$ul21" 2001:db8:81::1/64 In ip6gre_inner_v6_multipath.sh line 122: vlan_create $ul22 222 v$ul21 2001:db8:82::1/64 ^---^ 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 "$ul22" 222 v"$ul21" 2001:db8:82::1/64 In ip6gre_inner_v6_multipath.sh line 124: ip -6 route add vrf v$ul21 2001:db8:40::1/128 via 2001:db8:80::1 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip -6 route add vrf v"$ul21" 2001:db8:40::1/128 via 2001:db8:80::1 In ip6gre_inner_v6_multipath.sh line 125: ip -6 route add vrf v$ul21 2001:db8:40::2/128 \ ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip -6 route add vrf v"$ul21" 2001:db8:40::2/128 \ In ip6gre_inner_v6_multipath.sh line 132: ip -6 route del vrf v$ul21 2001:db8:40::2/128 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip -6 route del vrf v"$ul21" 2001:db8:40::2/128 In ip6gre_inner_v6_multipath.sh line 133: ip -6 route del vrf v$ul21 2001:db8:40::1/128 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip -6 route del vrf v"$ul21" 2001:db8:40::1/128 In ip6gre_inner_v6_multipath.sh line 135: vlan_destroy $ul22 222 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: vlan_destroy "$ul22" 222 In ip6gre_inner_v6_multipath.sh line 136: vlan_destroy $ul22 111 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: vlan_destroy "$ul22" 111 In ip6gre_inner_v6_multipath.sh line 137: __simple_if_fini $ul22 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: __simple_if_fini "$ul22" In ip6gre_inner_v6_multipath.sh line 138: simple_if_fini $ul21 2001:db8:80::2/64 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: simple_if_fini "$ul21" 2001:db8:80::2/64 In ip6gre_inner_v6_multipath.sh line 143: simple_if_init $ul31 2001:db8:83::2/64 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: simple_if_init "$ul31" 2001:db8:83::2/64 In ip6gre_inner_v6_multipath.sh line 144: __simple_if_init $ul32 v$ul31 ^---^ 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 "$ul32" v"$ul31" In ip6gre_inner_v6_multipath.sh line 145: vlan_create $ul32 111 v$ul31 2001:db8:81::2/64 ^---^ 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 "$ul32" 111 v"$ul31" 2001:db8:81::2/64 In ip6gre_inner_v6_multipath.sh line 146: vlan_create $ul32 222 v$ul31 2001:db8:82::2/64 ^---^ 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 "$ul32" 222 v"$ul31" 2001:db8:82::2/64 In ip6gre_inner_v6_multipath.sh line 148: ip -6 route add vrf v$ul31 2001:db8:40::2/128 via 2001:db8:83::1 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip -6 route add vrf v"$ul31" 2001:db8:40::2/128 via 2001:db8:83::1 In ip6gre_inner_v6_multipath.sh line 149: ip -6 route add vrf v$ul31 2001:db8:40::1/128 \ ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip -6 route add vrf v"$ul31" 2001:db8:40::1/128 \ In ip6gre_inner_v6_multipath.sh line 153: tc qdisc add dev $ul32 clsact ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc qdisc add dev "$ul32" clsact In ip6gre_inner_v6_multipath.sh line 154: tc filter add dev $ul32 ingress pref 111 prot 802.1Q \ ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter add dev "$ul32" ingress pref 111 prot 802.1Q \ In ip6gre_inner_v6_multipath.sh line 156: tc filter add dev $ul32 ingress pref 222 prot 802.1Q \ ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter add dev "$ul32" ingress pref 222 prot 802.1Q \ In ip6gre_inner_v6_multipath.sh line 162: tc qdisc del dev $ul32 clsact ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc qdisc del dev "$ul32" clsact In ip6gre_inner_v6_multipath.sh line 164: ip -6 route del vrf v$ul31 2001:db8:40::1/128 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip -6 route del vrf v"$ul31" 2001:db8:40::1/128 In ip6gre_inner_v6_multipath.sh line 165: ip -6 route del vrf v$ul31 2001:db8:40::2/128 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip -6 route del vrf v"$ul31" 2001:db8:40::2/128 In ip6gre_inner_v6_multipath.sh line 167: vlan_destroy $ul32 222 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: vlan_destroy "$ul32" 222 In ip6gre_inner_v6_multipath.sh line 168: vlan_destroy $ul32 111 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: vlan_destroy "$ul32" 111 In ip6gre_inner_v6_multipath.sh line 169: __simple_if_fini $ul32 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: __simple_if_fini "$ul32" In ip6gre_inner_v6_multipath.sh line 170: simple_if_fini $ul31 2001:Db8:83::2/64 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: simple_if_fini "$ul31" 2001:Db8:83::2/64 In ip6gre_inner_v6_multipath.sh line 175: simple_if_init $ol4 2001:db8:2::1/64 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: simple_if_init "$ol4" 2001:db8:2::1/64 In ip6gre_inner_v6_multipath.sh line 176: __simple_if_init $ul4 v$ol4 2001:db8:83::1/64 ^--^ 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 "$ul4" v"$ol4" 2001:db8:83::1/64 In ip6gre_inner_v6_multipath.sh line 178: tunnel_create g2 ip6gre 2001:db8:40::2 2001:db8:40::1 tos inherit dev v$ol4 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tunnel_create g2 ip6gre 2001:db8:40::2 2001:db8:40::1 tos inherit dev v"$ol4" In ip6gre_inner_v6_multipath.sh line 179: __simple_if_init g2 v$ol4 2001:db8:40::2/128 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: __simple_if_init g2 v"$ol4" 2001:db8:40::2/128 In ip6gre_inner_v6_multipath.sh line 180: ip -6 route add vrf v$ol4 2001:db8:40::1/128 via 2001:db8:83::2 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip -6 route add vrf v"$ol4" 2001:db8:40::1/128 via 2001:db8:83::2 In ip6gre_inner_v6_multipath.sh line 182: ip -6 route add vrf v$ol4 2001:db8:1::/64 dev g2 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip -6 route add vrf v"$ol4" 2001:db8:1::/64 dev g2 In ip6gre_inner_v6_multipath.sh line 187: ip -6 route del vrf v$ol4 2001:db8:1::/64 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip -6 route del vrf v"$ol4" 2001:db8:1::/64 In ip6gre_inner_v6_multipath.sh line 189: ip -6 route del vrf v$ol4 2001:db8:40::1/128 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip -6 route del vrf v"$ol4" 2001:db8:40::1/128 In ip6gre_inner_v6_multipath.sh line 193: __simple_if_fini $ul4 2001:db8:83::1/64 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: __simple_if_fini "$ul4" 2001:db8:83::1/64 In ip6gre_inner_v6_multipath.sh line 194: simple_if_fini $ol4 2001:db8:2::1/64 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: simple_if_fini "$ol4" 2001:db8:2::1/64 In ip6gre_inner_v6_multipath.sh line 199: simple_if_init $h2 2001:db8:2::2/64 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: simple_if_init "$h2" 2001:db8:2::2/64 In ip6gre_inner_v6_multipath.sh line 200: ip -6 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 -6 route add vrf v"$h2" 2001:db8:1::/64 via 2001:db8:2::1 In ip6gre_inner_v6_multipath.sh line 205: ip -6 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 -6 route del vrf v"$h2" 2001:db8:1::/64 via 2001:db8:2::1 In ip6gre_inner_v6_multipath.sh line 206: simple_if_fini $h2 2001:db8:2::2/64 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: simple_if_fini "$h2" 2001:db8:2::2/64 In ip6gre_inner_v6_multipath.sh line 260: ip route replace vrf v$ul21 2001:db8:40::2/128 \ ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip route replace vrf v"$ul21" 2001:db8:40::2/128 \ In ip6gre_inner_v6_multipath.sh line 261: nexthop via 2001:db8:81::2 weight $weight1 \ ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: nexthop via 2001:db8:81::2 weight "$weight1" \ In ip6gre_inner_v6_multipath.sh line 262: nexthop via 2001:db8:82::2 weight $weight2 ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: nexthop via 2001:db8:82::2 weight "$weight2" In ip6gre_inner_v6_multipath.sh line 264: local t0_111=$(tc_rule_stats_get $ul32 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 "$ul32" 111 ingress) In ip6gre_inner_v6_multipath.sh line 265: local t0_222=$(tc_rule_stats_get $ul32 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 "$ul32" 222 ingress) In ip6gre_inner_v6_multipath.sh line 267: ip vrf exec v$h1 \ ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip vrf exec v"$h1" \ In ip6gre_inner_v6_multipath.sh line 268: $MZ $h1 -6 -q -p 64 -A "2001:db8:1::2-2001:db8:1::3e" \ ^-^ 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::2-2001:db8:1::3e" \ In ip6gre_inner_v6_multipath.sh line 270: -d $MZ_DELAY -c 50 -t udp "sp=1024,dp=1024" ^-------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: -d "$MZ_DELAY" -c 50 -t udp "sp=1024,dp=1024" In ip6gre_inner_v6_multipath.sh line 273: local t1_111=$(tc_rule_stats_get $ul32 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 "$ul32" 111 ingress) In ip6gre_inner_v6_multipath.sh line 274: local t1_222=$(tc_rule_stats_get $ul32 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 "$ul32" 222 ingress) In ip6gre_inner_v6_multipath.sh line 278: 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 ip6gre_inner_v6_multipath.sh line 280: ip route replace vrf v$ul21 2001:db8:40::2/128 \ ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip route replace vrf v"$ul21" 2001:db8:40::2/128 \ In ip6gre_inner_v6_multipath.sh line 288: ping_test $h1 2001:db8:2::2 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ping_test "$h1" 2001:db8:2::2 In ip6gre_inner_v6_multipath.sh line 305: 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 ... Checking tools/testing/selftests/net/forwarding/ip6gre_lib.sh - 22e346209b9b6bf66a05977e26f91e34e49b71785e5e444b645d08611f3fb12c In ip6gre_lib.sh line 2: #!/bin/bash ^-- SC1128 (error): The shebang must be on the first line. Delete blanks and move comments. In ip6gre_lib.sh line 157: simple_if_init $h1 198.51.100.1/24 2001:db8:1::1/64 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: simple_if_init "$h1" 198.51.100.1/24 2001:db8:1::1/64 In ip6gre_lib.sh line 158: ip route add vrf v$h1 203.0.113.0/24 via 198.51.100.2 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip route add vrf v"$h1" 203.0.113.0/24 via 198.51.100.2 In ip6gre_lib.sh line 159: ip -6 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 -6 route add vrf v"$h1" 2001:db8:2::/64 via 2001:db8:1::2 In ip6gre_lib.sh line 164: ip -6 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 -6 route del vrf v"$h1" 2001:db8:2::/64 via 2001:db8:1::2 In ip6gre_lib.sh line 165: ip route del vrf v$h1 203.0.113.0/24 via 198.51.100.2 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip route del vrf v"$h1" 203.0.113.0/24 via 198.51.100.2 In ip6gre_lib.sh line 166: simple_if_fini $h1 198.51.100.1/24 2001:db8:1::1/64 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: simple_if_fini "$h1" 198.51.100.1/24 2001:db8:1::1/64 In ip6gre_lib.sh line 171: simple_if_init $h2 203.0.113.1/24 2001:db8:2::1/64 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: simple_if_init "$h2" 203.0.113.1/24 2001:db8:2::1/64 In ip6gre_lib.sh line 172: ip route add vrf v$h2 198.51.100.0/24 via 203.0.113.2 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip route add vrf v"$h2" 198.51.100.0/24 via 203.0.113.2 In ip6gre_lib.sh line 173: ip -6 route add vrf v$h2 2001:db8:1::/64 via 2001:db8:2::2 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip -6 route add vrf v"$h2" 2001:db8:1::/64 via 2001:db8:2::2 In ip6gre_lib.sh line 178: ip -6 route del vrf v$h2 2001:db8:1::/64 via 2001:db8:2::2 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip -6 route del vrf v"$h2" 2001:db8:1::/64 via 2001:db8:2::2 In ip6gre_lib.sh line 179: ip route del vrf v$h2 198.51.100.0/24 via 203.0.113.2 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip route del vrf v"$h2" 198.51.100.0/24 via 203.0.113.2 In ip6gre_lib.sh line 180: simple_if_fini $h2 203.0.113.1/24 2001:db8:2::1/64 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: simple_if_fini "$h2" 203.0.113.1/24 2001:db8:2::1/64 In ip6gre_lib.sh line 188: 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 ip6gre_lib.sh line 189: __addr_add_del $ol1 add 198.51.100.2/24 2001:db8:1::2/64 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: __addr_add_del "$ol1" add 198.51.100.2/24 2001:db8:1::2/64 In ip6gre_lib.sh line 191: 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 ip6gre_lib.sh line 192: vlan_create $ul1 111 "" 2001:db8:10::1/64 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: vlan_create "$ul1" 111 "" 2001:db8:10::1/64 In ip6gre_lib.sh line 216: vlan_destroy $ul1 111 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: vlan_destroy "$ul1" 111 In ip6gre_lib.sh line 217: __simple_if_fini $ul1 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: __simple_if_fini "$ul1" In ip6gre_lib.sh line 218: __simple_if_fini $ol1 198.51.100.2/24 2001:db8:1::2/64 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: __simple_if_fini "$ol1" 198.51.100.2/24 2001:db8:1::2/64 In ip6gre_lib.sh line 226: simple_if_init $ol2 203.0.113.2/24 2001:db8:2::2/64 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: simple_if_init "$ol2" 203.0.113.2/24 2001:db8:2::2/64 In ip6gre_lib.sh line 227: __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 ip6gre_lib.sh line 228: vlan_create $ul2 111 v$ol2 2001:db8:10::2/64 ^--^ 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" 2001:db8:10::2/64 In ip6gre_lib.sh line 231: ttl inherit dev v$ol2 "$@" ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ttl inherit dev v"$ol2" "$@" In ip6gre_lib.sh line 232: __simple_if_init g2a v$ol2 2001:db8:3::2/128 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: __simple_if_init g2a v"$ol2" 2001:db8:3::2/128 In ip6gre_lib.sh line 235: ip neigh replace dev $ol2 203.0.113.1 lladdr $(mac_get $h2) ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. ^------------^ SC2046 (warning): Quote this to prevent word splitting. ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip neigh replace dev "$ol2" 203.0.113.1 lladdr $(mac_get "$h2") In ip6gre_lib.sh line 236: ip -6 neigh replace dev $ol2 2001:db8:2::1 lladdr $(mac_get $h2) ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. ^------------^ SC2046 (warning): Quote this to prevent word splitting. ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip -6 neigh replace dev "$ol2" 2001:db8:2::1 lladdr $(mac_get "$h2") In ip6gre_lib.sh line 238: ip -6 route add vrf v$ol2 2001:db8:3::1/128 via 2001:db8:10::1 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip -6 route add vrf v"$ol2" 2001:db8:3::1/128 via 2001:db8:10::1 In ip6gre_lib.sh line 239: ip route add vrf v$ol2 198.51.100.0/24 dev g2a ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip route add vrf v"$ol2" 198.51.100.0/24 dev g2a In ip6gre_lib.sh line 240: ip -6 route add vrf v$ol2 2001:db8:1::/64 dev g2a ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip -6 route add vrf v"$ol2" 2001:db8:1::/64 dev g2a In ip6gre_lib.sh line 248: ip -6 route del vrf v$ol2 2001:db8:2::/64 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip -6 route del vrf v"$ol2" 2001:db8:2::/64 In ip6gre_lib.sh line 249: ip route del vrf v$ol2 198.51.100.0/24 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip route del vrf v"$ol2" 198.51.100.0/24 In ip6gre_lib.sh line 250: ip -6 route del vrf v$ol2 2001:db8:3::1/128 via 2001:db8:10::1 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip -6 route del vrf v"$ol2" 2001:db8:3::1/128 via 2001:db8:10::1 In ip6gre_lib.sh line 255: vlan_destroy $ul2 111 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: vlan_destroy "$ul2" 111 In ip6gre_lib.sh line 256: __simple_if_fini $ul2 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: __simple_if_fini "$ul2" In ip6gre_lib.sh line 257: simple_if_fini $ol2 203.0.113.2/24 2001:db8:2::2/64 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: simple_if_fini "$ol2" 203.0.113.2/24 2001:db8:2::2/64 In ip6gre_lib.sh line 265: simple_if_init $ol1 198.51.100.2/24 2001:db8:1::2/64 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: simple_if_init "$ol1" 198.51.100.2/24 2001:db8:1::2/64 In ip6gre_lib.sh line 266: simple_if_init $ul1 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: simple_if_init "$ul1" In ip6gre_lib.sh line 268: __simple_if_init dummy1 v$ul1 2001:db8:3::1/64 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: __simple_if_init dummy1 v"$ul1" 2001:db8:3::1/64 In ip6gre_lib.sh line 270: vlan_create $ul1 111 v$ul1 2001:db8:10::1/64 ^--^ 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" 2001:db8:10::1/64 In ip6gre_lib.sh line 273: 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 ip6gre_lib.sh line 275: ip -6 route add vrf v$ul1 2001:db8:3::2/128 via 2001:db8:10::2 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip -6 route add vrf v"$ul1" 2001:db8:3::2/128 via 2001:db8:10::2 In ip6gre_lib.sh line 276: ip route add vrf v$ol1 203.0.113.0/24 dev g1a ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip route add vrf v"$ol1" 203.0.113.0/24 dev g1a In ip6gre_lib.sh line 277: ip -6 route add vrf v$ol1 2001:db8:2::/64 dev g1a ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip -6 route add vrf v"$ol1" 2001:db8:2::/64 dev g1a In ip6gre_lib.sh line 285: ip -6 route del vrf v$ol1 2001:db8:2::/64 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip -6 route del vrf v"$ol1" 2001:db8:2::/64 In ip6gre_lib.sh line 286: ip route del vrf v$ol1 203.0.113.0/24 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip route del vrf v"$ol1" 203.0.113.0/24 In ip6gre_lib.sh line 287: ip -6 route del vrf v$ul1 2001:db8:3::2/128 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip -6 route del vrf v"$ul1" 2001:db8:3::2/128 In ip6gre_lib.sh line 290: vlan_destroy $ul1 111 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: vlan_destroy "$ul1" 111 In ip6gre_lib.sh line 295: simple_if_fini $ul1 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: simple_if_fini "$ul1" In ip6gre_lib.sh line 296: simple_if_fini $ol1 198.51.100.2/24 2001:db8:1::2/64 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: simple_if_fini "$ol1" 198.51.100.2/24 2001:db8:1::2/64 In ip6gre_lib.sh line 304: simple_if_init $ol2 203.0.113.2/24 2001:db8:2::2/64 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: simple_if_init "$ol2" 203.0.113.2/24 2001:db8:2::2/64 In ip6gre_lib.sh line 305: simple_if_init $ul2 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: simple_if_init "$ul2" In ip6gre_lib.sh line 308: __simple_if_init dummy2 v$ul2 2001:db8:3::2/64 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: __simple_if_init dummy2 v"$ul2" 2001:db8:3::2/64 In ip6gre_lib.sh line 310: vlan_create $ul2 111 v$ul2 2001:db8:10::2/64 ^--^ 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" 2001:db8:10::2/64 In ip6gre_lib.sh line 313: 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 ip6gre_lib.sh line 316: ip neigh replace dev $ol2 203.0.113.1 lladdr $(mac_get $h2) ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. ^------------^ SC2046 (warning): Quote this to prevent word splitting. ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip neigh replace dev "$ol2" 203.0.113.1 lladdr $(mac_get "$h2") In ip6gre_lib.sh line 317: ip -6 neigh replace dev $ol2 2001:db8:2::1 lladdr $(mac_get $h2) ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. ^------------^ SC2046 (warning): Quote this to prevent word splitting. ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip -6 neigh replace dev "$ol2" 2001:db8:2::1 lladdr $(mac_get "$h2") In ip6gre_lib.sh line 319: ip -6 route add vrf v$ul2 2001:db8:3::1/128 via 2001:db8:10::1 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip -6 route add vrf v"$ul2" 2001:db8:3::1/128 via 2001:db8:10::1 In ip6gre_lib.sh line 320: ip route add vrf v$ol2 198.51.100.0/24 dev g2a ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip route add vrf v"$ol2" 198.51.100.0/24 dev g2a In ip6gre_lib.sh line 321: ip -6 route add vrf v$ol2 2001:db8:1::/64 dev g2a ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip -6 route add vrf v"$ol2" 2001:db8:1::/64 dev g2a In ip6gre_lib.sh line 329: ip -6 route del vrf v$ol2 2001:db8:2::/64 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip -6 route del vrf v"$ol2" 2001:db8:2::/64 In ip6gre_lib.sh line 330: ip route del vrf v$ol2 198.51.100.0/24 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip route del vrf v"$ol2" 198.51.100.0/24 In ip6gre_lib.sh line 331: ip -6 route del vrf v$ul2 2001:db8:3::1/128 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip -6 route del vrf v"$ul2" 2001:db8:3::1/128 In ip6gre_lib.sh line 334: vlan_destroy $ul2 111 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: vlan_destroy "$ul2" 111 In ip6gre_lib.sh line 339: simple_if_fini $ul2 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: simple_if_fini "$ul2" In ip6gre_lib.sh line 340: simple_if_fini $ol2 203.0.113.2/24 2001:db8:2::2/64 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: simple_if_fini "$ol2" 203.0.113.2/24 2001:db8:2::2/64 In ip6gre_lib.sh line 347: h1mac=$(mac_get $h1) ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: h1mac=$(mac_get "$h1") In ip6gre_lib.sh line 348: ol1mac=$(mac_get $ol1) ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ol1mac=$(mac_get "$ol1") In ip6gre_lib.sh line 350: tc qdisc add dev $ul1 clsact ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc qdisc add dev "$ul1" clsact In ip6gre_lib.sh line 351: tc filter add dev $ul1 egress proto all pref 1 handle 101 \ ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter add dev "$ul1" egress proto all pref 1 handle 101 \ In ip6gre_lib.sh line 352: flower $TC_FLAG action pass ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: flower "$TC_FLAG" action pass In ip6gre_lib.sh line 354: tc qdisc add dev $ol2 clsact ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc qdisc add dev "$ol2" clsact In ip6gre_lib.sh line 355: tc filter add dev $ol2 egress protocol ipv4 pref 1 handle 101 \ ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter add dev "$ol2" egress protocol ipv4 pref 1 handle 101 \ In ip6gre_lib.sh line 356: flower $TC_FLAG dst_ip 203.0.113.1 action pass ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: flower "$TC_FLAG" dst_ip 203.0.113.1 action pass In ip6gre_lib.sh line 358: $MZ $h1 -c 1000 -p 64 -a $h1mac -b $ol1mac -A 198.51.100.1 \ ^-^ 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" -c 1000 -p 64 -a "$h1mac" -b "$ol1mac" -A 198.51.100.1 \ In ip6gre_lib.sh line 359: -B 203.0.113.1 -t ip -q -d $MZ_DELAY ^-------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: -B 203.0.113.1 -t ip -q -d "$MZ_DELAY" In ip6gre_lib.sh line 370: tc filter del dev $ol2 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 "$ol2" egress protocol ipv4 pref 1 handle 101 flower In ip6gre_lib.sh line 371: tc qdisc del dev $ol2 clsact ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc qdisc del dev "$ol2" clsact In ip6gre_lib.sh line 372: tc filter del dev $ul1 egress proto all pref 1 handle 101 flower ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter del dev "$ul1" egress proto all pref 1 handle 101 flower In ip6gre_lib.sh line 373: tc qdisc del dev $ul1 clsact ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc qdisc del dev "$ul1" clsact In ip6gre_lib.sh line 380: h1mac=$(mac_get $h1) ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: h1mac=$(mac_get "$h1") In ip6gre_lib.sh line 381: ol1mac=$(mac_get $ol1) ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ol1mac=$(mac_get "$ol1") In ip6gre_lib.sh line 383: tc qdisc add dev $ul1 clsact ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc qdisc add dev "$ul1" clsact In ip6gre_lib.sh line 384: tc filter add dev $ul1 egress proto all pref 1 handle 101 \ ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter add dev "$ul1" egress proto all pref 1 handle 101 \ In ip6gre_lib.sh line 385: flower $TC_FLAG action pass ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: flower "$TC_FLAG" action pass In ip6gre_lib.sh line 387: tc qdisc add dev $ol2 clsact ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc qdisc add dev "$ol2" clsact In ip6gre_lib.sh line 388: tc filter add dev $ol2 egress protocol ipv6 pref 1 handle 101 \ ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter add dev "$ol2" egress protocol ipv6 pref 1 handle 101 \ In ip6gre_lib.sh line 389: flower $TC_FLAG dst_ip 2001:db8:2::1 action pass ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: flower "$TC_FLAG" dst_ip 2001:db8:2::1 action pass In ip6gre_lib.sh line 391: $MZ -6 $h1 -c 1000 -p 64 -a $h1mac -b $ol1mac -A 2001:db8:1::1 \ ^-^ 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 -6 "$h1" -c 1000 -p 64 -a "$h1mac" -b "$ol1mac" -A 2001:db8:1::1 \ In ip6gre_lib.sh line 392: -B 2001:db8:2::1 -t ip -q -d $MZ_DELAY ^-------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: -B 2001:db8:2::1 -t ip -q -d "$MZ_DELAY" In ip6gre_lib.sh line 403: tc filter del dev $ol2 egress protocol ipv6 pref 1 handle 101 flower ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter del dev "$ol2" egress protocol ipv6 pref 1 handle 101 flower In ip6gre_lib.sh line 404: tc qdisc del dev $ol2 clsact ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc qdisc del dev "$ol2" clsact In ip6gre_lib.sh line 405: tc filter del dev $ul1 egress proto all pref 1 handle 101 flower ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter del dev "$ul1" egress proto all pref 1 handle 101 flower In ip6gre_lib.sh line 406: tc qdisc del dev $ul1 clsact ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc qdisc del dev "$ul1" clsact In ip6gre_lib.sh line 413: 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 ip6gre_lib.sh line 414: 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 ip6gre_lib.sh line 415: 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 ip6gre_lib.sh line 416: 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 ip6gre_lib.sh line 417: 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 ip6gre_lib.sh line 418: 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 ip6gre_lib.sh line 419: 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 ip6gre_lib.sh line 420: 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 ip6gre_lib.sh line 421: 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 ip6gre_lib.sh line 422: 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 ip6gre_lib.sh line 429: ping6_do $h1 2001:db8:2::1 "-s 1800 -w 3" ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ping6_do "$h1" 2001:db8:2::1 "-s 1800 -w 3" In ip6gre_lib.sh line 435: ping6_do $h1 2001:db8:2::1 "-s 1800 -w 3" ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ping6_do "$h1" 2001:db8:2::1 "-s 1800 -w 3" In ip6gre_lib.sh line 447: ip link set dev g1a type ip6gre local $new1 remote $new2 ^---^ 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 dev g1a type ip6gre local "$new1" remote "$new2" In ip6gre_lib.sh line 450: ip -6 route add $new2/128 via 2001:db8:10::2 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip -6 route add "$new2"/128 via 2001:db8:10::2 In ip6gre_lib.sh line 451: ip -6 route del $old2/128 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip -6 route del "$old2"/128 In ip6gre_lib.sh line 453: ip link set dev g2a type ip6gre local $new2 remote $new1 ^---^ 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 dev g2a type ip6gre local "$new2" remote "$new1" In ip6gre_lib.sh line 456: ip -6 route add vrf v$ol2 $new1/128 via 2001:db8:10::1 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip -6 route add vrf v"$ol2" "$new1"/128 via 2001:db8:10::1 In ip6gre_lib.sh line 457: ip -6 route del vrf v$ol2 $old1/128 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip -6 route del vrf v"$ol2" "$old1"/128 In ip6gre_lib.sh line 489: ip link set dev g1a type ip6gre local $new1 remote $new2 ^---^ 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 dev g1a type ip6gre local "$new1" remote "$new2" In ip6gre_lib.sh line 490: ip -6 route add vrf v$ul1 $new2/128 via 2001:db8:10::2 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip -6 route add vrf v"$ul1" "$new2"/128 via 2001:db8:10::2 In ip6gre_lib.sh line 491: ip -6 route del vrf v$ul1 $old2/128 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip -6 route del vrf v"$ul1" "$old2"/128 In ip6gre_lib.sh line 495: ip link set dev g2a type ip6gre local $new2 remote $new1 ^---^ 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 dev g2a type ip6gre local "$new2" remote "$new1" In ip6gre_lib.sh line 496: ip -6 route add vrf v$ul2 $new1/128 via 2001:db8:10::1 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip -6 route add vrf v"$ul2" "$new1"/128 via 2001:db8:10::1 In ip6gre_lib.sh line 497: ip -6 route del vrf v$ul2 $old1/128 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip -6 route del vrf v"$ul2" "$old1"/128 For more information: https://www.shellcheck.net/wiki/SC1128 -- The shebang must be on the first ... https://www.shellcheck.net/wiki/SC2046 -- Quote this to prevent word splitt... https://www.shellcheck.net/wiki/SC2086 -- Double quote to prevent globbing ... Checking tools/testing/selftests/net/forwarding/lib.sh - e1a847ed4d4592e29820ec7d4d0de16c1b815b225d7508d588b8b4f99ffa9610 In lib.sh line 97: basename `realpath $driver_path` ^---------------------^ SC2046 (warning): Quote this to prevent word splitting. ^---------------------^ SC2006 (style): Use $(...) notation instead of legacy backticks `...`. ^----------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: basename $(realpath "$driver_path") In lib.sh line 103: local ifnames=`ip -j link show | jq -r ".[].ifname"` ^-----^ SC2155 (warning): Declare and assign separately to avoid masking return values. ^-- SC2006 (style): Use $(...) notation instead of legacy backticks `...`. Did you mean: local ifnames=$(ip -j link show | jq -r ".[].ifname") In lib.sh line 108: local driver_name=`driver_name_get $ifname` ^---------^ SC2155 (warning): Declare and assign separately to avoid masking return values. ^-----------------------^ SC2006 (style): Use $(...) notation instead of legacy backticks `...`. ^-----^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: local driver_name=$(driver_name_get "$ifname") In lib.sh line 109: if [[ ! -z $driver_name && $driver_name == $NETIF_FIND_DRIVER ]]; then ^-- SC2236 (style): Use -n instead of ! -z. ^----------------^ SC2053 (warning): Quote the right-hand side of == in [[ ]] to prevent glob matching. In lib.sh line 128: source "$net_forwarding_dir/forwarding.config" ^-- SC1091 (info): Not following: ./forwarding.config: openBinaryFile: does not exist (No such file or directory) In lib.sh line 139: if [[ $? -ne 0 ]]; then ^-- SC2181 (style): Check exit code directly with e.g. 'if ! mycmd;', not indirectly with $?. In lib.sh line 149: tc filter add dev $dev ingress pref 1 handle 1 flower \ ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter add dev "$dev" ingress pref 1 handle 1 flower \ In lib.sh line 151: if [[ $? -ne 0 ]]; then ^-- SC2181 (style): Check exit code directly with e.g. 'if ! mycmd;', not indirectly with $?. In lib.sh line 155: tc filter del dev $dev ingress pref 1 handle 1 flower \ ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter del dev "$dev" ingress pref 1 handle 1 flower \ In lib.sh line 164: tc filter add dev $dev ingress protocol mpls_uc pref 1 handle 1 \ ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter add dev "$dev" ingress protocol mpls_uc pref 1 handle 1 \ In lib.sh line 166: if [[ $? -ne 0 ]]; then ^-- SC2181 (style): Check exit code directly with e.g. 'if ! mycmd;', not indirectly with $?. In lib.sh line 170: tc filter del dev $dev ingress protocol mpls_uc pref 1 handle 1 \ ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter del dev "$dev" ingress protocol mpls_uc pref 1 handle 1 \ In lib.sh line 180: tc filter add dev $dev ingress protocol mpls_uc pref 1 handle 1 \ ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter add dev "$dev" ingress protocol mpls_uc pref 1 handle 1 \ In lib.sh line 184: if [[ $? -ne 0 ]]; then ^-- SC2181 (style): Check exit code directly with e.g. 'if ! mycmd;', not indirectly with $?. In lib.sh line 189: tc -j filter show dev $dev ingress protocol mpls_uc | jq . &> /dev/null ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc -j filter show dev "$dev" ingress protocol mpls_uc | jq . &> /dev/null In lib.sh line 191: tc filter del dev $dev ingress protocol mpls_uc pref 1 handle 1 \ ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter del dev "$dev" ingress protocol mpls_uc pref 1 handle 1 \ In lib.sh line 203: if [[ $? -ne 0 ]]; then ^-- SC2181 (style): Check exit code directly with e.g. 'if ! mycmd;', not indirectly with $?. In lib.sh line 212: if [[ $? -ne 0 ]]; then ^-- SC2181 (style): Check exit code directly with e.g. 'if ! mycmd;', not indirectly with $?. In lib.sh line 221: if [[ $? -ne 0 ]]; then ^-- SC2181 (style): Check exit code directly with e.g. 'if ! mycmd;', not indirectly with $?. In lib.sh line 230: if [[ $? -ne 0 ]]; then ^-- SC2181 (style): Check exit code directly with e.g. 'if ! mycmd;', not indirectly with $?. In lib.sh line 239: if [[ $? -ne 0 ]]; then ^-- SC2181 (style): Check exit code directly with e.g. 'if ! mycmd;', not indirectly with $?. In lib.sh line 248: if [[ $? -ne 0 ]]; then ^-- SC2181 (style): Check exit code directly with e.g. 'if ! mycmd;', not indirectly with $?. In lib.sh line 257: if [[ $? -ne 0 ]]; then ^-- SC2181 (style): Check exit code directly with e.g. 'if ! mycmd;', not indirectly with $?. In lib.sh line 268: [ 0 -ne $(ethtool --json -S $dev --all-groups --src pmac 2>/dev/null \ ^-- SC2046 (warning): Quote this to prevent word splitting. ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: [ 0 -ne $(ethtool --json -S "$dev" --all-groups --src pmac 2>/dev/null \ In lib.sh line 297: local driver_name=`driver_name_get $dev` ^---------^ SC2155 (warning): Declare and assign separately to avoid masking return values. ^--------------------^ SC2006 (style): Use $(...) notation instead of legacy backticks `...`. ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: local driver_name=$(driver_name_get "$dev") In lib.sh line 299: if [[ $driver_name != $expected ]]; then ^-------^ SC2053 (warning): Quote the right-hand side of != in [[ ]] to prevent glob matching. In lib.sh line 312: local version="$(msend -v)" ^-----^ SC2155 (warning): Declare and assign separately to avoid masking return values. In lib.sh line 316: major=$(echo $version | cut -d. -f1) ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: major=$(echo "$version" | cut -d. -f1) In lib.sh line 318: if [ $major -lt 3 ]; then ^----^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: if [ "$major" -lt 3 ]; then In lib.sh line 328: require_command $MZ ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: require_command "$MZ" In lib.sh line 331: require_command $TEAMD ^----^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: require_command "$TEAMD" In lib.sh line 364: echo "SKIP: Importer requires $NUM_NETIFS NETIFS, but only ${#NETIFS[@]} are defined (${NETIFS[@]})" ^----------^ SC2145 (error): Argument mixes string and array. Use * or separate argument. In lib.sh line 382: if [ -z ${NETIFS[p$i]} ]; then ^------------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: if [ -z "${NETIFS[p$i]}" ]; then In lib.sh line 387: ip link show dev ${NETIFS[p$i]} &> /dev/null ^------------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link show dev "${NETIFS[p$i]}" &> /dev/null In lib.sh line 388: if [[ $? -ne 0 ]]; then ^-- SC2181 (style): Check exit code directly with e.g. 'if ! mycmd;', not indirectly with $?. In lib.sh line 389: ip link add ${NETIFS[p$i]} type veth \ ^------------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link add "${NETIFS[p$i]}" type veth \ In lib.sh line 390: peer name ${NETIFS[p$j]} ^------------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: peer name "${NETIFS[p$j]}" In lib.sh line 391: if [[ $? -ne 0 ]]; then ^-- SC2181 (style): Check exit code directly with e.g. 'if ! mycmd;', not indirectly with $?. In lib.sh line 405: *) echo "Can not create interfaces of type \'$NETIF_TYPE\'" ^-- SC2028 (info): echo may not expand escape sequences. Use printf. In lib.sh line 421: MAC_ADDR_ORIG["$dev"]=$(ip -j link show dev $dev | jq -e '.[].address') ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: MAC_ADDR_ORIG["$dev"]=$(ip -j link show dev "$dev" | jq -e '.[].address') In lib.sh line 424: ip link set dev $dev address $new_addr ^--^ 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 dev "$dev" address "$new_addr" In lib.sh line 434: ip link set dev $dev address ${MAC_ADDR_ORIG["$dev"]} ^--^ 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 dev "$dev" address "${MAC_ADDR_ORIG["$dev"]}" In lib.sh line 447: ip link show dev ${NETIFS[p$i]} &> /dev/null ^------------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link show dev "${NETIFS[p$i]}" &> /dev/null In lib.sh line 448: if [[ $? -ne 0 ]]; then ^-- SC2181 (style): Check exit code directly with e.g. 'if ! mycmd;', not indirectly with $?. In lib.sh line 460: [[ $? != 0 ]] ^-- SC2181 (style): Check exit code directly with e.g. 'if ! mycmd;', not indirectly with $?. In lib.sh line 468: for cur in ${arr[@]}; do ^-------^ SC2068 (error): Double quote array expansions to avoid re-splitting elements. In lib.sh line 474: echo $max ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: echo "$max" In lib.sh line 490: $@ | grep $addr | grep $flag "$word" ^-- SC2068 (error): Double quote array expansions to avoid re-splitting elements. ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: $@ | grep "$addr" | grep "$flag" "$word" In lib.sh line 513: setup_wait_dev_with_timeout "$dev" $INTERFACE_TIMEOUT $wait_time ^----------------^ SC2086 (info): Double quote to prevent globbing and word splitting. ^--------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: setup_wait_dev_with_timeout "$dev" "$INTERFACE_TIMEOUT" "$wait_time" In lib.sh line 515: if (($?)); then ^-- SC2181 (style): Check exit code directly with e.g. 'if ! mycmd;', not indirectly with $?. In lib.sh line 529: for ((i = 1; i <= $max_iterations; ++i)); do ^-------------^ SC2004 (style): $/${} is unnecessary on arithmetic variables. In lib.sh line 530: ip link show dev $dev up \ ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link show dev "$dev" up \ In lib.sh line 532: if [[ $? -ne 0 ]]; then ^-- SC2181 (style): Check exit code directly with e.g. 'if ! mycmd;', not indirectly with $?. In lib.sh line 535: sleep $wait_time ^--------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: sleep "$wait_time" In lib.sh line 549: setup_wait_dev ${NETIFS[p$i]} 0 ^------------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: setup_wait_dev "${NETIFS[p$i]}" 0 In lib.sh line 553: sleep $WAIT_TIME ^--------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: sleep "$WAIT_TIME" In lib.sh line 566: slowwait $timeout ip link show dev $dev &> /dev/null ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: slowwait "$timeout" ip link show dev "$dev" &> /dev/null In lib.sh line 567: if (( $? )); then ^-- SC2181 (style): Check exit code directly with e.g. 'if ! mycmd;', not indirectly with $?. In lib.sh line 570: exit $EXIT_STATUS ^----------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: exit "$EXIT_STATUS" In lib.sh line 588: output=$(echo $output | jq -r $jq_opts "$jq_exp") ^-----^ SC2086 (info): Double quote to prevent globbing and word splitting. ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: output=$(echo "$output" | jq -r "$jq_opts" "$jq_exp") In lib.sh line 593: echo $output ^-----^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: echo "$output" In lib.sh line 595: [ ! -z "$output" ] ^-- SC2236 (style): Use -n instead of ! -z. In lib.sh line 602: read ^--^ SC2162 (info): read without -r will mangle backslashes. In lib.sh line 642: return ${__TB_IDS[$vrf_name]} ^--------------------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: return "${__TB_IDS[$vrf_name]}" In lib.sh line 650: __vrf_td_id_assign $vrf_name ^-------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: __vrf_td_id_assign "$vrf_name" In lib.sh line 653: ip link add dev $vrf_name type vrf table $tb_id ^-------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link add dev "$vrf_name" type vrf table $tb_id In lib.sh line 663: __vrf_td_id_lookup $vrf_name ^-------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: __vrf_td_id_lookup "$vrf_name" In lib.sh line 668: ip link del dev $vrf_name ^-------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link del dev "$vrf_name" In lib.sh line 682: ip address $add_del $addrstr dev $if_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. Did you mean: ip address "$add_del" "$addrstr" dev "$if_name" In lib.sh line 692: ip link set dev $if_name master $vrf_name ^------^ 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 dev "$if_name" master "$vrf_name" In lib.sh line 693: ip link set dev $if_name up ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link set dev "$if_name" up In lib.sh line 695: __addr_add_del $if_name add "${addrs[@]}" ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: __addr_add_del "$if_name" add "${addrs[@]}" In lib.sh line 703: __addr_add_del $if_name del "${addrs[@]}" ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: __addr_add_del "$if_name" del "${addrs[@]}" In lib.sh line 705: ip link set dev $if_name down ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link set dev "$if_name" down In lib.sh line 706: ip link set dev $if_name nomaster ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link set dev "$if_name" nomaster In lib.sh line 719: vrf_create $vrf_name ^-------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: vrf_create "$vrf_name" In lib.sh line 720: ip link set dev $vrf_name up ^-------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link set dev "$vrf_name" up In lib.sh line 721: __simple_if_init $if_name $vrf_name "${array[@]}" ^------^ 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 "$if_name" "$vrf_name" "${array[@]}" In lib.sh line 734: __simple_if_fini $if_name "${array[@]}" ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: __simple_if_fini "$if_name" "${array[@]}" In lib.sh line 735: vrf_destroy $vrf_name ^-------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: vrf_destroy "$vrf_name" In lib.sh line 745: ip link add name $name type $type \ ^---^ 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 add name "$name" type "$type" \ In lib.sh line 746: local $local remote $remote "$@" ^----^ SC2086 (info): Double quote to prevent globbing and word splitting. ^-----^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: local "$local" remote "$remote" "$@" In lib.sh line 747: ip link set dev $name up ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link set dev "$name" up In lib.sh line 754: ip link del dev $name ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link del dev "$name" In lib.sh line 765: ip link add name $name link $if_name type vlan id $vid ^---^ 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: ip link add name "$name" link "$if_name" type vlan id "$vid" In lib.sh line 767: ip link set dev $name master $vrf ^---^ 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 dev "$name" master "$vrf" In lib.sh line 769: ip link set dev $name up ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link set dev "$name" up In lib.sh line 770: __addr_add_del $name add "${ips[@]}" ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: __addr_add_del "$name" add "${ips[@]}" In lib.sh line 779: ip link del dev $name ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link del dev "$name" In lib.sh line 787: require_command $TEAMD ^----^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: require_command "$TEAMD" In lib.sh line 788: $TEAMD -t $if_name -d -c '{"runner": {"name": "'$mode'"}}' ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: $TEAMD -t "$if_name" -d -c '{"runner": {"name": "'"$mode"'"}}' In lib.sh line 790: ip link set dev $slave down ^----^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link set dev "$slave" down In lib.sh line 791: ip link set dev $slave master $if_name ^----^ 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 dev "$slave" master "$if_name" In lib.sh line 792: ip link set dev $slave up ^----^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link set dev "$slave" up In lib.sh line 794: ip link set dev $if_name up ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link set dev "$if_name" up In lib.sh line 801: $TEAMD -t $if_name -k ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: $TEAMD -t "$if_name" -k In lib.sh line 808: ip -j link show dev $if_name | jq -r '.[]["master"]' ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip -j link show dev "$if_name" | jq -r '.[]["master"]' In lib.sh line 817: ip -j -s link show dev $if_name \ ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip -j -s link show dev "$if_name" \ In lib.sh line 818: | jq '.[]["stats64"]["'$dir'"]["'$stat'"]' ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: | jq '.[]["stats64"]["'"$dir"'"]["'"$stat"'"]' In lib.sh line 823: link_stats_get $1 tx packets ^-- SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: link_stats_get "$1" tx packets In lib.sh line 828: link_stats_get $1 rx errors ^-- SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: link_stats_get "$1" rx errors In lib.sh line 836: ethtool -S $dev | grep "^ *$stat:" | head -n 1 | cut -d: -f2 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ethtool -S "$dev" | grep "^ *$stat:" | head -n 1 | cut -d: -f2 In lib.sh line 846: ethtool --json -S $dev --groups $grp -- --src $src | \ ^--^ 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: ethtool --json -S "$dev" --groups "$grp" -- --src "$src" | \ In lib.sh line 847: jq '.[]."'"$grp"'"."'$name'"' ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: jq '.[]."'"$grp"'"."'"$name"'"' In lib.sh line 875: cat /proc/net/dev_snmp6/$dev | grep "^$stat" | cut -f2 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: cat /proc/net/dev_snmp6/"$dev" | grep "^$stat" | cut -f2 In lib.sh line 885: ip -j stats show dev $if_name group offload subgroup $suite | ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. ^----^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip -j stats show dev "$if_name" group offload subgroup "$suite" | In lib.sh line 895: ip -j -s -s nexthop show id $group_id | ^-------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip -j -s -s nexthop show id "$group_id" | In lib.sh line 986: ip -j addr show dev $if_name | \ ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip -j addr show dev "$if_name" | \ In lib.sh line 997: ageing_time=$(ip -j -d link show dev $bridge \ ^-----^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ageing_time=$(ip -j -d link show dev "$bridge" \ In lib.sh line 1007: SYSCTL_ORIG[$key]=$(sysctl -n $key) ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: SYSCTL_ORIG[$key]=$(sysctl -n "$key") In lib.sh line 1016: sysctl -qw $key="$value" ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: sysctl -qw "$key"="$value" In lib.sh line 1023: sysctl -qw $key="${SYSCTL_ORIG[$key]}" ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: sysctl -qw "$key"="${SYSCTL_ORIG[$key]}" In lib.sh line 1044: MTU_ORIG["$dev"]=$(ip -j link show dev $dev | jq -e '.[].mtu') ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: MTU_ORIG["$dev"]=$(ip -j link show dev "$dev" | jq -e '.[].mtu') In lib.sh line 1045: ip link set dev $dev mtu $mtu ^--^ 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 dev "$dev" mtu "$mtu" In lib.sh line 1052: ip link set dev $dev mtu ${MTU_ORIG["$dev"]} ^--^ 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 dev "$dev" mtu "${MTU_ORIG["$dev"]}" In lib.sh line 1060: ethtool -k ${NETIFS[p$i]} \ ^------------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ethtool -k "${NETIFS[p$i]}" \ In lib.sh line 1062: if [[ $? -ne 0 ]]; then ^-- SC2181 (style): Check exit code directly with e.g. 'if ! mycmd;', not indirectly with $?. In lib.sh line 1080: tc filter add dev $dev $direction 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 "$dev" "$direction" pref 1 \ In lib.sh line 1082: || tc filter add dev $dev $direction 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 "$dev" "$direction" pref 1 \ In lib.sh line 1091: tc filter del dev $dev $direction pref 1 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 "$dev" "$direction" pref 1 flower In lib.sh line 1102: tc filter $add_del dev "$tundev" ingress \ ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter "$add_del" dev "$tundev" ingress \ In lib.sh line 1103: proto ip$vsuf pref $pref \ ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: proto ip"$vsuf" pref "$pref" \ In lib.sh line 1104: flower ip_proto icmp$vsuf $filter \ ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. ^-----^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: flower ip_proto icmp"$vsuf" "$filter" \ In lib.sh line 1147: tc filter $add_del dev "$dev" ingress \ ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter "$add_del" dev "$dev" ingress \ In lib.sh line 1148: proto 802.1q pref $pref \ ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: proto 802.1q pref "$pref" \ In lib.sh line 1149: flower $filter \ ^-----^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: flower "$filter" \ In lib.sh line 1178: __icmp_capture_add_del $add_del $((dscp + 100)) "" $dev \ ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: __icmp_capture_add_del "$add_del" $((dscp + 100)) "" "$dev" \ In lib.sh line 1188: __dscp_capture_add_del add $dev $base ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: __dscp_capture_add_del add "$dev" "$base" In lib.sh line 1196: __dscp_capture_add_del del $dev $base ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: __dscp_capture_add_del del "$dev" "$base" In lib.sh line 1206: local t=$(tc_rule_stats_get $dev $((dscp + 100))) ^-- 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 t=$(tc_rule_stats_get "$dev" $((dscp + 100))) In lib.sh line 1215: tc qdisc add dev $dev clsact ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc qdisc add dev "$dev" clsact In lib.sh line 1216: tc filter add dev $dev ingress \ ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter add dev "$dev" ingress \ In lib.sh line 1262: diff=$(echo $weights_ratio - $packets_ratio | bc -l) ^------------^ SC2086 (info): Double quote to prevent globbing and word splitting. ^------------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: diff=$(echo "$weights_ratio" - "$packets_ratio" | bc -l) In lib.sh line 1275: ip netns exec $name bash <<-EOF ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip netns exec "$name" bash <<-EOF In lib.sh line 1292: vrf_name=$(master_name_get $if_name) ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: vrf_name=$(master_name_get "$if_name") In lib.sh line 1293: ip vrf exec $vrf_name \ ^-------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip vrf exec "$vrf_name" \ In lib.sh line 1294: $PING $args $dip -c $PING_COUNT -i 0.1 \ ^---^ 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: "$PING" "$args" "$dip" -c "$PING_COUNT" -i 0.1 \ In lib.sh line 1295: -w $PING_TIMEOUT &> /dev/null ^-----------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: -w "$PING_TIMEOUT" &> /dev/null In lib.sh line 1302: ping_do $1 $2 ^-- SC2086 (info): Double quote to prevent globbing and word splitting. ^-- SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ping_do "$1" "$2" In lib.sh line 1311: ping_do $1 $2 ^-- SC2086 (info): Double quote to prevent globbing and word splitting. ^-- SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ping_do "$1" "$2" In lib.sh line 1323: vrf_name=$(master_name_get $if_name) ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: vrf_name=$(master_name_get "$if_name") In lib.sh line 1324: ip vrf exec $vrf_name \ ^-------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip vrf exec "$vrf_name" \ In lib.sh line 1325: $PING6 $args $dip -c $PING_COUNT -i 0.1 \ ^----^ 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: "$PING6" "$args" "$dip" -c "$PING_COUNT" -i 0.1 \ In lib.sh line 1326: -w $PING_TIMEOUT &> /dev/null ^-----------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: -w "$PING_TIMEOUT" &> /dev/null In lib.sh line 1333: ping6_do $1 $2 ^-- SC2086 (info): Double quote to prevent globbing and word splitting. ^-- SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ping6_do "$1" "$2" In lib.sh line 1342: ping6_do $1 $2 ^-- SC2086 (info): Double quote to prevent globbing and word splitting. ^-- SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ping6_do "$1" "$2" In lib.sh line 1358: bridge -j fdb show br $bridge brport $br_port1 \ ^-----^ SC2086 (info): Double quote to prevent globbing and word splitting. ^-------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: bridge -j fdb show br "$bridge" brport "$br_port1" \ In lib.sh line 1365: bridge link set dev $br_port1 flood off ^-------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: bridge link set dev "$br_port1" flood off In lib.sh line 1367: ip link set $host1_if promisc on ^-------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link set "$host1_if" promisc on In lib.sh line 1368: tc qdisc add dev $host1_if ingress ^-------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc qdisc add dev "$host1_if" ingress In lib.sh line 1369: tc filter add dev $host1_if ingress protocol ip pref 1 handle 101 \ ^-------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter add dev "$host1_if" ingress protocol ip pref 1 handle 101 \ In lib.sh line 1372: $MZ $host2_if -c 1 -p 64 -b $mac -t ip -q ^-------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: $MZ "$host2_if" -c 1 -p 64 -b $mac -t ip -q In lib.sh line 1375: tc -j -s filter show dev $host1_if ingress \ ^-------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc -j -s filter show dev "$host1_if" ingress \ In lib.sh line 1380: $MZ $host1_if -c 1 -p 64 -a $mac -t ip -q ^-------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: $MZ "$host1_if" -c 1 -p 64 -a $mac -t ip -q In lib.sh line 1383: bridge -j fdb show br $bridge brport $br_port1 \ ^-----^ SC2086 (info): Double quote to prevent globbing and word splitting. ^-------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: bridge -j fdb show br "$bridge" brport "$br_port1" \ In lib.sh line 1387: $MZ $host2_if -c 1 -p 64 -b $mac -t ip -q ^-------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: $MZ "$host2_if" -c 1 -p 64 -b $mac -t ip -q In lib.sh line 1390: tc -j -s filter show dev $host1_if ingress \ ^-------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc -j -s filter show dev "$host1_if" ingress \ In lib.sh line 1397: ageing_time=$(bridge_ageing_time_get $bridge) ^-----^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ageing_time=$(bridge_ageing_time_get "$bridge") In lib.sh line 1400: bridge -j fdb show br $bridge brport $br_port1 \ ^-----^ SC2086 (info): Double quote to prevent globbing and word splitting. ^-------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: bridge -j fdb show br "$bridge" brport "$br_port1" \ In lib.sh line 1404: bridge link set dev $br_port1 learning off ^-------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: bridge link set dev "$br_port1" learning off In lib.sh line 1406: $MZ $host1_if -c 1 -p 64 -a $mac -t ip -q ^-------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: $MZ "$host1_if" -c 1 -p 64 -a $mac -t ip -q In lib.sh line 1409: bridge -j fdb show br $bridge brport $br_port1 \ ^-----^ SC2086 (info): Double quote to prevent globbing and word splitting. ^-------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: bridge -j fdb show br "$bridge" brport "$br_port1" \ In lib.sh line 1413: bridge link set dev $br_port1 learning on ^-------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: bridge link set dev "$br_port1" learning on In lib.sh line 1415: tc filter del dev $host1_if ingress protocol ip pref 1 handle 101 flower ^-------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter del dev "$host1_if" ingress protocol ip pref 1 handle 101 flower In lib.sh line 1416: tc qdisc del dev $host1_if ingress ^-------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc qdisc del dev "$host1_if" ingress In lib.sh line 1417: ip link set $host1_if promisc off ^-------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link set "$host1_if" promisc off In lib.sh line 1419: bridge link set dev $br_port1 flood on ^-------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: bridge link set dev "$br_port1" flood on In lib.sh line 1435: ip link set $host2_if promisc on ^-------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link set "$host2_if" promisc on In lib.sh line 1436: tc qdisc add dev $host2_if ingress ^-------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc qdisc add dev "$host2_if" ingress In lib.sh line 1437: tc filter add dev $host2_if ingress protocol ip pref 1 handle 101 \ ^-------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter add dev "$host2_if" ingress protocol ip pref 1 handle 101 \ In lib.sh line 1438: flower dst_mac $mac action drop ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: flower dst_mac "$mac" action drop In lib.sh line 1440: $MZ $host1_if -c 1 -p 64 -b $mac -B $ip -t ip -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 "$host1_if" -c 1 -p 64 -b "$mac" -B "$ip" -t ip -q In lib.sh line 1443: tc -j -s filter show dev $host2_if ingress \ ^-------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc -j -s filter show dev "$host2_if" ingress \ In lib.sh line 1451: tc filter del dev $host2_if ingress protocol ip pref 1 handle 101 flower ^-------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter del dev "$host2_if" ingress protocol ip pref 1 handle 101 flower In lib.sh line 1452: tc qdisc del dev $host2_if ingress ^-------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc qdisc del dev "$host2_if" ingress In lib.sh line 1453: ip link set $host2_if promisc off ^-------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link set "$host2_if" promisc off In lib.sh line 1468: bridge link set dev $br_port flood off ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: bridge link set dev "$br_port" flood off In lib.sh line 1470: flood_test_do false $mac $ip $host1_if $host2_if ^-------^ SC2086 (info): Double quote to prevent globbing and word splitting. ^-------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: flood_test_do false $mac $ip "$host1_if" "$host2_if" In lib.sh line 1473: bridge link set dev $br_port flood on ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: bridge link set dev "$br_port" flood on In lib.sh line 1475: flood_test_do true $mac $ip $host1_if $host2_if ^-------^ SC2086 (info): Double quote to prevent globbing and word splitting. ^-------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: flood_test_do true $mac $ip "$host1_if" "$host2_if" In lib.sh line 1491: bridge link set dev $br_port mcast_flood off ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: bridge link set dev "$br_port" mcast_flood off In lib.sh line 1493: flood_test_do false $mac $ip $host1_if $host2_if ^-------^ SC2086 (info): Double quote to prevent globbing and word splitting. ^-------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: flood_test_do false $mac $ip "$host1_if" "$host2_if" In lib.sh line 1496: bridge link set dev $br_port mcast_flood on ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: bridge link set dev "$br_port" mcast_flood on In lib.sh line 1498: flood_test_do true $mac $ip $host1_if $host2_if ^-------^ SC2086 (info): Double quote to prevent globbing and word splitting. ^-------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: flood_test_do true $mac $ip "$host1_if" "$host2_if" In lib.sh line 1511: flood_unicast_test $br_port $host1_if $host2_if ^------^ 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: flood_unicast_test "$br_port" "$host1_if" "$host2_if" In lib.sh line 1512: flood_multicast_test $br_port $host1_if $host2_if ^------^ 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: flood_multicast_test "$br_port" "$host1_if" "$host2_if" In lib.sh line 1525: $MZ $h_in -p $pktsize -A $sip -B $dip -c 0 \ ^---^ 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 "$h_in" -p "$pktsize" -A "$sip" -B "$dip" -c 0 \ In lib.sh line 1526: -a own -b $dmac -t "$proto" -q "${mz_args[@]}" & ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: -a own -b "$dmac" -t "$proto" -q "${mz_args[@]}" & In lib.sh line 1539: __start_traffic $pktsize udp "$h_in" "$sip" "$dip" "$dmac" \ ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: __start_traffic "$pktsize" udp "$h_in" "$sip" "$dip" "$dmac" \ In lib.sh line 1552: __start_traffic $pktsize tcp "$h_in" "$sip" "$dip" "$dmac" \ ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: __start_traffic "$pktsize" tcp "$h_in" "$sip" "$dip" "$dmac" \ In lib.sh line 1599: if [ -z $ns ]; then ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: if [ -z "$ns" ]; then In lib.sh line 1605: if [ -z $SUDO_USER ] ; then ^--------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: if [ -z "$SUDO_USER" ] ; then In lib.sh line 1611: $ns_cmd tcpdump $TCPDUMP_EXTRA_FLAGS -e -n -Q in -i $if_name \ ^------------------^ SC2086 (info): Double quote to prevent globbing and word splitting. ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: $ns_cmd tcpdump "$TCPDUMP_EXTRA_FLAGS" -e -n -Q in -i "$if_name" \ In lib.sh line 1612: -s 65535 -B 32768 $capuser -w ${capfile[$if_name]} \ ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. ^------------------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: -s 65535 -B 32768 "$capuser" -w "${capfile[$if_name]}" \ In lib.sh line 1632: rm ${capfile[$if_name]} ${capout[$if_name]} ^------------------^ SC2086 (info): Double quote to prevent globbing and word splitting. ^-----------------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: rm "${capfile[$if_name]}" "${capout[$if_name]}" In lib.sh line 1639: tcpdump -e -n -r ${capfile[$if_name]} 2>&1 ^------------------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tcpdump -e -n -r "${capfile[$if_name]}" 2>&1 In lib.sh line 1662: tc qdisc add dev $host2_if ingress ^-------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc qdisc add dev "$host2_if" ingress In lib.sh line 1663: tc filter add dev $host2_if ingress protocol $tc_proto pref 1 handle 101 \ ^-------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter add dev "$host2_if" ingress protocol $tc_proto pref 1 handle 101 \ In lib.sh line 1664: flower ip_proto udp dst_mac $mac action drop ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: flower ip_proto udp dst_mac "$mac" action drop In lib.sh line 1666: $MZ $host1_if $mz_v6arg -c 1 -p 64 -b $mac -A $src_ip -B $ip -t udp "dp=4096,sp=2048" -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 "$host1_if" $mz_v6arg -c 1 -p 64 -b "$mac" -A "$src_ip" -B "$ip" -t udp "dp=4096,sp=2048" -q In lib.sh line 1669: tc -j -s filter show dev $host2_if ingress \ ^-------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc -j -s filter show dev "$host2_if" ingress \ In lib.sh line 1672: if [[ $? -eq 0 ]]; then ^-- SC2181 (style): Check exit code directly with e.g. 'if mycmd;', not indirectly with $?. In lib.sh line 1676: tc filter del dev $host2_if ingress protocol $tc_proto pref 1 handle 101 flower ^-------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter del dev "$host2_if" ingress protocol $tc_proto pref 1 handle 101 flower In lib.sh line 1677: tc qdisc del dev $host2_if ingress ^-------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc qdisc del dev "$host2_if" ingress In lib.sh line 1712: mcast_packet_test $TEST_GROUP_MAC $src $TEST_GROUP $h2 $h1 ^-------------^ 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. ^-^ SC2154 (warning): h2 is referenced but not assigned. ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. ^-^ SC2154 (warning): h1 is referenced but not assigned. ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: mcast_packet_test "$TEST_GROUP_MAC" "$src" "$TEST_GROUP" "$h2" "$h1" In lib.sh line 1714: if [ $should_fwd -eq 1 ]; then ^---------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: if [ "$should_fwd" -eq 1 ]; then In lib.sh line 1728: if [ $is_blocked -eq 1 ]; then ^---------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: if [ "$is_blocked" -eq 1 ]; then In lib.sh line 1753: local vrf_name=$(master_name_get $if_name) ^------^ 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 vrf_name=$(master_name_get "$if_name") In lib.sh line 1758: ip vrf exec $vrf_name \ ^-------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip vrf exec "$vrf_name" \ In lib.sh line 1759: mreceive -g $group -I $if_name > /dev/null 2>&1 & ^----^ SC2086 (info): Double quote to prevent globbing and word splitting. ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: mreceive -g "$group" -I "$if_name" > /dev/null 2>&1 & In lib.sh line 1774: local vrf_name=$(master_name_get $if_name) ^------^ 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 vrf_name=$(master_name_get "$if_name") In lib.sh line 1776: ip vrf exec $vrf_name \ ^-------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip vrf exec "$vrf_name" \ In lib.sh line 1777: msend -g $groups -I $if_name -c 1 > /dev/null 2>&1 ^-----^ SC2086 (info): Double quote to prevent globbing and word splitting. ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: msend -g "$groups" -I "$if_name" -c 1 > /dev/null 2>&1 In lib.sh line 1831: tmpfile=`mktemp /var/run/nexthoptestXXX` ^-- SC2006 (style): Use $(...) notation instead of legacy backticks `...`. Did you mean: tmpfile=$(mktemp /var/run/nexthoptestXXX) In lib.sh line 1832: mpid=`($ip monitor $mtype > $tmpfile & echo $!) 2>/dev/null` ^-- SC2006 (style): Use $(...) notation instead of legacy backticks `...`. ^----^ SC2086 (info): Double quote to prevent globbing and word splitting. ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: mpid=$(($ip monitor "$mtype" > "$tmpfile" & echo $!) 2>/dev/null) In lib.sh line 1845: kill $mpid ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: kill "$mpid" In lib.sh line 1846: local lines=`grep '^\w' $tmpfile | wc -l` ^---^ SC2155 (warning): Declare and assign separately to avoid masking return values. ^---------------------------^ SC2006 (style): Use $(...) notation instead of legacy backticks `...`. ^-----------------^ SC2126 (style): Consider using 'grep -c' instead of 'grep|wc -l'. ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: local lines=$(grep '^\w' "$tmpfile" | wc -l) In lib.sh line 1847: test $lines -eq $el ^----^ SC2086 (info): Double quote to prevent globbing and word splitting. ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: test "$lines" -eq "$el" In lib.sh line 1849: rm -rf $tmpfile ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: rm -rf "$tmpfile" In lib.sh line 1863: local ipmout=$(start_ip_monitor stats "$ip") ^----^ SC2155 (warning): Declare and assign separately to avoid masking return values. In lib.sh line 1864: $ip stats set dev $dev ${type}_stats on ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. ^-----^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: $ip stats set dev "$dev" "${type}"_stats on In lib.sh line 1865: stop_ip_monitor $ipmout 1 "${type}_stats enablement" ^-----^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: stop_ip_monitor "$ipmout" 1 "${type}_stats enablement" In lib.sh line 1868: local ipmout=$(start_ip_monitor stats "$ip") ^----^ SC2155 (warning): Declare and assign separately to avoid masking return values. In lib.sh line 1870: stop_ip_monitor $ipmout 1 "${type}_stats installation" ^-----^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: stop_ip_monitor "$ipmout" 1 "${type}_stats installation" In lib.sh line 1873: local ipmout=$(start_ip_monitor stats "$ip") ^----^ SC2155 (warning): Declare and assign separately to avoid masking return values. In lib.sh line 1875: stop_ip_monitor $ipmout 1 "${type}_stats deinstallation" ^-----^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: stop_ip_monitor "$ipmout" 1 "${type}_stats deinstallation" In lib.sh line 1878: local ipmout=$(start_ip_monitor stats "$ip") ^----^ SC2155 (warning): Declare and assign separately to avoid masking return values. In lib.sh line 1879: $ip stats set dev $dev ${type}_stats off ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. ^-----^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: $ip stats set dev "$dev" "${type}"_stats off In lib.sh line 1880: stop_ip_monitor $ipmout 1 "${type}_stats disablement" ^-----^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: stop_ip_monitor "$ipmout" 1 "${type}_stats disablement" In lib.sh line 1889: printf '%02x:' ${IP//./ } | ^--------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: printf '%02x:' "${IP//./ }" | In lib.sh line 1908: echo $allcol_ip | tr : '\n' | ^--------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: echo "$allcol_ip" | tr : '\n' | In lib.sh line 1926: printf "%04x" $u16 | sed 's/^/000/;s/^.*\(..\)\(..\)$/\1:\2/' ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: printf "%04x" "$u16" | sed 's/^/000/;s/^.*\(..\)\(..\)$/\1:\2/' In lib.sh line 1965: local ckbytes=$(u16_to_bytes $checksum) ^-----^ 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 ckbytes=$(u16_to_bytes "$checksum") In lib.sh line 1967: echo "$payload" | sed "s/CHECKSUM/$ckbytes/g" ^-- SC2001 (style): See if you can use ${variable//search/replace} instead. In lib.sh line 1984: local nsources=$(u16_to_bytes ${#sources[@]}) ^------^ SC2155 (warning): Declare and assign separately to avoid masking return values. In lib.sh line 1988: )"22:"$( : Type - Membership Report ^-- SC2027 (warning): The surrounding quotes actually unquote this. Remove or escape them. In lib.sh line 1989: )"00:"$( : Reserved ^-- SC2027 (warning): The surrounding quotes actually unquote this. Remove or escape them. In lib.sh line 1990: )"CHECKSUM:"$( : Checksum ^-- SC2027 (warning): The surrounding quotes actually unquote this. Remove or escape them. In lib.sh line 1991: )"00:00:"$( : Reserved ^-- SC2027 (warning): The surrounding quotes actually unquote this. Remove or escape them. In lib.sh line 1992: )"00:01:"$( : Number of Group Records ^-- SC2027 (warning): The surrounding quotes actually unquote this. Remove or escape them. In lib.sh line 1993: )"01:"$( : Record Type - IS_IN ^-- SC2027 (warning): The surrounding quotes actually unquote this. Remove or escape them. In lib.sh line 1994: )"00:"$( : Aux Data Len ^-- SC2027 (warning): The surrounding quotes actually unquote this. Remove or escape them. In lib.sh line 1995: )"${nsources}:"$( : Number of Sources ^-- SC2027 (warning): The surrounding quotes actually unquote this. Remove or escape them. In lib.sh line 1996: )"$(ipv4_to_bytes $GRP):"$( : Multicast Address ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. ^-- SC2027 (warning): The surrounding quotes actually unquote this. Remove or escape them. Did you mean: )"$(ipv4_to_bytes "$GRP"):"$( : Multicast Address In lib.sh line 1998: ipv4_to_bytes $src ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ipv4_to_bytes "$src" In lib.sh line 2002: local checksum=$(payload_template_calc_checksum "$igmpv3") ^------^ SC2155 (warning): Declare and assign separately to avoid masking return values. In lib.sh line 2004: payload_template_expand_checksum "$igmpv3" $checksum ^-------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: payload_template_expand_checksum "$igmpv3" "$checksum" In lib.sh line 2011: local payload=$(: ^-----^ SC2155 (warning): Declare and assign separately to avoid masking return values. In lib.sh line 2012: )"17:"$( : Type - Leave Group ^-- SC2027 (warning): The surrounding quotes actually unquote this. Remove or escape them. In lib.sh line 2013: )"00:"$( : Max Resp Time - not meaningful ^-- SC2027 (warning): The surrounding quotes actually unquote this. Remove or escape them. In lib.sh line 2014: )"CHECKSUM:"$( : Checksum ^-- SC2027 (warning): The surrounding quotes actually unquote this. Remove or escape them. In lib.sh line 2015: )"$(ipv4_to_bytes $GRP)"$( : Group Address ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: )"$(ipv4_to_bytes "$GRP")"$( : Group Address In lib.sh line 2017: local checksum=$(payload_template_calc_checksum "$payload") ^------^ SC2155 (warning): Declare and assign separately to avoid masking return values. In lib.sh line 2019: payload_template_expand_checksum "$payload" $checksum ^-------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: payload_template_expand_checksum "$payload" "$checksum" In lib.sh line 2030: local nsources=$(u16_to_bytes ${#sources[@]}) ^------^ SC2155 (warning): Declare and assign separately to avoid masking return values. In lib.sh line 2033: )"3a:"$( : Next Header - ICMPv6 ^-- SC2027 (warning): The surrounding quotes actually unquote this. Remove or escape them. In lib.sh line 2034: )"00:"$( : Hdr Ext Len ^-- SC2027 (warning): The surrounding quotes actually unquote this. Remove or escape them. In lib.sh line 2039: )"8f:"$( : Type - MLDv2 Report ^-- SC2027 (warning): The surrounding quotes actually unquote this. Remove or escape them. In lib.sh line 2040: )"00:"$( : Code ^-- SC2027 (warning): The surrounding quotes actually unquote this. Remove or escape them. In lib.sh line 2041: )"CHECKSUM:"$( : Checksum ^-- SC2027 (warning): The surrounding quotes actually unquote this. Remove or escape them. In lib.sh line 2042: )"00:00:"$( : Reserved ^-- SC2027 (warning): The surrounding quotes actually unquote this. Remove or escape them. In lib.sh line 2043: )"00:01:"$( : Number of Group Records ^-- SC2027 (warning): The surrounding quotes actually unquote this. Remove or escape them. In lib.sh line 2044: )"01:"$( : Record Type - IS_IN ^-- SC2027 (warning): The surrounding quotes actually unquote this. Remove or escape them. In lib.sh line 2045: )"00:"$( : Aux Data Len ^-- SC2027 (warning): The surrounding quotes actually unquote this. Remove or escape them. In lib.sh line 2046: )"${nsources}:"$( : Number of Sources ^-- SC2027 (warning): The surrounding quotes actually unquote this. Remove or escape them. In lib.sh line 2047: )"$(ipv6_to_bytes $GRP):"$( : Multicast address ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. ^-- SC2027 (warning): The surrounding quotes actually unquote this. Remove or escape them. Did you mean: )"$(ipv6_to_bytes "$GRP"):"$( : Multicast address In lib.sh line 2049: ipv6_to_bytes $src ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ipv6_to_bytes "$src" In lib.sh line 2054: local len=$(u16_to_bytes $(payload_template_nbytes $icmpv6)) ^-^ SC2155 (warning): Declare and assign separately to avoid masking return values. ^-- SC2046 (warning): Quote this to prevent word splitting. ^-----^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: local len=$(u16_to_bytes $(payload_template_nbytes "$icmpv6")) In lib.sh line 2055: local sudohdr=$(: ^-----^ SC2155 (warning): Declare and assign separately to avoid masking return values. In lib.sh line 2056: )"$(ipv6_to_bytes $SIP):"$( : SIP ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. ^-- SC2027 (warning): The surrounding quotes actually unquote this. Remove or escape them. Did you mean: )"$(ipv6_to_bytes "$SIP"):"$( : SIP In lib.sh line 2057: )"$(ipv6_to_bytes $GRP):"$( : DIP is multicast address ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. ^-- SC2027 (warning): The surrounding quotes actually unquote this. Remove or escape them. Did you mean: )"$(ipv6_to_bytes "$GRP"):"$( : DIP is multicast address In lib.sh line 2058: )"${len}:"$( : Upper-layer length ^-- SC2027 (warning): The surrounding quotes actually unquote this. Remove or escape them. In lib.sh line 2061: local checksum=$(payload_template_calc_checksum ${sudohdr}${icmpv6}) ^------^ SC2155 (warning): Declare and assign separately to avoid masking return values. ^--------^ SC2086 (info): Double quote to prevent globbing and word splitting. ^-------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: local checksum=$(payload_template_calc_checksum "${sudohdr}""${icmpv6}") In lib.sh line 2063: payload_template_expand_checksum "$hbh$icmpv6" $checksum ^-------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: payload_template_expand_checksum "$hbh$icmpv6" "$checksum" In lib.sh line 2075: )"3a:"$( : Next Header - ICMPv6 ^-- SC2027 (warning): The surrounding quotes actually unquote this. Remove or escape them. In lib.sh line 2076: )"00:"$( : Hdr Ext Len ^-- SC2027 (warning): The surrounding quotes actually unquote this. Remove or escape them. In lib.sh line 2081: )"84:"$( : Type - MLDv1 Done ^-- SC2027 (warning): The surrounding quotes actually unquote this. Remove or escape them. In lib.sh line 2082: )"00:"$( : Code ^-- SC2027 (warning): The surrounding quotes actually unquote this. Remove or escape them. In lib.sh line 2083: )"CHECKSUM:"$( : Checksum ^-- SC2027 (warning): The surrounding quotes actually unquote this. Remove or escape them. In lib.sh line 2084: )"00:00:"$( : Max Resp Delay - not meaningful ^-- SC2027 (warning): The surrounding quotes actually unquote this. Remove or escape them. In lib.sh line 2085: )"00:00:"$( : Reserved ^-- SC2027 (warning): The surrounding quotes actually unquote this. Remove or escape them. In lib.sh line 2086: )"$(ipv6_to_bytes $GRP):"$( : Multicast address ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: )"$(ipv6_to_bytes "$GRP"):"$( : Multicast address In lib.sh line 2089: local len=$(u16_to_bytes $(payload_template_nbytes $icmpv6)) ^-^ SC2155 (warning): Declare and assign separately to avoid masking return values. ^-- SC2046 (warning): Quote this to prevent word splitting. ^-----^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: local len=$(u16_to_bytes $(payload_template_nbytes "$icmpv6")) In lib.sh line 2090: local sudohdr=$(: ^-----^ SC2155 (warning): Declare and assign separately to avoid masking return values. In lib.sh line 2091: )"$(ipv6_to_bytes $SIP):"$( : SIP ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. ^-- SC2027 (warning): The surrounding quotes actually unquote this. Remove or escape them. Did you mean: )"$(ipv6_to_bytes "$SIP"):"$( : SIP In lib.sh line 2092: )"$(ipv6_to_bytes $GRP):"$( : DIP is multicast address ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. ^-- SC2027 (warning): The surrounding quotes actually unquote this. Remove or escape them. Did you mean: )"$(ipv6_to_bytes "$GRP"):"$( : DIP is multicast address In lib.sh line 2093: )"${len}:"$( : Upper-layer length ^-- SC2027 (warning): The surrounding quotes actually unquote this. Remove or escape them. In lib.sh line 2096: local checksum=$(payload_template_calc_checksum ${sudohdr}${icmpv6}) ^------^ SC2155 (warning): Declare and assign separately to avoid masking return values. ^--------^ SC2086 (info): Double quote to prevent globbing and word splitting. ^-------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: local checksum=$(payload_template_calc_checksum "${sudohdr}""${icmpv6}") In lib.sh line 2098: payload_template_expand_checksum "$hbh$icmpv6" $checksum ^-------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: payload_template_expand_checksum "$hbh$icmpv6" "$checksum" In lib.sh line 2127: log_test_skip $src:$caller ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. ^-----^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: log_test_skip "$src":"$caller" In lib.sh line 2128: exit $EXIT_STATUS ^----------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: exit "$EXIT_STATUS" In lib.sh line 2145: local mac_addr=$(mac_get $dev) ^------^ 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 mac_addr=$(mac_get "$dev") In lib.sh line 2146: local tmp=$(ether_addr_to_u64 $mac_addr) ^-^ 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 tmp=$(ether_addr_to_u64 "$mac_addr") In lib.sh line 2149: ip link set $dev up ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link set "$dev" up In lib.sh line 2150: ip link add link $dev name macvlan-tmp type macvlan mode private ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link add link "$dev" name macvlan-tmp type macvlan mode private In lib.sh line 2151: ip link set macvlan-tmp address $(u64_to_ether_addr $((tmp + 1))) ^-- SC2046 (warning): Quote this to prevent word splitting. In lib.sh line 2154: promisc=$(ip -j -d link show dev $dev | jq -r '.[].promiscuity') ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: promisc=$(ip -j -d link show dev "$dev" | jq -r '.[].promiscuity') For more information: https://www.shellcheck.net/wiki/SC2068 -- Double quote array expansions to ... https://www.shellcheck.net/wiki/SC2145 -- Argument mixes string and array. ... https://www.shellcheck.net/wiki/SC2027 -- The surrounding quotes actually u... Checking tools/testing/selftests/net/forwarding/mirror_gre_bridge_1q_lag.sh - ff65a89453ece274b95f813f7a38af510b609241bdbb4e7989330f864d2451dd In mirror_gre_bridge_1q_lag.sh line 58: require_command $ARPING ^-----^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: require_command "$ARPING" In mirror_gre_bridge_1q_lag.sh line 67: vrf_create $vrf_name ^-------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: vrf_create "$vrf_name" In mirror_gre_bridge_1q_lag.sh line 68: ip link set dev $vrf_name up ^-------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link set dev "$vrf_name" up In mirror_gre_bridge_1q_lag.sh line 69: vlan_create $if_name $vid $vrf_name "${ips[@]}" ^------^ 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: vlan_create "$if_name" "$vid" "$vrf_name" "${ips[@]}" In mirror_gre_bridge_1q_lag.sh line 78: vlan_destroy $if_name $vid ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: vlan_destroy "$if_name" "$vid" In mirror_gre_bridge_1q_lag.sh line 79: ip link set dev $vrf_name down ^-------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link set dev "$vrf_name" down In mirror_gre_bridge_1q_lag.sh line 80: vrf_destroy $vrf_name ^-------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: vrf_destroy "$vrf_name" In mirror_gre_bridge_1q_lag.sh line 85: vlan_host_create $h1 333 vrf-h1 192.0.2.1/28 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: vlan_host_create "$h1" 333 vrf-h1 192.0.2.1/28 In mirror_gre_bridge_1q_lag.sh line 92: vlan_host_destroy $h1 333 vrf-h1 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: vlan_host_destroy "$h1" 333 vrf-h1 In mirror_gre_bridge_1q_lag.sh line 97: vlan_host_create $h1 555 vrf-h2 192.0.2.18/28 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: vlan_host_create "$h1" 555 vrf-h2 192.0.2.18/28 In mirror_gre_bridge_1q_lag.sh line 104: vlan_host_destroy $h1 555 vrf-h2 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: vlan_host_destroy "$h1" 555 vrf-h2 In mirror_gre_bridge_1q_lag.sh line 109: simple_if_init $h3 192.0.2.130/28 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: simple_if_init "$h3" 192.0.2.130/28 In mirror_gre_bridge_1q_lag.sh line 110: tc qdisc add dev $h3 clsact ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc qdisc add dev "$h3" clsact In mirror_gre_bridge_1q_lag.sh line 115: tc qdisc del dev $h3 clsact ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc qdisc del dev "$h3" clsact In mirror_gre_bridge_1q_lag.sh line 116: simple_if_fini $h3 192.0.2.130/28 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: simple_if_fini "$h3" 192.0.2.130/28 In mirror_gre_bridge_1q_lag.sh line 121: simple_if_init $h4 192.0.2.130/28 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: simple_if_init "$h4" 192.0.2.130/28 In mirror_gre_bridge_1q_lag.sh line 122: tc qdisc add dev $h4 clsact ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc qdisc add dev "$h4" clsact In mirror_gre_bridge_1q_lag.sh line 127: tc qdisc del dev $h4 clsact ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc qdisc del dev "$h4" clsact In mirror_gre_bridge_1q_lag.sh line 128: simple_if_fini $h4 192.0.2.130/28 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: simple_if_fini "$h4" 192.0.2.130/28 In mirror_gre_bridge_1q_lag.sh line 133: 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 mirror_gre_bridge_1q_lag.sh line 134: tc qdisc add dev $swp1 clsact ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc qdisc add dev "$swp1" clsact In mirror_gre_bridge_1q_lag.sh line 135: vlan_create $swp1 333 "" 192.0.2.2/28 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: vlan_create "$swp1" 333 "" 192.0.2.2/28 In mirror_gre_bridge_1q_lag.sh line 136: vlan_create $swp1 555 "" 192.0.2.17/28 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: vlan_create "$swp1" 555 "" 192.0.2.17/28 In mirror_gre_bridge_1q_lag.sh line 141: ip link set dev $swp3 up ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link set dev "$swp3" up In mirror_gre_bridge_1q_lag.sh line 142: ip link set dev $swp4 up ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link set dev "$swp4" up In mirror_gre_bridge_1q_lag.sh line 144: ip link add name br1 address $(mac_get $swp3) \ ^--------------^ SC2046 (warning): Quote this to prevent word splitting. ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link add name br1 address $(mac_get "$swp3") \ In mirror_gre_bridge_1q_lag.sh line 147: team_create lag loadbalance $swp3 $swp4 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: team_create lag loadbalance "$swp3" "$swp4" In mirror_gre_bridge_1q_lag.sh line 165: ip link set dev $swp4 down ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link set dev "$swp4" down In mirror_gre_bridge_1q_lag.sh line 166: ip link set dev $swp3 down ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link set dev "$swp3" down In mirror_gre_bridge_1q_lag.sh line 170: vlan_destroy $swp1 555 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: vlan_destroy "$swp1" 555 In mirror_gre_bridge_1q_lag.sh line 171: vlan_destroy $swp1 333 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: vlan_destroy "$swp1" 333 In mirror_gre_bridge_1q_lag.sh line 172: tc qdisc del dev $swp1 clsact ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc qdisc del dev "$swp1" clsact In mirror_gre_bridge_1q_lag.sh line 173: 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 mirror_gre_bridge_1q_lag.sh line 189: ip link set dev $h1 up ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link set dev "$h1" up In mirror_gre_bridge_1q_lag.sh line 198: trap_install $h3 ingress ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: trap_install "$h3" ingress In mirror_gre_bridge_1q_lag.sh line 199: trap_install $h4 ingress ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: trap_install "$h4" ingress In mirror_gre_bridge_1q_lag.sh line 206: trap_uninstall $h4 ingress ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: trap_uninstall "$h4" ingress In mirror_gre_bridge_1q_lag.sh line 207: trap_uninstall $h3 ingress ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: trap_uninstall "$h3" ingress In mirror_gre_bridge_1q_lag.sh line 216: ip link set dev $h1 down ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link set dev "$h1" down In mirror_gre_bridge_1q_lag.sh line 230: tc filter add dev $swp1 ingress pref 999 \ ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter add dev "$swp1" ingress pref 999 \ In mirror_gre_bridge_1q_lag.sh line 233: mirror_install $swp1 ingress gt4 \ ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: mirror_install "$swp1" ingress gt4 \ In mirror_gre_bridge_1q_lag.sh line 237: ip link set dev $down_dev down ^-------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link set dev "$down_dev" down In mirror_gre_bridge_1q_lag.sh line 239: setup_wait_dev $up_dev ^-----^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: setup_wait_dev "$up_dev" In mirror_gre_bridge_1q_lag.sh line 240: setup_wait_dev $host_dev ^-------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: setup_wait_dev "$host_dev" In mirror_gre_bridge_1q_lag.sh line 243: mirror_test vrf-h1 192.0.2.1 192.0.2.18 $host_dev 1 ">= 10" ^-------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: mirror_test vrf-h1 192.0.2.1 192.0.2.18 "$host_dev" 1 ">= 10" In mirror_gre_bridge_1q_lag.sh line 246: ip link set dev $up_dev down ^-----^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link set dev "$up_dev" down In mirror_gre_bridge_1q_lag.sh line 248: mirror_test vrf-h1 192.0.2.1 192.0.2.18 $h3 1 0 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: mirror_test vrf-h1 192.0.2.1 192.0.2.18 "$h3" 1 0 In mirror_gre_bridge_1q_lag.sh line 249: mirror_test vrf-h1 192.0.2.1 192.0.2.18 $h4 1 0 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: mirror_test vrf-h1 192.0.2.1 192.0.2.18 "$h4" 1 0 In mirror_gre_bridge_1q_lag.sh line 251: ip link set dev $up_dev up ^-----^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link set dev "$up_dev" up In mirror_gre_bridge_1q_lag.sh line 252: ip link set dev $down_dev up ^-------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link set dev "$down_dev" up In mirror_gre_bridge_1q_lag.sh line 253: mirror_uninstall $swp1 ingress ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: mirror_uninstall "$swp1" ingress In mirror_gre_bridge_1q_lag.sh line 254: tc filter del dev $swp1 ingress pref 999 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter del dev "$swp1" ingress pref 999 In mirror_gre_bridge_1q_lag.sh line 261: test_lag_slave $h3 $swp3 $swp4 "mirror to gretap: LAG first slave" ^-^ 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_lag_slave "$h3" "$swp3" "$swp4" "mirror to gretap: LAG first slave" In mirror_gre_bridge_1q_lag.sh line 266: test_lag_slave $h4 $swp4 $swp3 "mirror to gretap: LAG second slave" ^-^ 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_lag_slave "$h4" "$swp4" "$swp3" "mirror to gretap: LAG second slave" In mirror_gre_bridge_1q_lag.sh line 276: 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/SC2046 -- Quote this to prevent word splitt... https://www.shellcheck.net/wiki/SC2086 -- Double quote to prevent globbing ... Checking tools/testing/selftests/net/forwarding/mirror_gre_vlan_bridge_1q.sh - 042764c1c0eeacf1ebf9e1e8dd960a9f50b4d0b2f9ec89cb7415be653bf4b7d3 In mirror_gre_vlan_bridge_1q.sh line 64: require_command $ARPING ^-----^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: require_command "$ARPING" In mirror_gre_vlan_bridge_1q.sh line 71: ip addr $add_del dev $dev 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: ip addr "$add_del" dev "$dev" 192.0.2.130/28 In mirror_gre_vlan_bridge_1q.sh line 72: ip addr $add_del dev $dev 2001:db8:2::2/64 ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip addr "$add_del" dev "$dev" 2001:db8:2::2/64 In mirror_gre_vlan_bridge_1q.sh line 90: sysctl_set net.ipv4.conf.$h3.rp_filter 0 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: sysctl_set net.ipv4.conf."$h3".rp_filter 0 In mirror_gre_vlan_bridge_1q.sh line 100: vlan_create $h3 555 v$h3 ^-^ 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 "$h3" 555 v"$h3" In mirror_gre_vlan_bridge_1q.sh line 101: h3_addr_add_del add $h3.555 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: h3_addr_add_del add "$h3".555 In mirror_gre_vlan_bridge_1q.sh line 103: ip link set dev $swp3 master br1 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link set dev "$swp3" master br1 In mirror_gre_vlan_bridge_1q.sh line 104: bridge vlan add dev $swp3 vid 555 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: bridge vlan add dev "$swp3" vid 555 In mirror_gre_vlan_bridge_1q.sh line 105: bridge vlan add dev $swp2 vid 555 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: bridge vlan add dev "$swp2" vid 555 In mirror_gre_vlan_bridge_1q.sh line 112: 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 mirror_gre_vlan_bridge_1q.sh line 113: ip link set dev $swp3 nomaster ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link set dev "$swp3" nomaster In mirror_gre_vlan_bridge_1q.sh line 115: h3_addr_add_del del $h3.555 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: h3_addr_add_del del "$h3".555 In mirror_gre_vlan_bridge_1q.sh line 116: vlan_destroy $h3 555 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: vlan_destroy "$h3" 555 In mirror_gre_vlan_bridge_1q.sh line 122: sysctl_restore net.ipv4.conf.$h3.rp_filter ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: sysctl_restore net.ipv4.conf."$h3".rp_filter In mirror_gre_vlan_bridge_1q.sh line 132: full_test_span_gre_dir_vlan $tundev ingress "$vlan_match" 8 0 "$what" ^-----^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: full_test_span_gre_dir_vlan "$tundev" ingress "$vlan_match" 8 0 "$what" In mirror_gre_vlan_bridge_1q.sh line 133: full_test_span_gre_dir_vlan $tundev egress "$vlan_match" 0 8 "$what" ^-----^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: full_test_span_gre_dir_vlan "$tundev" egress "$vlan_match" 0 8 "$what" In mirror_gre_vlan_bridge_1q.sh line 156: mirror_install $swp1 ingress $tundev "matchall" ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. ^-----^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: mirror_install "$swp1" ingress "$tundev" "matchall" In mirror_gre_vlan_bridge_1q.sh line 157: quick_test_span_gre_dir $tundev ^-----^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: quick_test_span_gre_dir "$tundev" In mirror_gre_vlan_bridge_1q.sh line 162: fail_test_span_gre_dir $tundev ^-----^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: fail_test_span_gre_dir "$tundev" In mirror_gre_vlan_bridge_1q.sh line 166: quick_test_span_gre_dir $tundev ^-----^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: quick_test_span_gre_dir "$tundev" In mirror_gre_vlan_bridge_1q.sh line 168: mirror_uninstall $swp1 ingress ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: mirror_uninstall "$swp1" ingress In mirror_gre_vlan_bridge_1q.sh line 190: mirror_install $swp1 ingress $tundev "matchall" ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. ^-----^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: mirror_install "$swp1" ingress "$tundev" "matchall" In mirror_gre_vlan_bridge_1q.sh line 191: quick_test_span_gre_dir $tundev ^-----^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: quick_test_span_gre_dir "$tundev" In mirror_gre_vlan_bridge_1q.sh line 193: bridge vlan del dev $swp3 vid 555 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: bridge vlan del dev "$swp3" vid 555 In mirror_gre_vlan_bridge_1q.sh line 195: fail_test_span_gre_dir $tundev ^-----^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: fail_test_span_gre_dir "$tundev" In mirror_gre_vlan_bridge_1q.sh line 197: bridge vlan add dev $swp3 vid 555 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: bridge vlan add dev "$swp3" vid 555 In mirror_gre_vlan_bridge_1q.sh line 201: quick_test_span_gre_dir $tundev ^-----^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: quick_test_span_gre_dir "$tundev" In mirror_gre_vlan_bridge_1q.sh line 203: mirror_uninstall $swp1 ingress ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: mirror_uninstall "$swp1" ingress In mirror_gre_vlan_bridge_1q.sh line 226: mirror_install $swp1 ingress $tundev "matchall" ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. ^-----^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: mirror_install "$swp1" ingress "$tundev" "matchall" In mirror_gre_vlan_bridge_1q.sh line 228: quick_test_span_gre_dir $tundev ^-----^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: quick_test_span_gre_dir "$tundev" In mirror_gre_vlan_bridge_1q.sh line 229: quick_test_span_vlan_dir $h3 555 "$ul_proto" ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: quick_test_span_vlan_dir "$h3" 555 "$ul_proto" In mirror_gre_vlan_bridge_1q.sh line 231: h3_addr_add_del del $h3.555 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: h3_addr_add_del del "$h3".555 In mirror_gre_vlan_bridge_1q.sh line 232: bridge vlan add dev $swp3 vid 555 pvid untagged ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: bridge vlan add dev "$swp3" vid 555 pvid untagged In mirror_gre_vlan_bridge_1q.sh line 233: h3_addr_add_del add $h3 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: h3_addr_add_del add "$h3" In mirror_gre_vlan_bridge_1q.sh line 236: quick_test_span_gre_dir $tundev ^-----^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: quick_test_span_gre_dir "$tundev" In mirror_gre_vlan_bridge_1q.sh line 237: fail_test_span_vlan_dir $h3 555 "$ul_proto" ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: fail_test_span_vlan_dir "$h3" 555 "$ul_proto" In mirror_gre_vlan_bridge_1q.sh line 239: h3_addr_add_del del $h3 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: h3_addr_add_del del "$h3" In mirror_gre_vlan_bridge_1q.sh line 240: bridge vlan add dev $swp3 vid 555 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: bridge vlan add dev "$swp3" vid 555 In mirror_gre_vlan_bridge_1q.sh line 241: h3_addr_add_del add $h3.555 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: h3_addr_add_del add "$h3".555 In mirror_gre_vlan_bridge_1q.sh line 244: quick_test_span_gre_dir $tundev ^-----^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: quick_test_span_gre_dir "$tundev" In mirror_gre_vlan_bridge_1q.sh line 245: quick_test_span_vlan_dir $h3 555 "$ul_proto" ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: quick_test_span_vlan_dir "$h3" 555 "$ul_proto" In mirror_gre_vlan_bridge_1q.sh line 247: mirror_uninstall $swp1 ingress ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: mirror_uninstall "$swp1" ingress In mirror_gre_vlan_bridge_1q.sh line 266: local h3mac=$(mac_get $h3) ^---^ 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 h3mac=$(mac_get "$h3") In mirror_gre_vlan_bridge_1q.sh line 270: mirror_install $swp1 ingress $tundev "matchall" ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. ^-----^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: mirror_install "$swp1" ingress "$tundev" "matchall" In mirror_gre_vlan_bridge_1q.sh line 271: quick_test_span_gre_dir $tundev ^-----^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: quick_test_span_gre_dir "$tundev" In mirror_gre_vlan_bridge_1q.sh line 274: bridge fdb del dev $swp3 $h3mac vlan 555 master 2>/dev/null ^---^ 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 dev "$swp3" "$h3mac" vlan 555 master 2>/dev/null In mirror_gre_vlan_bridge_1q.sh line 275: bridge fdb add dev $swp2 $h3mac vlan 555 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 add dev "$swp2" "$h3mac" vlan 555 master static In mirror_gre_vlan_bridge_1q.sh line 277: fail_test_span_gre_dir $tundev ^-----^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: fail_test_span_gre_dir "$tundev" In mirror_gre_vlan_bridge_1q.sh line 279: if ! bridge fdb sh dev $swp2 vlan 555 master \ ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: if ! bridge fdb sh dev "$swp2" vlan 555 master \ In mirror_gre_vlan_bridge_1q.sh line 280: | grep -q $h3mac; then ^----^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: | grep -q "$h3mac"; then In mirror_gre_vlan_bridge_1q.sh line 291: bridge fdb del dev $swp2 $h3mac vlan 555 master 2>/dev/null ^---^ 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 dev "$swp2" "$h3mac" vlan 555 master 2>/dev/null In mirror_gre_vlan_bridge_1q.sh line 295: quick_test_span_gre_dir $tundev ^-----^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: quick_test_span_gre_dir "$tundev" In mirror_gre_vlan_bridge_1q.sh line 297: mirror_uninstall $swp1 ingress ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: mirror_uninstall "$swp1" ingress In mirror_gre_vlan_bridge_1q.sh line 314: full_test_span_gre_stp gt4 $swp3 "mirror to gretap" ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: full_test_span_gre_stp gt4 "$swp3" "mirror to gretap" In mirror_gre_vlan_bridge_1q.sh line 319: full_test_span_gre_stp gt6 $swp3 "mirror to ip6gretap" ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: full_test_span_gre_stp gt6 "$swp3" "mirror to ip6gretap" In mirror_gre_vlan_bridge_1q.sh line 329: 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 ... Checking tools/testing/selftests/net/forwarding/mirror_lib.sh - d5af30308cabf9c035978f4ed4f20b60008ea859b5dceb1d85418bc5845bdfdd In mirror_lib.sh line 1: # SPDX-License-Identifier: GPL-2.0 ^-- SC2148 (error): Tips depend on target shell and yours is unknown. Add a shebang or a 'shell' directive. In mirror_lib.sh line 10: tc filter add dev $from_dev $direction \ ^-------^ 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 "$from_dev" "$direction" \ In mirror_lib.sh line 11: pref 1000 $filter \ ^-----^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: pref 1000 "$filter" \ In mirror_lib.sh line 12: action mirred egress mirror dev $to_dev ^-----^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: action mirred egress mirror dev "$to_dev" In mirror_lib.sh line 20: tc filter del dev $swp1 $direction pref 1000 ^---^ SC2154 (warning): swp1 is referenced but not assigned. ^---^ 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 "$swp1" "$direction" pref 1000 In mirror_lib.sh line 39: if is_ipv6 $dip; then ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: if is_ipv6 "$dip"; then In mirror_lib.sh line 51: local t0=$(tc_rule_stats_get $dev $pref) ^-- SC2155 (warning): Declare and assign separately to avoid masking return values. ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: local t0=$(tc_rule_stats_get "$dev" "$pref") In mirror_lib.sh line 52: $MZ $proto $vrf_name ${sip:+-A $sip} -B $dip -a own -b bc -q \ ^-------^ SC2086 (info): Double quote to prevent globbing and word splitting. ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: $MZ $proto "$vrf_name" ${sip:+-A $sip} -B "$dip" -a own -b bc -q \ In mirror_lib.sh line 53: -c 10 -d 100msec -t $type ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: -c 10 -d 100msec -t "$type" In mirror_lib.sh line 55: local t1=$(tc_rule_stats_get $dev $pref) ^-- SC2155 (warning): Declare and assign separately to avoid masking return values. ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: local t1=$(tc_rule_stats_get "$dev" "$pref") In mirror_lib.sh line 57: ((delta $expect)) ^-- SC1105 (error): Shells disambiguate (( differently or not at all. For subshell, add spaces around ( . For ((, fix parsing errors. ^-----^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ((delta "$expect")) In mirror_lib.sh line 70: icmp_capture_install $dev "type $forward_type" ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: icmp_capture_install "$dev" "type $forward_type" In mirror_lib.sh line 71: mirror_test v$h1 $ip1 $ip2 $dev 100 $expect ^-^ SC2154 (warning): h1 is referenced but not assigned. ^-^ 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: mirror_test v"$h1" "$ip1" "$ip2" "$dev" 100 "$expect" In mirror_lib.sh line 72: icmp_capture_uninstall $dev ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: icmp_capture_uninstall "$dev" In mirror_lib.sh line 74: icmp_capture_install $dev "type $backward_type" ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: icmp_capture_install "$dev" "type $backward_type" In mirror_lib.sh line 75: mirror_test v$h2 $ip2 $ip1 $dev 100 $expect ^-^ SC2154 (warning): h2 is referenced but not assigned. ^-^ 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: mirror_test v"$h2" "$ip2" "$ip1" "$dev" 100 "$expect" In mirror_lib.sh line 76: icmp_capture_uninstall $dev ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: icmp_capture_uninstall "$dev" In mirror_lib.sh line 102: icmp_capture_install $dev "type $forward_type" ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: icmp_capture_install "$dev" "type $forward_type" In mirror_lib.sh line 103: mirror_test v$h1 $ip1 $ip2 $dev 100 10 ^-^ 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: mirror_test v"$h1" "$ip1" "$ip2" "$dev" 100 10 In mirror_lib.sh line 104: icmp_capture_uninstall $dev ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: icmp_capture_uninstall "$dev" In mirror_lib.sh line 106: icmp_capture_install $dev "type $backward_type" ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: icmp_capture_install "$dev" "type $backward_type" In mirror_lib.sh line 107: mirror_test v$h2 $ip2 $ip1 $dev 100 10 ^-^ 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: mirror_test v"$h2" "$ip2" "$ip1" "$dev" 100 10 In mirror_lib.sh line 108: icmp_capture_uninstall $dev ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: icmp_capture_uninstall "$dev" In mirror_lib.sh line 133: vlan_capture_install $dev "skip_hw vlan_id $vid vlan_ethtype $ul_proto" ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: vlan_capture_install "$dev" "skip_hw vlan_id $vid vlan_ethtype $ul_proto" In mirror_lib.sh line 134: mirror_test v$h1 $ip1 $ip2 $dev 100 "$expect" ^-^ 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: mirror_test v"$h1" "$ip1" "$ip2" "$dev" 100 "$expect" In mirror_lib.sh line 135: mirror_test v$h2 $ip2 $ip1 $dev 100 "$expect" ^-^ 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: mirror_test v"$h2" "$ip2" "$ip1" "$dev" 100 "$expect" In mirror_lib.sh line 136: vlan_capture_uninstall $dev ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: vlan_capture_uninstall "$dev" For more information: https://www.shellcheck.net/wiki/SC1105 -- Shells disambiguate (( differentl... https://www.shellcheck.net/wiki/SC2148 -- Tips depend on target shell and y... https://www.shellcheck.net/wiki/SC2154 -- h1 is referenced but not assigned. Checking tools/testing/selftests/net/forwarding/pedit_dsfield.sh - 563dba60b8bf8d62706a1afeec5a0ef25c1178af02b369b27a3fb99f5a908302 In pedit_dsfield.sh line 37: : ${HIT_TIMEOUT:=2000} # ms ^------------------^ SC2223 (info): This default assignment may cause DoS due to globbing. Quote it. In pedit_dsfield.sh line 41: 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 pedit_dsfield.sh line 46: 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 pedit_dsfield.sh line 51: 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 pedit_dsfield.sh line 52: tc qdisc add dev $h2 clsact ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc qdisc add dev "$h2" clsact In pedit_dsfield.sh line 57: tc qdisc del dev $h2 clsact ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc qdisc del dev "$h2" clsact In pedit_dsfield.sh line 58: 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 pedit_dsfield.sh line 66: 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 pedit_dsfield.sh line 67: 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 pedit_dsfield.sh line 68: 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 pedit_dsfield.sh line 69: 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 pedit_dsfield.sh line 71: tc qdisc add dev $swp1 clsact ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc qdisc add dev "$swp1" clsact In pedit_dsfield.sh line 72: 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 pedit_dsfield.sh line 77: 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 pedit_dsfield.sh line 78: tc qdisc del dev $swp1 clsact ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc qdisc del dev "$swp1" clsact In pedit_dsfield.sh line 80: 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 pedit_dsfield.sh line 81: 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 pedit_dsfield.sh line 82: 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 pedit_dsfield.sh line 83: 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 pedit_dsfield.sh line 95: h2mac=$(mac_get $h2) ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: h2mac=$(mac_get "$h2") In pedit_dsfield.sh line 115: ping_test $h1 192.0.2.2 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ping_test "$h1" 192.0.2.2 In pedit_dsfield.sh line 120: ping6_test $h1 2001:db8:1::2 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ping6_test "$h1" 2001:db8:1::2 In pedit_dsfield.sh line 133: $MZ $mz_flags $h1 -c 10 -d 20msec -p 100 \ ^-------^ SC2086 (info): Double quote to prevent globbing and word splitting. ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: $MZ "$mz_flags" "$h1" -c 10 -d 20msec -p 100 \ In pedit_dsfield.sh line 134: -a own -b $h2mac -q -t tcp tos=0x7d,sp=54321,dp=12345 ^----^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: -a own -b "$h2mac" -q -t tcp tos=0x7d,sp=54321,dp=12345 In pedit_dsfield.sh line 155: local saddr=$1; shift ^---^ SC2034 (warning): saddr appears unused. Verify use (or export if used externally). In pedit_dsfield.sh line 156: local daddr=$1; shift ^---^ SC2034 (warning): daddr appears unused. Verify use (or export if used externally). In pedit_dsfield.sh line 158: tc filter add $pedit_locus handle 101 pref 1 \ ^----------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter add "$pedit_locus" handle 101 pref 1 \ In pedit_dsfield.sh line 159: flower action pedit ex munge $pedit_action ^-----------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: flower action pedit ex munge "$pedit_action" In pedit_dsfield.sh line 160: tc filter add dev $h2 ingress handle 101 pref 1 prot $match_prot \ ^-^ 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 "$h2" ingress handle 101 pref 1 prot "$match_prot" \ In pedit_dsfield.sh line 161: flower skip_hw $match_flower action pass ^-----------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: flower skip_hw "$match_flower" action pass In pedit_dsfield.sh line 165: tc filter del dev $h2 ingress pref 1 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter del dev "$h2" ingress pref 1 In pedit_dsfield.sh line 166: tc filter del $pedit_locus pref 1 ^----------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter del "$pedit_locus" pref 1 In pedit_dsfield.sh line 215: ip "ip_tos $((124 | $ecn))" \ ^--^ SC2004 (style): $/${} is unnecessary on arithmetic variables. In pedit_dsfield.sh line 230: tc filter add $locus handle 101 pref 1 \ ^----^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter add "$locus" handle 101 pref 1 \ In pedit_dsfield.sh line 233: tc filter add dev $h2 ingress handle 101 pref 1 prot ip \ ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter add dev "$h2" ingress handle 101 pref 1 prot ip \ In pedit_dsfield.sh line 239: tc filter del dev $h2 ingress pref 1 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter del dev "$h2" ingress pref 1 In pedit_dsfield.sh line 240: tc filter del $locus pref 1 ^----^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter del "$locus" pref 1 In pedit_dsfield.sh line 295: ipv6 "ip_tos $((124 | $ecn))" \ ^--^ SC2004 (style): $/${} is unnecessary on arithmetic variables. In pedit_dsfield.sh line 313: 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/SC2034 -- daddr appears unused. Verify use ... https://www.shellcheck.net/wiki/SC2086 -- Double quote to prevent globbing ... https://www.shellcheck.net/wiki/SC2223 -- This default assignment may cause... Checking tools/testing/selftests/net/forwarding/pedit_ip.sh - 219deca691cb868dc6604533eaaada367a8ccb70860c5a243deb100fc016a49b In pedit_ip.sh line 36: 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 pedit_ip.sh line 41: 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 pedit_ip.sh line 46: 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 pedit_ip.sh line 47: tc qdisc add dev $h2 clsact ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc qdisc add dev "$h2" clsact In pedit_ip.sh line 52: tc qdisc del dev $h2 clsact ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc qdisc del dev "$h2" clsact In pedit_ip.sh line 53: 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 pedit_ip.sh line 59: 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 pedit_ip.sh line 60: 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 pedit_ip.sh line 61: 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 pedit_ip.sh line 62: 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 pedit_ip.sh line 64: tc qdisc add dev $swp1 clsact ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc qdisc add dev "$swp1" clsact In pedit_ip.sh line 65: 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 pedit_ip.sh line 70: 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 pedit_ip.sh line 71: tc qdisc del dev $swp1 clsact ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc qdisc del dev "$swp1" clsact In pedit_ip.sh line 73: 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 pedit_ip.sh line 74: 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 pedit_ip.sh line 75: 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 pedit_ip.sh line 76: 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 pedit_ip.sh line 88: h2mac=$(mac_get $h2) ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: h2mac=$(mac_get "$h2") In pedit_ip.sh line 108: ping_test $h1 192.0.2.2 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ping_test "$h1" 192.0.2.2 In pedit_ip.sh line 113: ping6_test $h1 2001:db8:1::2 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ping6_test "$h1" 2001:db8:1::2 In pedit_ip.sh line 124: tc filter add $pedit_locus handle 101 pref 1 \ ^----------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter add "$pedit_locus" handle 101 pref 1 \ In pedit_ip.sh line 125: flower action pedit ex munge $pedit_action ^-----------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: flower action pedit ex munge "$pedit_action" In pedit_ip.sh line 126: tc filter add dev $h2 ingress handle 101 pref 1 prot $match_prot \ ^-^ 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 "$h2" ingress handle 101 pref 1 prot "$match_prot" \ In pedit_ip.sh line 127: flower skip_hw $match_flower action pass ^-----------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: flower skip_hw "$match_flower" action pass In pedit_ip.sh line 131: $MZ $mz_flags $h1 -c 10 -d 20msec -p 100 -a own -b $h2mac -q -t ip ^-------^ 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 "$mz_flags" "$h1" -c 10 -d 20msec -p 100 -a own -b "$h2mac" -q -t ip In pedit_ip.sh line 144: tc filter del dev $h2 ingress pref 1 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter del dev "$h2" ingress pref 1 In pedit_ip.sh line 145: tc filter del $pedit_locus pref 1 ^----------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter del "$pedit_locus" pref 1 In pedit_ip.sh line 201: 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 ... Checking tools/testing/selftests/net/forwarding/pedit_l4port.sh - 5606a64d92232a41608520d237a4edd32b2354fc63e594bf74e25ac047f6b49f In pedit_l4port.sh line 33: : ${HIT_TIMEOUT:=2000} # ms ^------------------^ SC2223 (info): This default assignment may cause DoS due to globbing. Quote it. In pedit_l4port.sh line 37: 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 pedit_l4port.sh line 42: 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 pedit_l4port.sh line 47: 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 pedit_l4port.sh line 48: tc qdisc add dev $h2 clsact ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc qdisc add dev "$h2" clsact In pedit_l4port.sh line 53: tc qdisc del dev $h2 clsact ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc qdisc del dev "$h2" clsact In pedit_l4port.sh line 54: 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 pedit_l4port.sh line 60: 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 pedit_l4port.sh line 61: 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 pedit_l4port.sh line 62: 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 pedit_l4port.sh line 63: 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 pedit_l4port.sh line 65: tc qdisc add dev $swp1 clsact ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc qdisc add dev "$swp1" clsact In pedit_l4port.sh line 66: 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 pedit_l4port.sh line 71: 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 pedit_l4port.sh line 72: tc qdisc del dev $swp1 clsact ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc qdisc del dev "$swp1" clsact In pedit_l4port.sh line 74: 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 pedit_l4port.sh line 75: 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 pedit_l4port.sh line 76: 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 pedit_l4port.sh line 77: 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 pedit_l4port.sh line 89: h2mac=$(mac_get $h2) ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: h2mac=$(mac_get "$h2") In pedit_l4port.sh line 109: ping_test $h1 192.0.2.2 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ping_test "$h1" 192.0.2.2 In pedit_l4port.sh line 114: ping6_test $h1 2001:db8:1::2 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ping6_test "$h1" 2001:db8:1::2 In pedit_l4port.sh line 125: local saddr=$1; shift ^---^ SC2034 (warning): saddr appears unused. Verify use (or export if used externally). In pedit_l4port.sh line 126: local daddr=$1; shift ^---^ SC2034 (warning): daddr appears unused. Verify use (or export if used externally). In pedit_l4port.sh line 128: tc filter add $pedit_locus handle 101 pref 1 \ ^----------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter add "$pedit_locus" handle 101 pref 1 \ In pedit_l4port.sh line 129: flower action pedit ex munge $pedit_action ^-----------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: flower action pedit ex munge "$pedit_action" In pedit_l4port.sh line 130: tc filter add dev $h2 ingress handle 101 pref 1 prot $match_prot \ ^-^ 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 "$h2" ingress handle 101 pref 1 prot "$match_prot" \ In pedit_l4port.sh line 131: flower skip_hw $match_flower action pass ^-----------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: flower skip_hw "$match_flower" action pass In pedit_l4port.sh line 135: $MZ $mz_flags $h1 -c 10 -d 20msec -p 100 \ ^-------^ SC2086 (info): Double quote to prevent globbing and word splitting. ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: $MZ "$mz_flags" "$h1" -c 10 -d 20msec -p 100 \ In pedit_l4port.sh line 136: -a own -b $h2mac -q -t $pedit_prot sp=54321,dp=12345 ^----^ SC2086 (info): Double quote to prevent globbing and word splitting. ^---------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: -a own -b "$h2mac" -q -t "$pedit_prot" sp=54321,dp=12345 In pedit_l4port.sh line 149: tc filter del dev $h2 ingress pref 1 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter del dev "$h2" ingress pref 1 In pedit_l4port.sh line 150: tc filter del $pedit_locus pref 1 ^----------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter del "$pedit_locus" pref 1 In pedit_l4port.sh line 200: 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/SC2034 -- daddr appears unused. Verify use ... https://www.shellcheck.net/wiki/SC2086 -- Double quote to prevent globbing ... https://www.shellcheck.net/wiki/SC2223 -- This default assignment may cause... Checking tools/testing/selftests/net/forwarding/router.sh - 6ec6f5b175b324172db1a4638244533aea7b3e351081e9089b85583110467fd3 In router.sh line 39: require_command $MCD ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: require_command "$MCD" In router.sh line 40: require_command $MC_CLI ^-----^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: require_command "$MC_CLI" In router.sh line 46: ip link set dev $h1 master vrf-h1 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link set dev "$h1" master vrf-h1 In router.sh line 49: ip link set dev $h1 up ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link set dev "$h1" up In router.sh line 51: ip address add 192.0.2.2/24 dev $h1 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip address add 192.0.2.2/24 dev "$h1" In router.sh line 52: ip address add 2001:db8:1::2/64 dev $h1 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip address add 2001:db8:1::2/64 dev "$h1" In router.sh line 63: ip address del 2001:db8:1::2/64 dev $h1 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip address del 2001:db8:1::2/64 dev "$h1" In router.sh line 64: ip address del 192.0.2.2/24 dev $h1 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip address del 192.0.2.2/24 dev "$h1" In router.sh line 66: ip link set dev $h1 down ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link set dev "$h1" down In router.sh line 73: ip link set dev $h2 master vrf-h2 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link set dev "$h2" master vrf-h2 In router.sh line 76: ip link set dev $h2 up ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link set dev "$h2" up In router.sh line 78: ip address add 198.51.100.2/24 dev $h2 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip address add 198.51.100.2/24 dev "$h2" In router.sh line 79: ip address add 2001:db8:2::2/64 dev $h2 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip address add 2001:db8:2::2/64 dev "$h2" In router.sh line 90: ip address del 2001:db8:2::2/64 dev $h2 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip address del 2001:db8:2::2/64 dev "$h2" In router.sh line 91: ip address del 198.51.100.2/24 dev $h2 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip address del 198.51.100.2/24 dev "$h2" In router.sh line 93: ip link set dev $h2 down ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link set dev "$h2" down In router.sh line 99: ip link set dev $rp1 up ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link set dev "$rp1" up In router.sh line 100: ip link set dev $rp2 up ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link set dev "$rp2" up In router.sh line 102: tc qdisc add dev $rp2 clsact ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc qdisc add dev "$rp2" clsact In router.sh line 104: ip address add 192.0.2.1/24 dev $rp1 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip address add 192.0.2.1/24 dev "$rp1" In router.sh line 105: ip address add 2001:db8:1::1/64 dev $rp1 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip address add 2001:db8:1::1/64 dev "$rp1" In router.sh line 107: ip address add 198.51.100.1/24 dev $rp2 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip address add 198.51.100.1/24 dev "$rp2" In router.sh line 108: ip address add 2001:db8:2::1/64 dev $rp2 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip address add 2001:db8:2::1/64 dev "$rp2" In router.sh line 113: ip address del 2001:db8:2::1/64 dev $rp2 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip address del 2001:db8:2::1/64 dev "$rp2" In router.sh line 114: ip address del 198.51.100.1/24 dev $rp2 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip address del 198.51.100.1/24 dev "$rp2" In router.sh line 116: ip address del 2001:db8:1::1/64 dev $rp1 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip address del 2001:db8:1::1/64 dev "$rp1" In router.sh line 117: ip address del 192.0.2.1/24 dev $rp1 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip address del 192.0.2.1/24 dev "$rp1" In router.sh line 119: tc qdisc del dev $rp2 clsact ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc qdisc del dev "$rp2" clsact In router.sh line 121: ip link set dev $rp2 down ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link set dev "$rp2" down In router.sh line 122: ip link set dev $rp1 down ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link set dev "$rp1" down In router.sh line 129: for ((i = 1; i <= $NUM_NETIFS; ++i)); do ^---------^ SC2004 (style): $/${} is unnecessary on arithmetic variables. In router.sh line 131: $SMCROUTEDIR/$table_name.conf ^----------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: "$SMCROUTEDIR"/$table_name.conf In router.sh line 134: $MCD -N -I $table_name -f $SMCROUTEDIR/$table_name.conf \ ^----------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: $MCD -N -I $table_name -f "$SMCROUTEDIR"/$table_name.conf \ In router.sh line 135: -P $SMCROUTEDIR/$table_name.pid ^----------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: -P "$SMCROUTEDIR"/$table_name.pid In router.sh line 140: pkill $MCD ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: pkill "$MCD" In router.sh line 141: rm -rf $SMCROUTEDIR ^----------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: rm -rf "$SMCROUTEDIR" In router.sh line 152: rp1mac=$(mac_get $rp1) ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: rp1mac=$(mac_get "$rp1") In router.sh line 184: ping_test $h1 198.51.100.2 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ping_test "$h1" 198.51.100.2 In router.sh line 189: 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 router.sh line 198: sysctl_set net.ipv4.conf.$rp1.rp_filter 0 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: sysctl_set net.ipv4.conf."$rp1".rp_filter 0 In router.sh line 200: tc filter add dev $rp2 egress protocol ip pref 1 handle 101 \ ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter add dev "$rp2" egress protocol ip pref 1 handle 101 \ In router.sh line 203: $MZ $h1 -t udp "sp=54321,dp=12345" -c 5 -d 1msec \ ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: $MZ "$h1" -t udp "sp=54321,dp=12345" -c 5 -d 1msec \ In router.sh line 204: -A 240.0.0.1 -b $rp1mac -B 198.51.100.2 -q ^-----^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: -A 240.0.0.1 -b "$rp1mac" -B 198.51.100.2 -q In router.sh line 211: tc filter del dev $rp2 egress protocol ip pref 1 handle 101 flower ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter del dev "$rp2" egress protocol ip pref 1 handle 101 flower In router.sh line 212: sysctl_restore net.ipv4.conf.$rp1.rp_filter ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: sysctl_restore net.ipv4.conf."$rp1".rp_filter In router.sh line 221: local dest_ifs=${@} ^--^ SC2124 (warning): Assigning an array to a string! Assign as array, or use * instead of @ to concatenate. In router.sh line 223: $MC_CLI -I $table_name add $if_name $s_addr $mcast $dest_ifs ^---------^ 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: $MC_CLI -I "$table_name" add "$if_name" "$s_addr" "$mcast" "$dest_ifs" In router.sh line 231: local dest_ifs=${@} ^--^ SC2124 (warning): Assigning an array to a string! Assign as array, or use * instead of @ to concatenate. In router.sh line 233: $MC_CLI -I $table_name remove $if_name $s_addr $mcast $dest_ifs ^---------^ 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: $MC_CLI -I "$table_name" remove "$if_name" "$s_addr" "$mcast" "$dest_ifs" In router.sh line 247: tc filter add dev $rp2 egress protocol $proto pref 1 handle 101 \ ^--^ 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 "$rp2" egress protocol "$proto" pref 1 handle 101 \ In router.sh line 248: flower dst_ip $dip action pass ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: flower dst_ip "$dip" action pass In router.sh line 250: create_mcast_sg $rp1 $sip $dip $rp2 ^--^ 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: create_mcast_sg "$rp1" "$sip" "$dip" "$rp2" In router.sh line 252: $MZ $flags $h1 -t udp "sp=54321,dp=12345" -c 5 -d 1msec -b $dmac \ ^----^ 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 "$flags" "$h1" -t udp "sp=54321,dp=12345" -c 5 -d 1msec -b "$dmac" \ In router.sh line 253: -B $dip -q ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: -B "$dip" -q In router.sh line 260: delete_mcast_sg $rp1 $sip $dip $rp2 ^--^ 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: delete_mcast_sg "$rp1" "$sip" "$dip" "$rp2" In router.sh line 261: tc filter del dev $rp2 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 "$rp2" egress protocol "$proto" pref 1 handle 101 flower In router.sh line 276: sysctl_set net.ipv4.conf.$rp1.rp_filter 0 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: sysctl_set net.ipv4.conf."$rp1".rp_filter 0 In router.sh line 278: tc filter add dev $rp2 egress protocol ip pref 1 handle 101 \ ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter add dev "$rp2" egress protocol ip pref 1 handle 101 \ In router.sh line 281: $MZ $h1 -t udp "sp=54321,dp=12345" -c 5 -d 1msec \ ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: $MZ "$h1" -t udp "sp=54321,dp=12345" -c 5 -d 1msec \ In router.sh line 282: -A 198.51.100.2 -b $rp1mac -B 198.51.100.2 -q ^-----^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: -A 198.51.100.2 -b "$rp1mac" -B 198.51.100.2 -q In router.sh line 289: tc filter del dev $rp2 egress protocol ip pref 1 handle 101 flower ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter del dev "$rp2" egress protocol ip pref 1 handle 101 flower In router.sh line 290: sysctl_restore net.ipv4.conf.$rp1.rp_filter ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: sysctl_restore net.ipv4.conf."$rp1".rp_filter In router.sh line 298: tc filter add dev $rp2 egress protocol ipv6 pref 1 handle 101 \ ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter add dev "$rp2" egress protocol ipv6 pref 1 handle 101 \ In router.sh line 301: $MZ -6 $h1 -t udp "sp=54321,dp=12345" -c 5 -d 1msec \ ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: $MZ -6 "$h1" -t udp "sp=54321,dp=12345" -c 5 -d 1msec \ In router.sh line 302: -A 2001:db8:2::2 -b $rp1mac -B 2001:db8:2::2 -q ^-----^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: -A 2001:db8:2::2 -b "$rp1mac" -B 2001:db8:2::2 -q In router.sh line 309: tc filter del dev $rp2 egress protocol ipv6 pref 1 handle 101 flower ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter del dev "$rp2" egress protocol ipv6 pref 1 handle 101 flower In router.sh line 318: tc filter add dev $rp2 egress protocol ip pref 1 handle 101 \ ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter add dev "$rp2" egress protocol ip pref 1 handle 101 \ In router.sh line 319: flower dst_ip $dip action pass ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: flower dst_ip "$dip" action pass In router.sh line 321: ip neigh add 169.254.1.1 lladdr 00:11:22:33:44:55 dev $rp2 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip neigh add 169.254.1.1 lladdr 00:11:22:33:44:55 dev "$rp2" In router.sh line 322: ip route add 169.254.1.0/24 dev $rp2 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip route add 169.254.1.0/24 dev "$rp2" In router.sh line 324: $MZ $h1 -t udp "sp=54321,dp=12345" -c 5 -d 1msec -b $rp1mac -B $dip -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" -t udp "sp=54321,dp=12345" -c 5 -d 1msec -b "$rp1mac" -B "$dip" -q In router.sh line 331: ip route del 169.254.1.0/24 dev $rp2 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip route del 169.254.1.0/24 dev "$rp2" In router.sh line 332: ip neigh del 169.254.1.1 lladdr 00:11:22:33:44:55 dev $rp2 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip neigh del 169.254.1.1 lladdr 00:11:22:33:44:55 dev "$rp2" In router.sh line 333: tc filter del dev $rp2 egress protocol ip pref 1 handle 101 flower ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter del dev "$rp2" egress protocol ip pref 1 handle 101 flower In router.sh line 369: 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/SC2124 -- Assigning an array to a string! A... https://www.shellcheck.net/wiki/SC2086 -- Double quote to prevent globbing ... https://www.shellcheck.net/wiki/SC2004 -- $/${} is unnecessary on arithmeti... Checking tools/testing/selftests/net/forwarding/router_broadcast.sh - 4569f5142013474c91899a7c6d4d80c0b24747101841ffd1ab1594a18b6dd95e In router_broadcast.sh line 11: ip link set dev $h1 master vrf-h1 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link set dev "$h1" master vrf-h1 In router_broadcast.sh line 14: ip link set dev $h1 up ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link set dev "$h1" up In router_broadcast.sh line 16: ip address add 192.0.2.2/24 dev $h1 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip address add 192.0.2.2/24 dev "$h1" In router_broadcast.sh line 27: ip address del 192.0.2.2/24 dev $h1 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip address del 192.0.2.2/24 dev "$h1" In router_broadcast.sh line 29: ip link set dev $h1 down ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link set dev "$h1" down In router_broadcast.sh line 36: ip link set dev $h2 master vrf-h2 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link set dev "$h2" master vrf-h2 In router_broadcast.sh line 39: ip link set dev $h2 up ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link set dev "$h2" up In router_broadcast.sh line 41: ip address add 198.51.100.2/24 dev $h2 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip address add 198.51.100.2/24 dev "$h2" In router_broadcast.sh line 52: ip address del 198.51.100.2/24 dev $h2 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip address del 198.51.100.2/24 dev "$h2" In router_broadcast.sh line 54: ip link set dev $h2 down ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link set dev "$h2" down In router_broadcast.sh line 61: ip link set dev $h3 master vrf-h3 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link set dev "$h3" master vrf-h3 In router_broadcast.sh line 64: ip link set dev $h3 up ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link set dev "$h3" up In router_broadcast.sh line 66: ip address add 198.51.200.2/24 dev $h3 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip address add 198.51.200.2/24 dev "$h3" In router_broadcast.sh line 77: ip address del 198.51.200.2/24 dev $h3 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip address del 198.51.200.2/24 dev "$h3" In router_broadcast.sh line 79: ip link set dev $h3 down ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link set dev "$h3" down In router_broadcast.sh line 85: ip link set dev $rp1 up ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link set dev "$rp1" up In router_broadcast.sh line 86: ip link set dev $rp2 up ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link set dev "$rp2" up In router_broadcast.sh line 87: ip link set dev $rp3 up ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link set dev "$rp3" up In router_broadcast.sh line 89: ip address add 192.0.2.1/24 dev $rp1 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip address add 192.0.2.1/24 dev "$rp1" In router_broadcast.sh line 91: ip address add 198.51.100.1/24 dev $rp2 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip address add 198.51.100.1/24 dev "$rp2" In router_broadcast.sh line 92: ip address add 198.51.200.1/24 dev $rp3 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip address add 198.51.200.1/24 dev "$rp3" In router_broadcast.sh line 97: ip address del 198.51.200.1/24 dev $rp3 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip address del 198.51.200.1/24 dev "$rp3" In router_broadcast.sh line 98: ip address del 198.51.100.1/24 dev $rp2 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip address del 198.51.100.1/24 dev "$rp2" In router_broadcast.sh line 100: ip address del 192.0.2.1/24 dev $rp1 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip address del 192.0.2.1/24 dev "$rp1" In router_broadcast.sh line 102: ip link set dev $rp3 down ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link set dev "$rp3" down In router_broadcast.sh line 103: ip link set dev $rp2 down ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link set dev "$rp2" down In router_broadcast.sh line 104: ip link set dev $rp1 down ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link set dev "$rp1" down In router_broadcast.sh line 147: sysctl_set net.ipv4.conf.$rp1.bc_forwarding 0 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: sysctl_set net.ipv4.conf."$rp1".bc_forwarding 0 In router_broadcast.sh line 148: sysctl_set net.ipv4.conf.$rp2.bc_forwarding 0 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: sysctl_set net.ipv4.conf."$rp2".bc_forwarding 0 In router_broadcast.sh line 154: sysctl_set net.ipv4.conf.$rp1.bc_forwarding 1 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: sysctl_set net.ipv4.conf."$rp1".bc_forwarding 1 In router_broadcast.sh line 155: sysctl_set net.ipv4.conf.$rp2.bc_forwarding 1 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: sysctl_set net.ipv4.conf."$rp2".bc_forwarding 1 In router_broadcast.sh line 160: sysctl_restore net.ipv4.conf.$rp2.bc_forwarding ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: sysctl_restore net.ipv4.conf."$rp2".bc_forwarding In router_broadcast.sh line 161: sysctl_restore net.ipv4.conf.$rp1.bc_forwarding ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: sysctl_restore net.ipv4.conf."$rp1".bc_forwarding In router_broadcast.sh line 175: ip vrf exec $(master_name_get $oif) \ ^---------------------^ SC2046 (warning): Quote this to prevent word splitting. ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip vrf exec $(master_name_get "$oif") \ In router_broadcast.sh line 176: $PING -I $oif $dip -c 10 -i 0.1 -w $PING_TIMEOUT -b 2>&1 \ ^---^ 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: "$PING" -I "$oif" "$dip" -c 10 -i 0.1 -w "$PING_TIMEOUT" -b 2>&1 \ In router_broadcast.sh line 178: check_err_fail $fail $? ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: check_err_fail "$fail" $? In router_broadcast.sh line 187: ping_test_from $h1 198.51.100.255 192.0.2.1 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ping_test_from "$h1" 198.51.100.255 192.0.2.1 In router_broadcast.sh line 189: ping_test_from $h1 198.51.200.255 192.0.2.1 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ping_test_from "$h1" 198.51.200.255 192.0.2.1 In router_broadcast.sh line 191: ping_test_from $h1 192.0.2.255 192.0.2.1 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ping_test_from "$h1" 192.0.2.255 192.0.2.1 In router_broadcast.sh line 193: ping_test_from $h1 255.255.255.255 192.0.2.1 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ping_test_from "$h1" 255.255.255.255 192.0.2.1 In router_broadcast.sh line 196: ping_test_from $h2 192.0.2.255 198.51.100.1 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ping_test_from "$h2" 192.0.2.255 198.51.100.1 In router_broadcast.sh line 198: ping_test_from $h2 198.51.200.255 198.51.100.1 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ping_test_from "$h2" 198.51.200.255 198.51.100.1 In router_broadcast.sh line 200: ping_test_from $h2 198.51.100.255 198.51.100.1 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ping_test_from "$h2" 198.51.100.255 198.51.100.1 In router_broadcast.sh line 202: ping_test_from $h2 255.255.255.255 198.51.100.1 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ping_test_from "$h2" 255.255.255.255 198.51.100.1 In router_broadcast.sh line 208: ping_test_from $h1 198.51.100.255 198.51.100.2 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ping_test_from "$h1" 198.51.100.255 198.51.100.2 In router_broadcast.sh line 210: ping_test_from $h1 198.51.200.255 198.51.200.2 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ping_test_from "$h1" 198.51.200.255 198.51.200.2 In router_broadcast.sh line 212: ping_test_from $h1 192.0.2.255 192.0.2.1 1 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ping_test_from "$h1" 192.0.2.255 192.0.2.1 1 In router_broadcast.sh line 214: ping_test_from $h1 255.255.255.255 192.0.2.1 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ping_test_from "$h1" 255.255.255.255 192.0.2.1 In router_broadcast.sh line 217: ping_test_from $h2 192.0.2.255 192.0.2.2 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ping_test_from "$h2" 192.0.2.255 192.0.2.2 In router_broadcast.sh line 219: ping_test_from $h2 198.51.200.255 198.51.200.2 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ping_test_from "$h2" 198.51.200.255 198.51.200.2 In router_broadcast.sh line 221: ping_test_from $h2 198.51.100.255 198.51.100.1 1 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ping_test_from "$h2" 198.51.100.255 198.51.100.1 1 In router_broadcast.sh line 223: ping_test_from $h2 255.255.255.255 198.51.100.1 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ping_test_from "$h2" 255.255.255.255 198.51.100.1 In router_broadcast.sh line 237: 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/SC2046 -- Quote this to prevent word splitt... https://www.shellcheck.net/wiki/SC2086 -- Double quote to prevent globbing ... Checking tools/testing/selftests/net/forwarding/router_mpath_nh.sh - 6e13d14aa65e0a099c475e649ac17a07ea9a52dbf3b31a67d04a2b4b6b882d96 In router_mpath_nh.sh line 56: ip link set dev $h1 master vrf-h1 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link set dev "$h1" master vrf-h1 In router_mpath_nh.sh line 59: ip link set dev $h1 up ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link set dev "$h1" up In router_mpath_nh.sh line 61: ip address add 192.0.2.2/24 dev $h1 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip address add 192.0.2.2/24 dev "$h1" In router_mpath_nh.sh line 62: ip address add 2001:db8:1::2/64 dev $h1 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip address add 2001:db8:1::2/64 dev "$h1" In router_mpath_nh.sh line 73: ip address del 2001:db8:1::2/64 dev $h1 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip address del 2001:db8:1::2/64 dev "$h1" In router_mpath_nh.sh line 74: ip address del 192.0.2.2/24 dev $h1 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip address del 192.0.2.2/24 dev "$h1" In router_mpath_nh.sh line 76: ip link set dev $h1 down ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link set dev "$h1" down In router_mpath_nh.sh line 83: ip link set dev $h2 master vrf-h2 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link set dev "$h2" master vrf-h2 In router_mpath_nh.sh line 86: ip link set dev $h2 up ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link set dev "$h2" up In router_mpath_nh.sh line 88: ip address add 198.51.100.2/24 dev $h2 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip address add 198.51.100.2/24 dev "$h2" In router_mpath_nh.sh line 89: ip address add 2001:db8:2::2/64 dev $h2 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip address add 2001:db8:2::2/64 dev "$h2" In router_mpath_nh.sh line 100: ip address del 2001:db8:2::2/64 dev $h2 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip address del 2001:db8:2::2/64 dev "$h2" In router_mpath_nh.sh line 101: ip address del 198.51.100.2/24 dev $h2 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip address del 198.51.100.2/24 dev "$h2" In router_mpath_nh.sh line 103: ip link set dev $h2 down ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link set dev "$h2" down In router_mpath_nh.sh line 110: ip link set dev $rp11 master vrf-r1 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link set dev "$rp11" master vrf-r1 In router_mpath_nh.sh line 111: ip link set dev $rp12 master vrf-r1 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link set dev "$rp12" master vrf-r1 In router_mpath_nh.sh line 112: ip link set dev $rp13 master vrf-r1 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link set dev "$rp13" master vrf-r1 In router_mpath_nh.sh line 115: ip link set dev $rp11 up ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link set dev "$rp11" up In router_mpath_nh.sh line 116: ip link set dev $rp12 up ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link set dev "$rp12" up In router_mpath_nh.sh line 117: ip link set dev $rp13 up ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link set dev "$rp13" up In router_mpath_nh.sh line 119: ip address add 192.0.2.1/24 dev $rp11 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip address add 192.0.2.1/24 dev "$rp11" In router_mpath_nh.sh line 120: ip address add 2001:db8:1::1/64 dev $rp11 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip address add 2001:db8:1::1/64 dev "$rp11" In router_mpath_nh.sh line 122: ip address add 169.254.2.12/24 dev $rp12 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip address add 169.254.2.12/24 dev "$rp12" In router_mpath_nh.sh line 123: ip address add fe80:2::12/64 dev $rp12 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip address add fe80:2::12/64 dev "$rp12" In router_mpath_nh.sh line 125: ip address add 169.254.3.13/24 dev $rp13 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip address add 169.254.3.13/24 dev "$rp13" In router_mpath_nh.sh line 126: ip address add fe80:3::13/64 dev $rp13 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip address add fe80:3::13/64 dev "$rp13" In router_mpath_nh.sh line 134: ip address del fe80:3::13/64 dev $rp13 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip address del fe80:3::13/64 dev "$rp13" In router_mpath_nh.sh line 135: ip address del 169.254.3.13/24 dev $rp13 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip address del 169.254.3.13/24 dev "$rp13" In router_mpath_nh.sh line 137: ip address del fe80:2::12/64 dev $rp12 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip address del fe80:2::12/64 dev "$rp12" In router_mpath_nh.sh line 138: ip address del 169.254.2.12/24 dev $rp12 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip address del 169.254.2.12/24 dev "$rp12" In router_mpath_nh.sh line 140: ip address del 2001:db8:1::1/64 dev $rp11 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip address del 2001:db8:1::1/64 dev "$rp11" In router_mpath_nh.sh line 141: ip address del 192.0.2.1/24 dev $rp11 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip address del 192.0.2.1/24 dev "$rp11" In router_mpath_nh.sh line 150: ip link set dev $rp13 down ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link set dev "$rp13" down In router_mpath_nh.sh line 151: ip link set dev $rp12 down ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link set dev "$rp12" down In router_mpath_nh.sh line 152: ip link set dev $rp11 down ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link set dev "$rp11" down In router_mpath_nh.sh line 160: ip link set dev $rp21 master vrf-r2 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link set dev "$rp21" master vrf-r2 In router_mpath_nh.sh line 161: ip link set dev $rp22 master vrf-r2 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link set dev "$rp22" master vrf-r2 In router_mpath_nh.sh line 162: ip link set dev $rp23 master vrf-r2 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link set dev "$rp23" master vrf-r2 In router_mpath_nh.sh line 165: ip link set dev $rp21 up ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link set dev "$rp21" up In router_mpath_nh.sh line 166: ip link set dev $rp22 up ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link set dev "$rp22" up In router_mpath_nh.sh line 167: ip link set dev $rp23 up ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link set dev "$rp23" up In router_mpath_nh.sh line 169: ip address add 198.51.100.1/24 dev $rp21 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip address add 198.51.100.1/24 dev "$rp21" In router_mpath_nh.sh line 170: ip address add 2001:db8:2::1/64 dev $rp21 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip address add 2001:db8:2::1/64 dev "$rp21" In router_mpath_nh.sh line 172: ip address add 169.254.2.22/24 dev $rp22 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip address add 169.254.2.22/24 dev "$rp22" In router_mpath_nh.sh line 173: ip address add fe80:2::22/64 dev $rp22 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip address add fe80:2::22/64 dev "$rp22" In router_mpath_nh.sh line 175: ip address add 169.254.3.23/24 dev $rp23 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip address add 169.254.3.23/24 dev "$rp23" In router_mpath_nh.sh line 176: ip address add fe80:3::23/64 dev $rp23 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip address add fe80:3::23/64 dev "$rp23" In router_mpath_nh.sh line 184: ip address del fe80:3::23/64 dev $rp23 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip address del fe80:3::23/64 dev "$rp23" In router_mpath_nh.sh line 185: ip address del 169.254.3.23/24 dev $rp23 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip address del 169.254.3.23/24 dev "$rp23" In router_mpath_nh.sh line 187: ip address del fe80:2::22/64 dev $rp22 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip address del fe80:2::22/64 dev "$rp22" In router_mpath_nh.sh line 188: ip address del 169.254.2.22/24 dev $rp22 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip address del 169.254.2.22/24 dev "$rp22" In router_mpath_nh.sh line 190: ip address del 2001:db8:2::1/64 dev $rp21 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip address del 2001:db8:2::1/64 dev "$rp21" In router_mpath_nh.sh line 191: ip address del 198.51.100.1/24 dev $rp21 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip address del 198.51.100.1/24 dev "$rp21" In router_mpath_nh.sh line 198: ip link set dev $rp23 down ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link set dev "$rp23" down In router_mpath_nh.sh line 199: ip link set dev $rp22 down ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link set dev "$rp22" down In router_mpath_nh.sh line 200: ip link set dev $rp21 down ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link set dev "$rp21" down In router_mpath_nh.sh line 207: ip nexthop add id 101 via 169.254.2.22 dev $rp12 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip nexthop add id 101 via 169.254.2.22 dev "$rp12" In router_mpath_nh.sh line 208: ip nexthop add id 102 via 169.254.3.23 dev $rp13 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip nexthop add id 102 via 169.254.3.23 dev "$rp13" In router_mpath_nh.sh line 212: ip nexthop add id 104 via fe80:2::22 dev $rp12 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip nexthop add id 104 via fe80:2::22 dev "$rp12" In router_mpath_nh.sh line 213: ip nexthop add id 105 via fe80:3::23 dev $rp13 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip nexthop add id 105 via fe80:3::23 dev "$rp13" In router_mpath_nh.sh line 217: ip nexthop add id 201 via 169.254.2.12 dev $rp22 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip nexthop add id 201 via 169.254.2.12 dev "$rp22" In router_mpath_nh.sh line 218: ip nexthop add id 202 via 169.254.3.13 dev $rp23 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip nexthop add id 202 via 169.254.3.13 dev "$rp23" In router_mpath_nh.sh line 222: ip nexthop add id 204 via fe80:2::12 dev $rp22 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip nexthop add id 204 via fe80:2::12 dev "$rp22" In router_mpath_nh.sh line 223: ip nexthop add id 205 via fe80:3::13 dev $rp23 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip nexthop add id 205 via fe80:3::13 dev "$rp23" In router_mpath_nh.sh line 242: ip nexthop replace id 103 group 101,$weight_rp12/102,$weight_rp13 ^----------^ 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,"$weight_rp12"/102,"$weight_rp13" In router_mpath_nh.sh line 244: t0_rp12=$(link_stats_tx_packets_get $rp12) ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: t0_rp12=$(link_stats_tx_packets_get "$rp12") In router_mpath_nh.sh line 245: t0_rp13=$(link_stats_tx_packets_get $rp13) ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: t0_rp13=$(link_stats_tx_packets_get "$rp13") In router_mpath_nh.sh line 247: ip vrf exec vrf-h1 $MZ $h1 -q -p 64 -A 192.0.2.2 -B 198.51.100.2 \ ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip vrf exec vrf-h1 "$MZ" "$h1" -q -p 64 -A 192.0.2.2 -B 198.51.100.2 \ In router_mpath_nh.sh line 248: -d $MZ_DELAY -t udp "$ports" ^-------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: -d "$MZ_DELAY" -t udp "$ports" In router_mpath_nh.sh line 251: t1_rp12=$(link_stats_tx_packets_get $rp12) ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: t1_rp12=$(link_stats_tx_packets_get "$rp12") In router_mpath_nh.sh line 252: t1_rp13=$(link_stats_tx_packets_get $rp13) ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: t1_rp13=$(link_stats_tx_packets_get "$rp13") In router_mpath_nh.sh line 254: let "packets_rp12 = $t1_rp12 - $t0_rp12" ^-- SC2219 (style): Instead of 'let expr', prefer (( expr )) . In router_mpath_nh.sh line 255: let "packets_rp13 = $t1_rp13 - $t0_rp13" ^-- SC2219 (style): Instead of 'let expr', prefer (( expr )) . In router_mpath_nh.sh line 256: multipath_eval "$desc" $weight_rp12 $weight_rp13 $packets_rp12 $packets_rp13 ^----------^ 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 "$desc" "$weight_rp12" "$weight_rp13" "$packets_rp12" "$packets_rp13" In router_mpath_nh.sh line 278: ip nexthop replace id 106 group 104,$weight_rp12/105,$weight_rp13 ^----------^ 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 106 group 104,"$weight_rp12"/105,"$weight_rp13" In router_mpath_nh.sh line 280: t0_rp12=$(link_stats_tx_packets_get $rp12) ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: t0_rp12=$(link_stats_tx_packets_get "$rp12") In router_mpath_nh.sh line 281: t0_rp13=$(link_stats_tx_packets_get $rp13) ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: t0_rp13=$(link_stats_tx_packets_get "$rp13") In router_mpath_nh.sh line 283: $MZ $h1 -6 -q -p 64 -A 2001:db8:1::2 -B 2001:db8:2::2 \ ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: $MZ "$h1" -6 -q -p 64 -A 2001:db8:1::2 -B 2001:db8:2::2 \ In router_mpath_nh.sh line 284: -d $MZ_DELAY -t udp "$ports" ^-------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: -d "$MZ_DELAY" -t udp "$ports" In router_mpath_nh.sh line 287: t1_rp12=$(link_stats_tx_packets_get $rp12) ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: t1_rp12=$(link_stats_tx_packets_get "$rp12") In router_mpath_nh.sh line 288: t1_rp13=$(link_stats_tx_packets_get $rp13) ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: t1_rp13=$(link_stats_tx_packets_get "$rp13") In router_mpath_nh.sh line 290: let "packets_rp12 = $t1_rp12 - $t0_rp12" ^-- SC2219 (style): Instead of 'let expr', prefer (( expr )) . In router_mpath_nh.sh line 291: let "packets_rp13 = $t1_rp13 - $t0_rp13" ^-- SC2219 (style): Instead of 'let expr', prefer (( expr )) . In router_mpath_nh.sh line 292: multipath_eval "$desc" $weight_rp12 $weight_rp13 $packets_rp12 $packets_rp13 ^----------^ 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 "$desc" "$weight_rp12" "$weight_rp13" "$packets_rp12" "$packets_rp13" In router_mpath_nh.sh line 307: ip nexthop replace id 101 via fe80:2::22 dev $rp12 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip nexthop replace id 101 via fe80:2::22 dev "$rp12" In router_mpath_nh.sh line 308: ip nexthop replace id 102 via fe80:3::23 dev $rp13 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip nexthop replace id 102 via fe80:3::23 dev "$rp13" In router_mpath_nh.sh line 314: ip nexthop replace id 102 via 169.254.3.23 dev $rp13 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip nexthop replace id 102 via 169.254.3.23 dev "$rp13" In router_mpath_nh.sh line 315: ip nexthop replace id 101 via 169.254.2.22 dev $rp12 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip nexthop replace id 101 via 169.254.2.22 dev "$rp12" In router_mpath_nh.sh line 348: ping_do $h1 198.51.100.2 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ping_do "$h1" 198.51.100.2 In router_mpath_nh.sh line 352: ping_do $h1 198.51.100.2 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ping_do "$h1" 198.51.100.2 In router_mpath_nh.sh line 356: ping_do $h1 198.51.100.2 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ping_do "$h1" 198.51.100.2 In router_mpath_nh.sh line 373: ping6_do $h1 2001:db8:2::2 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ping6_do "$h1" 2001:db8:2::2 In router_mpath_nh.sh line 377: ping6_do $h1 2001:db8:2::2 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ping6_do "$h1" 2001:db8:2::2 In router_mpath_nh.sh line 381: ping6_do $h1 2001:db8:2::2 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ping6_do "$h1" 2001:db8:2::2 In router_mpath_nh.sh line 442: ping_test $h1 198.51.100.2 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ping_test "$h1" 198.51.100.2 In router_mpath_nh.sh line 447: 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 router_mpath_nh.sh line 451: if [ $? -ne 0 ]; then ^-- SC2181 (style): Check exit code directly with e.g. 'if ! mycmd;', not indirectly with $?. In router_mpath_nh.sh line 464: 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/SC2181 -- Check exit code directly with e.g... https://www.shellcheck.net/wiki/SC2219 -- Instead of 'let expr', prefer (( ... Checking tools/testing/selftests/net/forwarding/router_mpath_nh_lib.sh - f23bb643da4d4ea64623a64e32acf7d9b8022b322befabe8e024d63f5c22c55a In router_mpath_nh_lib.sh line 1: # SPDX-License-Identifier: GPL-2.0 ^-- SC2148 (error): Tips depend on target shell and yours is unknown. Add a shebang or a 'shell' directive. In router_mpath_nh_lib.sh line 10: local mz="$@" ^--^ SC2124 (warning): Assigning an array to a string! Assign as array, or use * instead of @ to concatenate. In router_mpath_nh_lib.sh line 14: RET=0 ^-^ SC2034 (warning): RET appears unused. Verify use (or export if used externally). In router_mpath_nh_lib.sh line 19: local t0_rp12=$(link_stats_tx_packets_get $rp12) ^-----^ SC2155 (warning): Declare and assign separately to avoid masking return values. ^---^ SC2154 (warning): rp12 is referenced but not assigned. ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: local t0_rp12=$(link_stats_tx_packets_get "$rp12") In router_mpath_nh_lib.sh line 20: local t0_rp13=$(link_stats_tx_packets_get $rp13) ^-----^ SC2155 (warning): Declare and assign separately to avoid masking return values. ^---^ SC2154 (warning): rp13 is referenced but not assigned. ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: local t0_rp13=$(link_stats_tx_packets_get "$rp13") In router_mpath_nh_lib.sh line 21: local t0_nh1=$($stats_get $group_id $nh1_id) ^----^ SC2155 (warning): Declare and assign separately to avoid masking return values. ^-------^ SC2086 (info): Double quote to prevent globbing and word splitting. ^-----^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: local t0_nh1=$($stats_get "$group_id" "$nh1_id") In router_mpath_nh_lib.sh line 22: local t0_nh2=$($stats_get $group_id $nh2_id) ^----^ SC2155 (warning): Declare and assign separately to avoid masking return values. ^-------^ SC2086 (info): Double quote to prevent globbing and word splitting. ^-----^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: local t0_nh2=$($stats_get "$group_id" "$nh2_id") In router_mpath_nh_lib.sh line 25: $mz -q -p 64 -d 0 -t udp \ ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: "$mz" -q -p 64 -d 0 -t udp \ In router_mpath_nh_lib.sh line 29: local t1_rp12=$(link_stats_tx_packets_get $rp12) ^-----^ 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_rp12=$(link_stats_tx_packets_get "$rp12") In router_mpath_nh_lib.sh line 30: local t1_rp13=$(link_stats_tx_packets_get $rp13) ^-----^ 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_rp13=$(link_stats_tx_packets_get "$rp13") In router_mpath_nh_lib.sh line 31: local t1_nh1=$($stats_get $group_id $nh1_id) ^----^ SC2155 (warning): Declare and assign separately to avoid masking return values. ^-------^ SC2086 (info): Double quote to prevent globbing and word splitting. ^-----^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: local t1_nh1=$($stats_get "$group_id" "$nh1_id") In router_mpath_nh_lib.sh line 32: local t1_nh2=$($stats_get $group_id $nh2_id) ^----^ SC2155 (warning): Declare and assign separately to avoid masking return values. ^-------^ SC2086 (info): Double quote to prevent globbing and word splitting. ^-----^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: local t1_nh2=$($stats_get "$group_id" "$nh2_id") In router_mpath_nh_lib.sh line 57: local mz="$@" ^--^ SC2124 (warning): Assigning an array to a string! Assign as array, or use * instead of @ to concatenate. In router_mpath_nh_lib.sh line 62: xfail_on_veth $rp11 \ ^---^ SC2154 (warning): rp11 is referenced but not assigned. ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: xfail_on_veth "$rp11" \ In router_mpath_nh_lib.sh line 74: local mz="$@" ^--^ SC2124 (warning): Assigning an array to a string! Assign as array, or use * instead of @ to concatenate. In router_mpath_nh_lib.sh line 83: ip nexthop replace id $group_id group $nh1_id/$nh2_id \ ^-------^ 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: ip nexthop replace id "$group_id" group "$nh1_id"/"$nh2_id" \ In router_mpath_nh_lib.sh line 84: hw_stats on type $nhgtype ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: hw_stats on type "$nhgtype" In router_mpath_nh_lib.sh line 85: enabled=$(ip -s -j -d nexthop show id $group_id | ^-------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: enabled=$(ip -s -j -d nexthop show id "$group_id" | In router_mpath_nh_lib.sh line 97: ip nexthop replace id $group_id group $nh1_id/$nh2_id \ ^-------^ 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: ip nexthop replace id "$group_id" group "$nh1_id"/"$nh2_id" \ In router_mpath_nh_lib.sh line 98: hw_stats off type $nhgtype ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: hw_stats off type "$nhgtype" In router_mpath_nh_lib.sh line 106: nh_stats_test_dispatch $nhgtype "IPv4" 101 102 103 \ ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: nh_stats_test_dispatch "$nhgtype" "IPv4" 101 102 103 \ In router_mpath_nh_lib.sh line 107: $MZ $h1 -A 192.0.2.2 -B 198.51.100.2 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. ^-^ SC2154 (warning): h1 is referenced but not assigned. ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: "$MZ" "$h1" -A 192.0.2.2 -B 198.51.100.2 In router_mpath_nh_lib.sh line 116: nh_stats_test_dispatch $nhgtype "IPv6" 104 105 106 \ ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: nh_stats_test_dispatch "$nhgtype" "IPv6" 104 105 106 \ In router_mpath_nh_lib.sh line 117: $MZ -6 $h1 -A 2001:db8:1::2 -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" -6 "$h1" -A 2001:db8:1::2 -B 2001:db8:2::2 In router_mpath_nh_lib.sh line 126: if (( $? )); then ^-- SC2181 (style): Check exit code directly with e.g. 'if ! mycmd;', not indirectly with $?. For more information: https://www.shellcheck.net/wiki/SC2148 -- Tips depend on target shell and y... https://www.shellcheck.net/wiki/SC2034 -- RET appears unused. Verify use (o... https://www.shellcheck.net/wiki/SC2124 -- Assigning an array to a string! A... Checking tools/testing/selftests/net/forwarding/router_mpath_nh_res.sh - f3c54329a2e936c8ced1a643ce7e5a10fe1f75c09beb609b448e5f9820a82510 In router_mpath_nh_res.sh line 54: ip link set dev $h1 master vrf-h1 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link set dev "$h1" master vrf-h1 In router_mpath_nh_res.sh line 57: ip link set dev $h1 up ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link set dev "$h1" up In router_mpath_nh_res.sh line 59: ip address add 192.0.2.2/24 dev $h1 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip address add 192.0.2.2/24 dev "$h1" In router_mpath_nh_res.sh line 60: ip address add 2001:db8:1::2/64 dev $h1 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip address add 2001:db8:1::2/64 dev "$h1" In router_mpath_nh_res.sh line 71: ip address del 2001:db8:1::2/64 dev $h1 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip address del 2001:db8:1::2/64 dev "$h1" In router_mpath_nh_res.sh line 72: ip address del 192.0.2.2/24 dev $h1 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip address del 192.0.2.2/24 dev "$h1" In router_mpath_nh_res.sh line 74: ip link set dev $h1 down ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link set dev "$h1" down In router_mpath_nh_res.sh line 81: ip link set dev $h2 master vrf-h2 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link set dev "$h2" master vrf-h2 In router_mpath_nh_res.sh line 84: ip link set dev $h2 up ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link set dev "$h2" up In router_mpath_nh_res.sh line 86: ip address add 198.51.100.2/24 dev $h2 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip address add 198.51.100.2/24 dev "$h2" In router_mpath_nh_res.sh line 87: ip address add 2001:db8:2::2/64 dev $h2 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip address add 2001:db8:2::2/64 dev "$h2" In router_mpath_nh_res.sh line 98: ip address del 2001:db8:2::2/64 dev $h2 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip address del 2001:db8:2::2/64 dev "$h2" In router_mpath_nh_res.sh line 99: ip address del 198.51.100.2/24 dev $h2 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip address del 198.51.100.2/24 dev "$h2" In router_mpath_nh_res.sh line 101: ip link set dev $h2 down ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link set dev "$h2" down In router_mpath_nh_res.sh line 108: ip link set dev $rp11 master vrf-r1 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link set dev "$rp11" master vrf-r1 In router_mpath_nh_res.sh line 109: ip link set dev $rp12 master vrf-r1 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link set dev "$rp12" master vrf-r1 In router_mpath_nh_res.sh line 110: ip link set dev $rp13 master vrf-r1 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link set dev "$rp13" master vrf-r1 In router_mpath_nh_res.sh line 113: ip link set dev $rp11 up ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link set dev "$rp11" up In router_mpath_nh_res.sh line 114: ip link set dev $rp12 up ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link set dev "$rp12" up In router_mpath_nh_res.sh line 115: ip link set dev $rp13 up ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link set dev "$rp13" up In router_mpath_nh_res.sh line 117: ip address add 192.0.2.1/24 dev $rp11 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip address add 192.0.2.1/24 dev "$rp11" In router_mpath_nh_res.sh line 118: ip address add 2001:db8:1::1/64 dev $rp11 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip address add 2001:db8:1::1/64 dev "$rp11" In router_mpath_nh_res.sh line 120: ip address add 169.254.2.12/24 dev $rp12 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip address add 169.254.2.12/24 dev "$rp12" In router_mpath_nh_res.sh line 121: ip address add fe80:2::12/64 dev $rp12 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip address add fe80:2::12/64 dev "$rp12" In router_mpath_nh_res.sh line 123: ip address add 169.254.3.13/24 dev $rp13 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip address add 169.254.3.13/24 dev "$rp13" In router_mpath_nh_res.sh line 124: ip address add fe80:3::13/64 dev $rp13 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip address add fe80:3::13/64 dev "$rp13" In router_mpath_nh_res.sh line 132: ip address del fe80:3::13/64 dev $rp13 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip address del fe80:3::13/64 dev "$rp13" In router_mpath_nh_res.sh line 133: ip address del 169.254.3.13/24 dev $rp13 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip address del 169.254.3.13/24 dev "$rp13" In router_mpath_nh_res.sh line 135: ip address del fe80:2::12/64 dev $rp12 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip address del fe80:2::12/64 dev "$rp12" In router_mpath_nh_res.sh line 136: ip address del 169.254.2.12/24 dev $rp12 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip address del 169.254.2.12/24 dev "$rp12" In router_mpath_nh_res.sh line 138: ip address del 2001:db8:1::1/64 dev $rp11 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip address del 2001:db8:1::1/64 dev "$rp11" In router_mpath_nh_res.sh line 139: ip address del 192.0.2.1/24 dev $rp11 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip address del 192.0.2.1/24 dev "$rp11" In router_mpath_nh_res.sh line 148: ip link set dev $rp13 down ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link set dev "$rp13" down In router_mpath_nh_res.sh line 149: ip link set dev $rp12 down ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link set dev "$rp12" down In router_mpath_nh_res.sh line 150: ip link set dev $rp11 down ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link set dev "$rp11" down In router_mpath_nh_res.sh line 158: ip link set dev $rp21 master vrf-r2 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link set dev "$rp21" master vrf-r2 In router_mpath_nh_res.sh line 159: ip link set dev $rp22 master vrf-r2 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link set dev "$rp22" master vrf-r2 In router_mpath_nh_res.sh line 160: ip link set dev $rp23 master vrf-r2 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link set dev "$rp23" master vrf-r2 In router_mpath_nh_res.sh line 163: ip link set dev $rp21 up ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link set dev "$rp21" up In router_mpath_nh_res.sh line 164: ip link set dev $rp22 up ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link set dev "$rp22" up In router_mpath_nh_res.sh line 165: ip link set dev $rp23 up ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link set dev "$rp23" up In router_mpath_nh_res.sh line 167: ip address add 198.51.100.1/24 dev $rp21 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip address add 198.51.100.1/24 dev "$rp21" In router_mpath_nh_res.sh line 168: ip address add 2001:db8:2::1/64 dev $rp21 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip address add 2001:db8:2::1/64 dev "$rp21" In router_mpath_nh_res.sh line 170: ip address add 169.254.2.22/24 dev $rp22 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip address add 169.254.2.22/24 dev "$rp22" In router_mpath_nh_res.sh line 171: ip address add fe80:2::22/64 dev $rp22 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip address add fe80:2::22/64 dev "$rp22" In router_mpath_nh_res.sh line 173: ip address add 169.254.3.23/24 dev $rp23 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip address add 169.254.3.23/24 dev "$rp23" In router_mpath_nh_res.sh line 174: ip address add fe80:3::23/64 dev $rp23 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip address add fe80:3::23/64 dev "$rp23" In router_mpath_nh_res.sh line 182: ip address del fe80:3::23/64 dev $rp23 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip address del fe80:3::23/64 dev "$rp23" In router_mpath_nh_res.sh line 183: ip address del 169.254.3.23/24 dev $rp23 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip address del 169.254.3.23/24 dev "$rp23" In router_mpath_nh_res.sh line 185: ip address del fe80:2::22/64 dev $rp22 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip address del fe80:2::22/64 dev "$rp22" In router_mpath_nh_res.sh line 186: ip address del 169.254.2.22/24 dev $rp22 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip address del 169.254.2.22/24 dev "$rp22" In router_mpath_nh_res.sh line 188: ip address del 2001:db8:2::1/64 dev $rp21 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip address del 2001:db8:2::1/64 dev "$rp21" In router_mpath_nh_res.sh line 189: ip address del 198.51.100.1/24 dev $rp21 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip address del 198.51.100.1/24 dev "$rp21" In router_mpath_nh_res.sh line 196: ip link set dev $rp23 down ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link set dev "$rp23" down In router_mpath_nh_res.sh line 197: ip link set dev $rp22 down ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link set dev "$rp22" down In router_mpath_nh_res.sh line 198: ip link set dev $rp21 down ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link set dev "$rp21" down In router_mpath_nh_res.sh line 205: ip nexthop add id 101 via 169.254.2.22 dev $rp12 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip nexthop add id 101 via 169.254.2.22 dev "$rp12" In router_mpath_nh_res.sh line 206: ip nexthop add id 102 via 169.254.3.23 dev $rp13 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip nexthop add id 102 via 169.254.3.23 dev "$rp13" In router_mpath_nh_res.sh line 211: ip nexthop add id 104 via fe80:2::22 dev $rp12 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip nexthop add id 104 via fe80:2::22 dev "$rp12" In router_mpath_nh_res.sh line 212: ip nexthop add id 105 via fe80:3::23 dev $rp13 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip nexthop add id 105 via fe80:3::23 dev "$rp13" In router_mpath_nh_res.sh line 217: ip nexthop add id 201 via 169.254.2.12 dev $rp22 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip nexthop add id 201 via 169.254.2.12 dev "$rp22" In router_mpath_nh_res.sh line 218: ip nexthop add id 202 via 169.254.3.13 dev $rp23 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip nexthop add id 202 via 169.254.3.13 dev "$rp23" In router_mpath_nh_res.sh line 223: ip nexthop add id 204 via fe80:2::12 dev $rp22 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip nexthop add id 204 via fe80:2::12 dev "$rp22" In router_mpath_nh_res.sh line 224: ip nexthop add id 205 via fe80:3::13 dev $rp23 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip nexthop add id 205 via fe80:3::13 dev "$rp23" In router_mpath_nh_res.sh line 245: t0_rp12=$(link_stats_tx_packets_get $rp12) ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: t0_rp12=$(link_stats_tx_packets_get "$rp12") In router_mpath_nh_res.sh line 246: t0_rp13=$(link_stats_tx_packets_get $rp13) ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: t0_rp13=$(link_stats_tx_packets_get "$rp13") In router_mpath_nh_res.sh line 248: ip vrf exec vrf-h1 $MZ $h1 -q -p 64 -A 192.0.2.2 -B 198.51.100.2 \ ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip vrf exec vrf-h1 "$MZ" "$h1" -q -p 64 -A 192.0.2.2 -B 198.51.100.2 \ In router_mpath_nh_res.sh line 249: -d $MZ_DELAY -t udp "$ports" ^-------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: -d "$MZ_DELAY" -t udp "$ports" In router_mpath_nh_res.sh line 252: t1_rp12=$(link_stats_tx_packets_get $rp12) ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: t1_rp12=$(link_stats_tx_packets_get "$rp12") In router_mpath_nh_res.sh line 253: t1_rp13=$(link_stats_tx_packets_get $rp13) ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: t1_rp13=$(link_stats_tx_packets_get "$rp13") In router_mpath_nh_res.sh line 255: let "packets_rp12 = $t1_rp12 - $t0_rp12" ^-- SC2219 (style): Instead of 'let expr', prefer (( expr )) . In router_mpath_nh_res.sh line 256: let "packets_rp13 = $t1_rp13 - $t0_rp13" ^-- SC2219 (style): Instead of 'let expr', prefer (( expr )) . In router_mpath_nh_res.sh line 257: multipath_eval "$desc" $weight_rp12 $weight_rp13 $packets_rp12 $packets_rp13 ^----------^ 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 "$desc" "$weight_rp12" "$weight_rp13" "$packets_rp12" "$packets_rp13" In router_mpath_nh_res.sh line 278: t0_rp12=$(link_stats_tx_packets_get $rp12) ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: t0_rp12=$(link_stats_tx_packets_get "$rp12") In router_mpath_nh_res.sh line 279: t0_rp13=$(link_stats_tx_packets_get $rp13) ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: t0_rp13=$(link_stats_tx_packets_get "$rp13") In router_mpath_nh_res.sh line 281: $MZ $h1 -6 -q -p 64 -A 2001:db8:1::2 -B 2001:db8:2::2 \ ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: $MZ "$h1" -6 -q -p 64 -A 2001:db8:1::2 -B 2001:db8:2::2 \ In router_mpath_nh_res.sh line 282: -d $MZ_DELAY -t udp "$ports" ^-------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: -d "$MZ_DELAY" -t udp "$ports" In router_mpath_nh_res.sh line 285: t1_rp12=$(link_stats_tx_packets_get $rp12) ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: t1_rp12=$(link_stats_tx_packets_get "$rp12") In router_mpath_nh_res.sh line 286: t1_rp13=$(link_stats_tx_packets_get $rp13) ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: t1_rp13=$(link_stats_tx_packets_get "$rp13") In router_mpath_nh_res.sh line 288: let "packets_rp12 = $t1_rp12 - $t0_rp12" ^-- SC2219 (style): Instead of 'let expr', prefer (( expr )) . In router_mpath_nh_res.sh line 289: let "packets_rp13 = $t1_rp13 - $t0_rp13" ^-- SC2219 (style): Instead of 'let expr', prefer (( expr )) . In router_mpath_nh_res.sh line 290: multipath_eval "$desc" $weight_rp12 $weight_rp13 $packets_rp12 $packets_rp13 ^----------^ 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 "$desc" "$weight_rp12" "$weight_rp13" "$packets_rp12" "$packets_rp13" In router_mpath_nh_res.sh line 468: ping_test $h1 198.51.100.2 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ping_test "$h1" 198.51.100.2 In router_mpath_nh_res.sh line 473: 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 router_mpath_nh_res.sh line 477: if [ $? -ne 0 ]; then ^-- SC2181 (style): Check exit code directly with e.g. 'if ! mycmd;', not indirectly with $?. In router_mpath_nh_res.sh line 490: 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/SC2181 -- Check exit code directly with e.g... https://www.shellcheck.net/wiki/SC2219 -- Instead of 'let expr', prefer (( ... Checking tools/testing/selftests/net/forwarding/router_mpath_seed.sh - 3003e9ab3cecca20397778da832f15e10234bac5b1e554415eea88666fb3db5b In router_mpath_seed.sh line 38: 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 router_mpath_seed.sh line 39: ip -4 route add 192.0.2.32/28 vrf v$h1 nexthop via 192.0.2.2 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip -4 route add 192.0.2.32/28 vrf v"$h1" nexthop via 192.0.2.2 In router_mpath_seed.sh line 40: ip -6 route add 2001:db8:3::/64 vrf v$h1 nexthop via 2001:db8:1::2 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip -6 route add 2001:db8:3::/64 vrf v"$h1" nexthop via 2001:db8:1::2 In router_mpath_seed.sh line 45: ip -6 route del 2001:db8:3::/64 vrf v$h1 nexthop via 2001:db8:1::2 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip -6 route del 2001:db8:3::/64 vrf v"$h1" nexthop via 2001:db8:1::2 In router_mpath_seed.sh line 46: ip -4 route del 192.0.2.32/28 vrf v$h1 nexthop via 192.0.2.2 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip -4 route del 192.0.2.32/28 vrf v"$h1" nexthop via 192.0.2.2 In router_mpath_seed.sh line 47: 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 router_mpath_seed.sh line 52: simple_if_init $h2 192.0.2.34/28 2001:db8:3::2/64 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: simple_if_init "$h2" 192.0.2.34/28 2001:db8:3::2/64 In router_mpath_seed.sh line 53: ip -4 route add 192.0.2.0/28 vrf v$h2 nexthop via 192.0.2.33 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip -4 route add 192.0.2.0/28 vrf v"$h2" nexthop via 192.0.2.33 In router_mpath_seed.sh line 54: ip -6 route add 2001:db8:1::/64 vrf v$h2 nexthop via 2001:db8:3::1 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip -6 route add 2001:db8:1::/64 vrf v"$h2" nexthop via 2001:db8:3::1 In router_mpath_seed.sh line 59: ip -6 route del 2001:db8:1::/64 vrf v$h2 nexthop via 2001:db8:3::1 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip -6 route del 2001:db8:1::/64 vrf v"$h2" nexthop via 2001:db8:3::1 In router_mpath_seed.sh line 60: ip -4 route del 192.0.2.0/28 vrf v$h2 nexthop via 192.0.2.33 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip -4 route del 192.0.2.0/28 vrf v"$h2" nexthop via 192.0.2.33 In router_mpath_seed.sh line 61: simple_if_fini $h2 192.0.2.34/28 2001:db8:3::2/64 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: simple_if_fini "$h2" 192.0.2.34/28 2001:db8:3::2/64 In router_mpath_seed.sh line 66: simple_if_init $rp11 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 "$rp11" 192.0.2.2/28 2001:db8:1::2/64 In router_mpath_seed.sh line 67: __simple_if_init $rp12 v$rp11 192.0.2.17/28 2001:db8:2::17/64 ^---^ 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 "$rp12" v"$rp11" 192.0.2.17/28 2001:db8:2::17/64 In router_mpath_seed.sh line 72: __simple_if_fini $rp12 192.0.2.17/28 2001:db8:2::17/64 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: __simple_if_fini "$rp12" 192.0.2.17/28 2001:db8:2::17/64 In router_mpath_seed.sh line 73: simple_if_fini $rp11 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 "$rp11" 192.0.2.2/28 2001:db8:1::2/64 In router_mpath_seed.sh line 78: simple_if_init $rp21 192.0.2.33/28 2001:db8:3::1/64 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: simple_if_init "$rp21" 192.0.2.33/28 2001:db8:3::1/64 In router_mpath_seed.sh line 79: __simple_if_init $rp22 v$rp21 192.0.2.18/28 2001:db8:2::18/64 ^---^ 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 "$rp22" v"$rp21" 192.0.2.18/28 2001:db8:2::18/64 In router_mpath_seed.sh line 80: ip -4 route add 192.0.2.0/28 vrf v$rp21 nexthop via 192.0.2.17 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip -4 route add 192.0.2.0/28 vrf v"$rp21" nexthop via 192.0.2.17 In router_mpath_seed.sh line 81: ip -6 route add 2001:db8:1::/64 vrf v$rp21 nexthop via 2001:db8:2::17 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip -6 route add 2001:db8:1::/64 vrf v"$rp21" nexthop via 2001:db8:2::17 In router_mpath_seed.sh line 86: ip -6 route del 2001:db8:1::/64 vrf v$rp21 nexthop via 2001:db8:2::17 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip -6 route del 2001:db8:1::/64 vrf v"$rp21" nexthop via 2001:db8:2::17 In router_mpath_seed.sh line 87: ip -4 route del 192.0.2.0/28 vrf v$rp21 nexthop via 192.0.2.17 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip -4 route del 192.0.2.0/28 vrf v"$rp21" nexthop via 192.0.2.17 In router_mpath_seed.sh line 88: __simple_if_fini $rp22 192.0.2.18/28 2001:db8:2::18/64 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: __simple_if_fini "$rp22" 192.0.2.18/28 2001:db8:2::18/64 In router_mpath_seed.sh line 89: simple_if_fini $rp21 192.0.2.33/28 2001:db8:3::1/64 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: simple_if_fini "$rp21" 192.0.2.33/28 2001:db8:3::1/64 In router_mpath_seed.sh line 96: ip nexthop add id $((1000 + i)) via 192.0.2.18 dev $rp12 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip nexthop add id $((1000 + i)) via 192.0.2.18 dev "$rp12" In router_mpath_seed.sh line 97: ip nexthop add id $((2000 + i)) via 2001:db8:2::18 dev $rp12 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip nexthop add id $((2000 + i)) via 2001:db8:2::18 dev "$rp12" In router_mpath_seed.sh line 102: ip -4 route add 192.0.2.32/28 vrf v$rp11 nhid 1000 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip -4 route add 192.0.2.32/28 vrf v"$rp11" nhid 1000 In router_mpath_seed.sh line 103: ip -6 route add 2001:db8:3::/64 vrf v$rp11 nhid 2000 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip -6 route add 2001:db8:3::/64 vrf v"$rp11" nhid 2000 In router_mpath_seed.sh line 110: ip -6 route del 2001:db8:3::/64 vrf v$rp11 nhid 2000 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip -6 route del 2001:db8:3::/64 vrf v"$rp11" nhid 2000 In router_mpath_seed.sh line 111: ip -4 route del 192.0.2.32/28 vrf v$rp11 nhid 1000 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip -4 route del 192.0.2.32/28 vrf v"$rp11" nhid 1000 In router_mpath_seed.sh line 163: ping_test $h1 192.0.2.34 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ping_test "$h1" 192.0.2.34 In router_mpath_seed.sh line 168: ping6_test $h1 2001:db8:3::2 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ping6_test "$h1" 2001:db8:3::2 In router_mpath_seed.sh line 178: sysctl -qw net.ipv4.fib_multipath_hash_seed=$seed_w ^-----^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: sysctl -qw net.ipv4.fib_multipath_hash_seed="$seed_w" In router_mpath_seed.sh line 179: local seed_r=$(sysctl -n net.ipv4.fib_multipath_hash_seed) ^----^ SC2155 (warning): Declare and assign separately to avoid masking return values. In router_mpath_seed.sh line 191: ip -j -s -s nexthop show id $group_id | ^-------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip -j -s -s nexthop show id "$group_id" | In router_mpath_seed.sh line 213: local s0=$(nh_stats_snapshot $group_id) ^-- 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 s0=$(nh_stats_snapshot "$group_id") In router_mpath_seed.sh line 215: local s1=$(nh_stats_snapshot $group_id) ^-- 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 s1=$(nh_stats_snapshot "$group_id") In router_mpath_seed.sh line 226: sysctl -qw net.ipv4.fib_multipath_hash_seed=$seed ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: sysctl -qw net.ipv4.fib_multipath_hash_seed="$seed" In router_mpath_seed.sh line 241: local act=$(probe_seed $group_id $((999331 * ii)) "${mz[@]}") ^-^ 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 act=$(probe_seed "$group_id" $((999331 * ii)) "${mz[@]}") In router_mpath_seed.sh line 245: local tally_str="${tally[@]}" ^-----------^ SC2124 (warning): Assigning an array to a string! Assign as array, or use * instead of @ to concatenate. In router_mpath_seed.sh line 258: $MZ $h1 -A 192.0.2.1 -B 192.0.2.34 -q \ ^-^ 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 192.0.2.1 -B 192.0.2.34 -q \ In router_mpath_seed.sh line 265: $MZ -6 $h1 -A 2001:db8:1::1 -B 2001:db8:3::2 -q \ ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: "$MZ" -6 "$h1" -A 2001:db8:1::1 -B 2001:db8:3::2 -q \ In router_mpath_seed.sh line 292: local act_ini=$(probe_nh $group_id "${mz[@]}") ^-----^ 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 act_ini=$(probe_nh "$group_id" "${mz[@]}") In router_mpath_seed.sh line 294: local act_0_0=$(probe_seed $group_id $seed_0 "${mz[@]}") ^-----^ SC2155 (warning): Declare and assign separately to avoid masking return values. ^-------^ SC2086 (info): Double quote to prevent globbing and word splitting. ^-----^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: local act_0_0=$(probe_seed "$group_id" "$seed_0" "${mz[@]}") In router_mpath_seed.sh line 295: local act_1_0=$(probe_seed $group_id $seed_1 "${mz[@]}") ^-----^ SC2155 (warning): Declare and assign separately to avoid masking return values. ^-------^ SC2086 (info): Double quote to prevent globbing and word splitting. ^-----^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: local act_1_0=$(probe_seed "$group_id" "$seed_1" "${mz[@]}") In router_mpath_seed.sh line 296: local act_2_0=$(probe_seed $group_id $seed_2 "${mz[@]}") ^-----^ SC2155 (warning): Declare and assign separately to avoid masking return values. ^-------^ SC2086 (info): Double quote to prevent globbing and word splitting. ^-----^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: local act_2_0=$(probe_seed "$group_id" "$seed_2" "${mz[@]}") In router_mpath_seed.sh line 298: local act_0_1=$(probe_seed $group_id $seed_0 "${mz[@]}") ^-----^ SC2155 (warning): Declare and assign separately to avoid masking return values. ^-------^ SC2086 (info): Double quote to prevent globbing and word splitting. ^-----^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: local act_0_1=$(probe_seed "$group_id" "$seed_0" "${mz[@]}") In router_mpath_seed.sh line 299: local act_1_1=$(probe_seed $group_id $seed_1 "${mz[@]}") ^-----^ SC2155 (warning): Declare and assign separately to avoid masking return values. ^-------^ SC2086 (info): Double quote to prevent globbing and word splitting. ^-----^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: local act_1_1=$(probe_seed "$group_id" "$seed_1" "${mz[@]}") In router_mpath_seed.sh line 300: local act_2_1=$(probe_seed $group_id $seed_2 "${mz[@]}") ^-----^ SC2155 (warning): Declare and assign separately to avoid masking return values. ^-------^ SC2086 (info): Double quote to prevent globbing and word splitting. ^-----^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: local act_2_1=$(probe_seed "$group_id" "$seed_2" "${mz[@]}") In router_mpath_seed.sh line 302: check_mpath_seed_stability initial $act_ini $act_0_0 ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: check_mpath_seed_stability initial "$act_ini" "$act_0_0" In router_mpath_seed.sh line 303: check_mpath_seed_stability $seed_0 $act_0_0 $act_0_1 ^-----^ 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: check_mpath_seed_stability "$seed_0" "$act_0_0" "$act_0_1" In router_mpath_seed.sh line 304: check_mpath_seed_stability $seed_1 $act_1_0 $act_1_1 ^-----^ 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: check_mpath_seed_stability "$seed_1" "$act_1_0" "$act_1_1" In router_mpath_seed.sh line 305: check_mpath_seed_stability $seed_2 $act_2_0 $act_2_1 ^-----^ 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: check_mpath_seed_stability "$seed_2" "$act_2_0" "$act_2_1" In router_mpath_seed.sh line 314: $MZ $h1 -A 192.0.2.1 -B 192.0.2.34 -q \ ^-^ 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 192.0.2.1 -B 192.0.2.34 -q \ In router_mpath_seed.sh line 321: $MZ -6 $h1 -A 2001:db8:1::1 -B 2001:db8:3::2 -q \ ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: "$MZ" -6 "$h1" -A 2001:db8:1::1 -B 2001:db8:3::2 -q \ In router_mpath_seed.sh line 333: 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/SC2124 -- Assigning an array to a string! A... https://www.shellcheck.net/wiki/SC2155 -- Declare and assign separately to ... https://www.shellcheck.net/wiki/SC2086 -- Double quote to prevent globbing ... Checking tools/testing/selftests/net/forwarding/router_multicast.sh - eaea65454794f95a871bd85bf77e90fbaef73133d6d4ff03367965484c92df80 In router_multicast.sh line 38: simple_if_init $h1 198.51.100.2/28 2001:db8:1::2/64 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: simple_if_init "$h1" 198.51.100.2/28 2001:db8:1::2/64 In router_multicast.sh line 40: ip route add 198.51.100.16/28 vrf v$h1 nexthop via 198.51.100.1 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip route add 198.51.100.16/28 vrf v"$h1" nexthop via 198.51.100.1 In router_multicast.sh line 41: ip route add 198.51.100.32/28 vrf v$h1 nexthop via 198.51.100.1 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip route add 198.51.100.32/28 vrf v"$h1" nexthop via 198.51.100.1 In router_multicast.sh line 43: ip route add 2001:db8:2::/64 vrf v$h1 nexthop via 2001:db8:1::1 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip route add 2001:db8:2::/64 vrf v"$h1" nexthop via 2001:db8:1::1 In router_multicast.sh line 44: ip route add 2001:db8:3::/64 vrf v$h1 nexthop via 2001:db8:1::1 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip route add 2001:db8:3::/64 vrf v"$h1" nexthop via 2001:db8:1::1 In router_multicast.sh line 46: tc qdisc add dev $h1 ingress ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc qdisc add dev "$h1" ingress In router_multicast.sh line 51: tc qdisc del dev $h1 ingress ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc qdisc del dev "$h1" ingress In router_multicast.sh line 53: ip route del 2001:db8:3::/64 vrf v$h1 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip route del 2001:db8:3::/64 vrf v"$h1" In router_multicast.sh line 54: ip route del 2001:db8:2::/64 vrf v$h1 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip route del 2001:db8:2::/64 vrf v"$h1" In router_multicast.sh line 56: ip route del 198.51.100.32/28 vrf v$h1 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip route del 198.51.100.32/28 vrf v"$h1" In router_multicast.sh line 57: ip route del 198.51.100.16/28 vrf v$h1 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip route del 198.51.100.16/28 vrf v"$h1" In router_multicast.sh line 59: simple_if_fini $h1 198.51.100.2/28 2001:db8:1::2/64 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: simple_if_fini "$h1" 198.51.100.2/28 2001:db8:1::2/64 In router_multicast.sh line 64: simple_if_init $h2 198.51.100.18/28 2001:db8:2::2/64 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: simple_if_init "$h2" 198.51.100.18/28 2001:db8:2::2/64 In router_multicast.sh line 66: ip route add 198.51.100.0/28 vrf v$h2 nexthop via 198.51.100.17 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip route add 198.51.100.0/28 vrf v"$h2" nexthop via 198.51.100.17 In router_multicast.sh line 67: ip route add 198.51.100.32/28 vrf v$h2 nexthop via 198.51.100.17 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip route add 198.51.100.32/28 vrf v"$h2" nexthop via 198.51.100.17 In router_multicast.sh line 69: ip route add 2001:db8:1::/64 vrf v$h2 nexthop via 2001:db8:2::1 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip route add 2001:db8:1::/64 vrf v"$h2" nexthop via 2001:db8:2::1 In router_multicast.sh line 70: ip route add 2001:db8:3::/64 vrf v$h2 nexthop via 2001:db8:2::1 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip route add 2001:db8:3::/64 vrf v"$h2" nexthop via 2001:db8:2::1 In router_multicast.sh line 72: tc qdisc add dev $h2 ingress ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc qdisc add dev "$h2" ingress In router_multicast.sh line 77: tc qdisc del dev $h2 ingress ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc qdisc del dev "$h2" ingress In router_multicast.sh line 79: ip route del 2001:db8:3::/64 vrf v$h2 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip route del 2001:db8:3::/64 vrf v"$h2" In router_multicast.sh line 80: ip route del 2001:db8:1::/64 vrf v$h2 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip route del 2001:db8:1::/64 vrf v"$h2" In router_multicast.sh line 82: ip route del 198.51.100.32/28 vrf v$h2 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip route del 198.51.100.32/28 vrf v"$h2" In router_multicast.sh line 83: ip route del 198.51.100.0/28 vrf v$h2 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip route del 198.51.100.0/28 vrf v"$h2" In router_multicast.sh line 85: simple_if_fini $h2 198.51.100.18/28 2001:db8:2::2/64 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: simple_if_fini "$h2" 198.51.100.18/28 2001:db8:2::2/64 In router_multicast.sh line 90: simple_if_init $h3 198.51.100.34/28 2001:db8:3::2/64 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: simple_if_init "$h3" 198.51.100.34/28 2001:db8:3::2/64 In router_multicast.sh line 92: ip route add 198.51.100.0/28 vrf v$h3 nexthop via 198.51.100.33 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip route add 198.51.100.0/28 vrf v"$h3" nexthop via 198.51.100.33 In router_multicast.sh line 93: ip route add 198.51.100.16/28 vrf v$h3 nexthop via 198.51.100.33 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip route add 198.51.100.16/28 vrf v"$h3" nexthop via 198.51.100.33 In router_multicast.sh line 95: ip route add 2001:db8:1::/64 vrf v$h3 nexthop via 2001:db8:3::1 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip route add 2001:db8:1::/64 vrf v"$h3" nexthop via 2001:db8:3::1 In router_multicast.sh line 96: ip route add 2001:db8:2::/64 vrf v$h3 nexthop via 2001:db8:3::1 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip route add 2001:db8:2::/64 vrf v"$h3" nexthop via 2001:db8:3::1 In router_multicast.sh line 98: tc qdisc add dev $h3 ingress ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc qdisc add dev "$h3" ingress In router_multicast.sh line 103: tc qdisc del dev $h3 ingress ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc qdisc del dev "$h3" ingress In router_multicast.sh line 105: ip route del 2001:db8:2::/64 vrf v$h3 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip route del 2001:db8:2::/64 vrf v"$h3" In router_multicast.sh line 106: ip route del 2001:db8:1::/64 vrf v$h3 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip route del 2001:db8:1::/64 vrf v"$h3" In router_multicast.sh line 108: ip route del 198.51.100.16/28 vrf v$h3 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip route del 198.51.100.16/28 vrf v"$h3" In router_multicast.sh line 109: ip route del 198.51.100.0/28 vrf v$h3 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip route del 198.51.100.0/28 vrf v"$h3" In router_multicast.sh line 111: simple_if_fini $h3 198.51.100.34/28 2001:db8:3::2/64 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: simple_if_fini "$h3" 198.51.100.34/28 2001:db8:3::2/64 In router_multicast.sh line 116: ip link set dev $rp1 up ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link set dev "$rp1" up In router_multicast.sh line 117: ip link set dev $rp2 up ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link set dev "$rp2" up In router_multicast.sh line 118: ip link set dev $rp3 up ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link set dev "$rp3" up In router_multicast.sh line 120: ip address add 198.51.100.1/28 dev $rp1 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip address add 198.51.100.1/28 dev "$rp1" In router_multicast.sh line 121: ip address add 198.51.100.17/28 dev $rp2 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip address add 198.51.100.17/28 dev "$rp2" In router_multicast.sh line 122: ip address add 198.51.100.33/28 dev $rp3 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip address add 198.51.100.33/28 dev "$rp3" In router_multicast.sh line 124: ip address add 2001:db8:1::1/64 dev $rp1 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip address add 2001:db8:1::1/64 dev "$rp1" In router_multicast.sh line 125: ip address add 2001:db8:2::1/64 dev $rp2 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip address add 2001:db8:2::1/64 dev "$rp2" In router_multicast.sh line 126: ip address add 2001:db8:3::1/64 dev $rp3 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip address add 2001:db8:3::1/64 dev "$rp3" In router_multicast.sh line 128: tc qdisc add dev $rp3 ingress ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc qdisc add dev "$rp3" ingress In router_multicast.sh line 133: tc qdisc del dev $rp3 ingress ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc qdisc del dev "$rp3" ingress In router_multicast.sh line 135: ip address del 2001:db8:3::1/64 dev $rp3 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip address del 2001:db8:3::1/64 dev "$rp3" In router_multicast.sh line 136: ip address del 2001:db8:2::1/64 dev $rp2 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip address del 2001:db8:2::1/64 dev "$rp2" In router_multicast.sh line 137: ip address del 2001:db8:1::1/64 dev $rp1 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip address del 2001:db8:1::1/64 dev "$rp1" In router_multicast.sh line 139: ip address del 198.51.100.33/28 dev $rp3 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip address del 198.51.100.33/28 dev "$rp3" In router_multicast.sh line 140: ip address del 198.51.100.17/28 dev $rp2 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip address del 198.51.100.17/28 dev "$rp2" In router_multicast.sh line 141: ip address del 198.51.100.1/28 dev $rp1 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip address del 198.51.100.1/28 dev "$rp1" In router_multicast.sh line 143: ip link set dev $rp3 down ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link set dev "$rp3" down In router_multicast.sh line 144: ip link set dev $rp2 down ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link set dev "$rp2" down In router_multicast.sh line 145: ip link set dev $rp1 down ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link set dev "$rp1" down In router_multicast.sh line 159: adf_mcd_start || exit "$EXIT_STATUS" ^-----------^ SC2119 (info): Use adf_mcd_start "$@" if function's $1 should mean script's $1. In router_multicast.sh line 217: tc filter add dev $h2 ingress protocol ip pref 1 handle 122 flower \ ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter add dev "$h2" ingress protocol ip pref 1 handle 122 flower \ In router_multicast.sh line 219: tc filter add dev $h3 ingress protocol ip pref 1 handle 133 flower \ ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter add dev "$h3" ingress protocol ip pref 1 handle 133 flower \ In router_multicast.sh line 222: create_mcast_sg $rp1 198.51.100.2 225.1.2.3 $rp2 $rp3 ^--^ 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: create_mcast_sg "$rp1" 198.51.100.2 225.1.2.3 "$rp2" "$rp3" In router_multicast.sh line 225: $MZ $h1 -c 5 -p 128 -t udp -a 00:11:22:33:44:55 -b 01:00:5e:01:02:03 \ ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: $MZ "$h1" -c 5 -p 128 -t udp -a 00:11:22:33:44:55 -b 01:00:5e:01:02:03 \ In router_multicast.sh line 233: delete_mcast_sg $rp1 198.51.100.2 225.1.2.3 $rp2 $rp3 ^--^ 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: delete_mcast_sg "$rp1" 198.51.100.2 225.1.2.3 "$rp2" "$rp3" In router_multicast.sh line 235: $MZ $h1 -c 5 -p 128 -t udp -a 00:11:22:33:44:55 -b 01:00:5e:01:02:03 \ ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: $MZ "$h1" -c 5 -p 128 -t udp -a 00:11:22:33:44:55 -b 01:00:5e:01:02:03 \ In router_multicast.sh line 243: tc filter del dev $h3 ingress protocol ip pref 1 handle 133 flower ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter del dev "$h3" ingress protocol ip pref 1 handle 133 flower In router_multicast.sh line 244: tc filter del dev $h2 ingress protocol ip pref 1 handle 122 flower ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter del dev "$h2" ingress protocol ip pref 1 handle 122 flower In router_multicast.sh line 257: tc filter add dev $h2 ingress protocol ipv6 pref 1 handle 122 flower \ ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter add dev "$h2" ingress protocol ipv6 pref 1 handle 122 flower \ In router_multicast.sh line 259: tc filter add dev $h3 ingress protocol ipv6 pref 1 handle 133 flower \ ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter add dev "$h3" ingress protocol ipv6 pref 1 handle 133 flower \ In router_multicast.sh line 262: create_mcast_sg $rp1 2001:db8:1::2 ff0e::3 $rp2 $rp3 ^--^ 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: create_mcast_sg "$rp1" 2001:db8:1::2 ff0e::3 "$rp2" "$rp3" In router_multicast.sh line 265: $MZ $h1 -6 -c 5 -p 128 -t udp -a 00:11:22:33:44:55 \ ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: $MZ "$h1" -6 -c 5 -p 128 -t udp -a 00:11:22:33:44:55 \ In router_multicast.sh line 273: delete_mcast_sg $rp1 2001:db8:1::2 ff0e::3 $rp2 $rp3 ^--^ 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: delete_mcast_sg "$rp1" 2001:db8:1::2 ff0e::3 "$rp2" "$rp3" In router_multicast.sh line 275: $MZ $h1 -6 -c 5 -p 128 -t udp -a 00:11:22:33:44:55 \ ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: $MZ "$h1" -6 -c 5 -p 128 -t udp -a 00:11:22:33:44:55 \ In router_multicast.sh line 283: tc filter del dev $h3 ingress protocol ipv6 pref 1 handle 133 flower ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter del dev "$h3" ingress protocol ipv6 pref 1 handle 133 flower In router_multicast.sh line 284: tc filter del dev $h2 ingress protocol ipv6 pref 1 handle 122 flower ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter del dev "$h2" ingress protocol ipv6 pref 1 handle 122 flower In router_multicast.sh line 300: tc filter add dev $h1 ingress protocol ip pref 1 handle 1 flower \ ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter add dev "$h1" ingress protocol ip pref 1 handle 1 flower \ In router_multicast.sh line 302: tc filter add dev $h2 ingress protocol ip pref 1 handle 1 flower \ ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter add dev "$h2" ingress protocol ip pref 1 handle 1 flower \ In router_multicast.sh line 304: tc filter add dev $h3 ingress protocol ip pref 1 handle 1 flower \ ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter add dev "$h3" ingress protocol ip pref 1 handle 1 flower \ In router_multicast.sh line 306: tc filter add dev $rp3 ingress protocol ip pref 1 handle 1 flower \ ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter add dev "$rp3" ingress protocol ip pref 1 handle 1 flower \ In router_multicast.sh line 309: create_mcast_sg $rp1 198.51.100.2 225.1.2.3 $rp2 $rp3 ^--^ 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: create_mcast_sg "$rp1" 198.51.100.2 225.1.2.3 "$rp2" "$rp3" In router_multicast.sh line 311: $MZ $h1 -c 5 -p 128 -t udp "ttl=10,sp=54321,dp=12345" \ ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: $MZ "$h1" -c 5 -p 128 -t udp "ttl=10,sp=54321,dp=12345" \ In router_multicast.sh line 320: $MZ $h3 -c 5 -p 128 -t udp "ttl=10,sp=54321,dp=12345" \ ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: $MZ "$h3" -c 5 -p 128 -t udp "ttl=10,sp=54321,dp=12345" \ In router_multicast.sh line 331: delete_mcast_sg $rp1 198.51.100.2 225.1.2.3 $rp2 $rp3 ^--^ 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: delete_mcast_sg "$rp1" 198.51.100.2 225.1.2.3 "$rp2" "$rp3" In router_multicast.sh line 333: tc filter del dev $rp3 ingress protocol ip pref 1 handle 1 flower ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter del dev "$rp3" ingress protocol ip pref 1 handle 1 flower In router_multicast.sh line 334: tc filter del dev $h3 ingress protocol ip pref 1 handle 1 flower ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter del dev "$h3" ingress protocol ip pref 1 handle 1 flower In router_multicast.sh line 335: tc filter del dev $h2 ingress protocol ip pref 1 handle 1 flower ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter del dev "$h2" ingress protocol ip pref 1 handle 1 flower In router_multicast.sh line 336: tc filter del dev $h1 ingress protocol ip pref 1 handle 1 flower ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter del dev "$h1" ingress protocol ip pref 1 handle 1 flower In router_multicast.sh line 345: tc filter add dev $h1 ingress protocol ipv6 pref 1 handle 1 flower \ ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter add dev "$h1" ingress protocol ipv6 pref 1 handle 1 flower \ In router_multicast.sh line 347: tc filter add dev $h2 ingress protocol ipv6 pref 1 handle 1 flower \ ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter add dev "$h2" ingress protocol ipv6 pref 1 handle 1 flower \ In router_multicast.sh line 349: tc filter add dev $h3 ingress protocol ipv6 pref 1 handle 1 flower \ ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter add dev "$h3" ingress protocol ipv6 pref 1 handle 1 flower \ In router_multicast.sh line 351: tc filter add dev $rp3 ingress protocol ipv6 pref 1 handle 1 flower \ ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter add dev "$rp3" ingress protocol ipv6 pref 1 handle 1 flower \ In router_multicast.sh line 354: create_mcast_sg $rp1 2001:db8:1::2 ff0e::3 $rp2 $rp3 ^--^ 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: create_mcast_sg "$rp1" 2001:db8:1::2 ff0e::3 "$rp2" "$rp3" In router_multicast.sh line 356: $MZ $h1 -6 -c 5 -p 128 -t udp "ttl=10,sp=54321,dp=12345" \ ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: $MZ "$h1" -6 -c 5 -p 128 -t udp "ttl=10,sp=54321,dp=12345" \ In router_multicast.sh line 365: $MZ $h3 -6 -c 5 -p 128 -t udp "ttl=10,sp=54321,dp=12345" \ ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: $MZ "$h3" -6 -c 5 -p 128 -t udp "ttl=10,sp=54321,dp=12345" \ In router_multicast.sh line 376: delete_mcast_sg $rp1 2001:db8:1::2 ff0e::3 $rp2 $rp3 ^--^ 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: delete_mcast_sg "$rp1" 2001:db8:1::2 ff0e::3 "$rp2" "$rp3" In router_multicast.sh line 378: tc filter del dev $rp3 ingress protocol ipv6 pref 1 handle 1 flower ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter del dev "$rp3" ingress protocol ipv6 pref 1 handle 1 flower In router_multicast.sh line 379: tc filter del dev $h3 ingress protocol ipv6 pref 1 handle 1 flower ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter del dev "$h3" ingress protocol ipv6 pref 1 handle 1 flower In router_multicast.sh line 380: tc filter del dev $h2 ingress protocol ipv6 pref 1 handle 1 flower ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter del dev "$h2" ingress protocol ipv6 pref 1 handle 1 flower In router_multicast.sh line 381: tc filter del dev $h1 ingress protocol ipv6 pref 1 handle 1 flower ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter del dev "$h1" ingress protocol ipv6 pref 1 handle 1 flower In router_multicast.sh line 396: tc filter add dev $h2 ingress protocol ip pref 1 handle 1 flower \ ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter add dev "$h2" ingress protocol ip pref 1 handle 1 flower \ In router_multicast.sh line 398: tc filter add dev $h3 ingress protocol ip pref 1 handle 1 flower \ ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter add dev "$h3" ingress protocol ip pref 1 handle 1 flower \ In router_multicast.sh line 402: $MZ $h1 -c 1 -p 128 -t udp "ttl=10,sp=54321,dp=12345" \ ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: $MZ "$h1" -c 1 -p 128 -t udp "ttl=10,sp=54321,dp=12345" \ In router_multicast.sh line 412: create_mcast_sg $rp1 0.0.0.0 225.1.2.3 $rp2 $rp3 ^--^ 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: create_mcast_sg "$rp1" 0.0.0.0 225.1.2.3 "$rp2" "$rp3" In router_multicast.sh line 414: $MZ $h1 -c 1 -p 128 -t udp "ttl=10,sp=54321,dp=12345" \ ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: $MZ "$h1" -c 1 -p 128 -t udp "ttl=10,sp=54321,dp=12345" \ In router_multicast.sh line 423: delete_mcast_sg $rp1 0.0.0.0 225.1.2.3 $rp2 $rp3 ^--^ 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: delete_mcast_sg "$rp1" 0.0.0.0 225.1.2.3 "$rp2" "$rp3" In router_multicast.sh line 425: tc filter del dev $h3 ingress protocol ip pref 1 handle 1 flower ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter del dev "$h3" ingress protocol ip pref 1 handle 1 flower In router_multicast.sh line 426: tc filter del dev $h2 ingress protocol ip pref 1 handle 1 flower ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter del dev "$h2" ingress protocol ip pref 1 handle 1 flower In router_multicast.sh line 441: tc filter add dev $h2 ingress protocol ipv6 pref 1 handle 1 flower \ ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter add dev "$h2" ingress protocol ipv6 pref 1 handle 1 flower \ In router_multicast.sh line 443: tc filter add dev $h3 ingress protocol ipv6 pref 1 handle 1 flower \ ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter add dev "$h3" ingress protocol ipv6 pref 1 handle 1 flower \ In router_multicast.sh line 447: $MZ $h1 -6 -c 1 -p 128 -t udp "ttl=10,sp=54321,dp=12345" \ ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: $MZ "$h1" -6 -c 1 -p 128 -t udp "ttl=10,sp=54321,dp=12345" \ In router_multicast.sh line 457: create_mcast_sg $rp1 :: ff0e::3 $rp2 $rp3 ^--^ 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: create_mcast_sg "$rp1" :: ff0e::3 "$rp2" "$rp3" In router_multicast.sh line 459: $MZ $h1 -6 -c 1 -p 128 -t udp "ttl=10,sp=54321,dp=12345" \ ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: $MZ "$h1" -6 -c 1 -p 128 -t udp "ttl=10,sp=54321,dp=12345" \ In router_multicast.sh line 468: delete_mcast_sg $rp1 :: ff0e::3 $rp2 $rp3 ^--^ 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: delete_mcast_sg "$rp1" :: ff0e::3 "$rp2" "$rp3" In router_multicast.sh line 470: tc filter del dev $h3 ingress protocol ipv6 pref 1 handle 1 flower ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter del dev "$h3" ingress protocol ipv6 pref 1 handle 1 flower In router_multicast.sh line 471: tc filter del dev $h2 ingress protocol ipv6 pref 1 handle 1 flower ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter del dev "$h2" ingress protocol ipv6 pref 1 handle 1 flower In router_multicast.sh line 483: 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/SC2119 -- Use adf_mcd_start "$@" if functio... Checking tools/testing/selftests/net/forwarding/router_multipath.sh - a0e66bf90dcc7ad3a5fecc851374ca1fd8554e32cf4df9bddab6ad8ccee99e89 In router_multipath.sh line 11: ip link set dev $h1 master vrf-h1 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link set dev "$h1" master vrf-h1 In router_multipath.sh line 14: ip link set dev $h1 up ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link set dev "$h1" up In router_multipath.sh line 16: ip address add 192.0.2.2/24 dev $h1 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip address add 192.0.2.2/24 dev "$h1" In router_multipath.sh line 17: ip address add 2001:db8:1::2/64 dev $h1 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip address add 2001:db8:1::2/64 dev "$h1" In router_multipath.sh line 28: ip address del 2001:db8:1::2/64 dev $h1 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip address del 2001:db8:1::2/64 dev "$h1" In router_multipath.sh line 29: ip address del 192.0.2.2/24 dev $h1 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip address del 192.0.2.2/24 dev "$h1" In router_multipath.sh line 31: ip link set dev $h1 down ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link set dev "$h1" down In router_multipath.sh line 38: ip link set dev $h2 master vrf-h2 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link set dev "$h2" master vrf-h2 In router_multipath.sh line 41: ip link set dev $h2 up ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link set dev "$h2" up In router_multipath.sh line 43: ip address add 198.51.100.2/24 dev $h2 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip address add 198.51.100.2/24 dev "$h2" In router_multipath.sh line 44: ip address add 2001:db8:2::2/64 dev $h2 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip address add 2001:db8:2::2/64 dev "$h2" In router_multipath.sh line 55: ip address del 2001:db8:2::2/64 dev $h2 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip address del 2001:db8:2::2/64 dev "$h2" In router_multipath.sh line 56: ip address del 198.51.100.2/24 dev $h2 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip address del 198.51.100.2/24 dev "$h2" In router_multipath.sh line 58: ip link set dev $h2 down ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link set dev "$h2" down In router_multipath.sh line 65: ip link set dev $rp11 master vrf-r1 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link set dev "$rp11" master vrf-r1 In router_multipath.sh line 66: ip link set dev $rp12 master vrf-r1 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link set dev "$rp12" master vrf-r1 In router_multipath.sh line 67: ip link set dev $rp13 master vrf-r1 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link set dev "$rp13" master vrf-r1 In router_multipath.sh line 70: ip link set dev $rp11 up ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link set dev "$rp11" up In router_multipath.sh line 71: ip link set dev $rp12 up ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link set dev "$rp12" up In router_multipath.sh line 72: ip link set dev $rp13 up ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link set dev "$rp13" up In router_multipath.sh line 74: ip address add 192.0.2.1/24 dev $rp11 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip address add 192.0.2.1/24 dev "$rp11" In router_multipath.sh line 75: ip address add 2001:db8:1::1/64 dev $rp11 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip address add 2001:db8:1::1/64 dev "$rp11" In router_multipath.sh line 77: ip address add 169.254.2.12/24 dev $rp12 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip address add 169.254.2.12/24 dev "$rp12" In router_multipath.sh line 78: ip address add fe80:2::12/64 dev $rp12 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip address add fe80:2::12/64 dev "$rp12" In router_multipath.sh line 80: ip address add 169.254.3.13/24 dev $rp13 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip address add 169.254.3.13/24 dev "$rp13" In router_multipath.sh line 81: ip address add fe80:3::13/64 dev $rp13 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip address add fe80:3::13/64 dev "$rp13" In router_multipath.sh line 84: nexthop via 169.254.2.22 dev $rp12 \ ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: nexthop via 169.254.2.22 dev "$rp12" \ In router_multipath.sh line 85: nexthop via 169.254.3.23 dev $rp13 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: nexthop via 169.254.3.23 dev "$rp13" In router_multipath.sh line 87: nexthop via fe80:2::22 dev $rp12 \ ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: nexthop via fe80:2::22 dev "$rp12" \ In router_multipath.sh line 88: nexthop via fe80:3::23 dev $rp13 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: nexthop via fe80:3::23 dev "$rp13" In router_multipath.sh line 96: ip address del fe80:3::13/64 dev $rp13 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip address del fe80:3::13/64 dev "$rp13" In router_multipath.sh line 97: ip address del 169.254.3.13/24 dev $rp13 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip address del 169.254.3.13/24 dev "$rp13" In router_multipath.sh line 99: ip address del fe80:2::12/64 dev $rp12 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip address del fe80:2::12/64 dev "$rp12" In router_multipath.sh line 100: ip address del 169.254.2.12/24 dev $rp12 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip address del 169.254.2.12/24 dev "$rp12" In router_multipath.sh line 102: ip address del 2001:db8:1::1/64 dev $rp11 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip address del 2001:db8:1::1/64 dev "$rp11" In router_multipath.sh line 103: ip address del 192.0.2.1/24 dev $rp11 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip address del 192.0.2.1/24 dev "$rp11" In router_multipath.sh line 105: ip link set dev $rp13 down ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link set dev "$rp13" down In router_multipath.sh line 106: ip link set dev $rp12 down ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link set dev "$rp12" down In router_multipath.sh line 107: ip link set dev $rp11 down ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link set dev "$rp11" down In router_multipath.sh line 115: ip link set dev $rp21 master vrf-r2 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link set dev "$rp21" master vrf-r2 In router_multipath.sh line 116: ip link set dev $rp22 master vrf-r2 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link set dev "$rp22" master vrf-r2 In router_multipath.sh line 117: ip link set dev $rp23 master vrf-r2 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link set dev "$rp23" master vrf-r2 In router_multipath.sh line 120: ip link set dev $rp21 up ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link set dev "$rp21" up In router_multipath.sh line 121: ip link set dev $rp22 up ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link set dev "$rp22" up In router_multipath.sh line 122: ip link set dev $rp23 up ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link set dev "$rp23" up In router_multipath.sh line 124: ip address add 198.51.100.1/24 dev $rp21 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip address add 198.51.100.1/24 dev "$rp21" In router_multipath.sh line 125: ip address add 2001:db8:2::1/64 dev $rp21 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip address add 2001:db8:2::1/64 dev "$rp21" In router_multipath.sh line 127: ip address add 169.254.2.22/24 dev $rp22 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip address add 169.254.2.22/24 dev "$rp22" In router_multipath.sh line 128: ip address add fe80:2::22/64 dev $rp22 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip address add fe80:2::22/64 dev "$rp22" In router_multipath.sh line 130: ip address add 169.254.3.23/24 dev $rp23 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip address add 169.254.3.23/24 dev "$rp23" In router_multipath.sh line 131: ip address add fe80:3::23/64 dev $rp23 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip address add fe80:3::23/64 dev "$rp23" In router_multipath.sh line 134: nexthop via 169.254.2.12 dev $rp22 \ ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: nexthop via 169.254.2.12 dev "$rp22" \ In router_multipath.sh line 135: nexthop via 169.254.3.13 dev $rp23 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: nexthop via 169.254.3.13 dev "$rp23" In router_multipath.sh line 137: nexthop via fe80:2::12 dev $rp22 \ ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: nexthop via fe80:2::12 dev "$rp22" \ In router_multipath.sh line 138: nexthop via fe80:3::13 dev $rp23 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: nexthop via fe80:3::13 dev "$rp23" In router_multipath.sh line 146: ip address del fe80:3::23/64 dev $rp23 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip address del fe80:3::23/64 dev "$rp23" In router_multipath.sh line 147: ip address del 169.254.3.23/24 dev $rp23 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip address del 169.254.3.23/24 dev "$rp23" In router_multipath.sh line 149: ip address del fe80:2::22/64 dev $rp22 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip address del fe80:2::22/64 dev "$rp22" In router_multipath.sh line 150: ip address del 169.254.2.22/24 dev $rp22 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip address del 169.254.2.22/24 dev "$rp22" In router_multipath.sh line 152: ip address del 2001:db8:2::1/64 dev $rp21 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip address del 2001:db8:2::1/64 dev "$rp21" In router_multipath.sh line 153: ip address del 198.51.100.1/24 dev $rp21 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip address del 198.51.100.1/24 dev "$rp21" In router_multipath.sh line 155: ip link set dev $rp23 down ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link set dev "$rp23" down In router_multipath.sh line 156: ip link set dev $rp22 down ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link set dev "$rp22" down In router_multipath.sh line 157: ip link set dev $rp21 down ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link set dev "$rp21" down In router_multipath.sh line 175: nexthop via 169.254.2.22 dev $rp12 weight $weight_rp12 \ ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. ^----------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: nexthop via 169.254.2.22 dev "$rp12" weight "$weight_rp12" \ In router_multipath.sh line 176: nexthop via 169.254.3.23 dev $rp13 weight $weight_rp13 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. ^----------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: nexthop via 169.254.3.23 dev "$rp13" weight "$weight_rp13" In router_multipath.sh line 178: t0_rp12=$(link_stats_tx_packets_get $rp12) ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: t0_rp12=$(link_stats_tx_packets_get "$rp12") In router_multipath.sh line 179: t0_rp13=$(link_stats_tx_packets_get $rp13) ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: t0_rp13=$(link_stats_tx_packets_get "$rp13") In router_multipath.sh line 181: ip vrf exec vrf-h1 $MZ $h1 -q -p 64 -A 192.0.2.2 -B 198.51.100.2 \ ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip vrf exec vrf-h1 "$MZ" "$h1" -q -p 64 -A 192.0.2.2 -B 198.51.100.2 \ In router_multipath.sh line 182: -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 router_multipath.sh line 185: t1_rp12=$(link_stats_tx_packets_get $rp12) ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: t1_rp12=$(link_stats_tx_packets_get "$rp12") In router_multipath.sh line 186: t1_rp13=$(link_stats_tx_packets_get $rp13) ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: t1_rp13=$(link_stats_tx_packets_get "$rp13") In router_multipath.sh line 188: let "packets_rp12 = $t1_rp12 - $t0_rp12" ^-- SC2219 (style): Instead of 'let expr', prefer (( expr )) . In router_multipath.sh line 189: let "packets_rp13 = $t1_rp13 - $t0_rp13" ^-- SC2219 (style): Instead of 'let expr', prefer (( expr )) . In router_multipath.sh line 190: multipath_eval "$desc" $weight_rp12 $weight_rp13 $packets_rp12 $packets_rp13 ^----------^ 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 "$desc" "$weight_rp12" "$weight_rp13" "$packets_rp12" "$packets_rp13" In router_multipath.sh line 194: nexthop via 169.254.2.22 dev $rp12 \ ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: nexthop via 169.254.2.22 dev "$rp12" \ In router_multipath.sh line 195: nexthop via 169.254.3.23 dev $rp13 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: nexthop via 169.254.3.23 dev "$rp13" In router_multipath.sh line 213: nexthop via fe80:2::22 dev $rp12 weight $weight_rp12 \ ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. ^----------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: nexthop via fe80:2::22 dev "$rp12" weight "$weight_rp12" \ In router_multipath.sh line 214: nexthop via fe80:3::23 dev $rp13 weight $weight_rp13 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. ^----------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: nexthop via fe80:3::23 dev "$rp13" weight "$weight_rp13" In router_multipath.sh line 216: t0_rp12=$(link_stats_tx_packets_get $rp12) ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: t0_rp12=$(link_stats_tx_packets_get "$rp12") In router_multipath.sh line 217: t0_rp13=$(link_stats_tx_packets_get $rp13) ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: t0_rp13=$(link_stats_tx_packets_get "$rp13") In router_multipath.sh line 219: $MZ $h1 -6 -q -p 64 -A 2001:db8:1::2 -B 2001:db8:2::2 \ ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: $MZ "$h1" -6 -q -p 64 -A 2001:db8:1::2 -B 2001:db8:2::2 \ In router_multipath.sh line 220: -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 router_multipath.sh line 223: t1_rp12=$(link_stats_tx_packets_get $rp12) ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: t1_rp12=$(link_stats_tx_packets_get "$rp12") In router_multipath.sh line 224: t1_rp13=$(link_stats_tx_packets_get $rp13) ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: t1_rp13=$(link_stats_tx_packets_get "$rp13") In router_multipath.sh line 226: let "packets_rp12 = $t1_rp12 - $t0_rp12" ^-- SC2219 (style): Instead of 'let expr', prefer (( expr )) . In router_multipath.sh line 227: let "packets_rp13 = $t1_rp13 - $t0_rp13" ^-- SC2219 (style): Instead of 'let expr', prefer (( expr )) . In router_multipath.sh line 228: multipath_eval "$desc" $weight_rp12 $weight_rp13 $packets_rp12 $packets_rp13 ^----------^ 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 "$desc" "$weight_rp12" "$weight_rp13" "$packets_rp12" "$packets_rp13" In router_multipath.sh line 231: nexthop via fe80:2::22 dev $rp12 \ ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: nexthop via fe80:2::22 dev "$rp12" \ In router_multipath.sh line 232: nexthop via fe80:3::23 dev $rp13 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: nexthop via fe80:3::23 dev "$rp13" In router_multipath.sh line 292: ping_test $h1 198.51.100.2 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ping_test "$h1" 198.51.100.2 In router_multipath.sh line 297: 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 router_multipath.sh line 307: 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/SC2219 -- Instead of 'let expr', prefer (( ... Checking tools/testing/selftests/net/forwarding/sch_red.sh - b974d6ed50fb0f56318fae59a2628612b268dbe080393d0ce1a7bcacbbcc561b In sch_red.sh line 55: simple_if_init $h1 192.0.2.1/28 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: simple_if_init "$h1" 192.0.2.1/28 In sch_red.sh line 56: defer simple_if_fini $h1 192.0.2.1/28 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: defer simple_if_fini "$h1" 192.0.2.1/28 In sch_red.sh line 58: mtu_set $h1 10000 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: mtu_set "$h1" 10000 In sch_red.sh line 59: defer mtu_restore $h1 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: defer mtu_restore "$h1" In sch_red.sh line 61: tc qdisc replace dev $h1 root handle 1: tbf \ ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc qdisc replace dev "$h1" root handle 1: tbf \ In sch_red.sh line 63: defer tc qdisc del dev $h1 root ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: defer tc qdisc del dev "$h1" root In sch_red.sh line 68: simple_if_init $h2 192.0.2.2/28 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: simple_if_init "$h2" 192.0.2.2/28 In sch_red.sh line 69: defer simple_if_fini $h2 192.0.2.2/28 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: defer simple_if_fini "$h2" 192.0.2.2/28 In sch_red.sh line 71: mtu_set $h2 10000 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: mtu_set "$h2" 10000 In sch_red.sh line 72: defer mtu_restore $h2 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: defer mtu_restore "$h2" In sch_red.sh line 77: simple_if_init $h3 192.0.2.3/28 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: simple_if_init "$h3" 192.0.2.3/28 In sch_red.sh line 78: defer simple_if_fini $h3 192.0.2.3/28 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: defer simple_if_fini "$h3" 192.0.2.3/28 In sch_red.sh line 80: mtu_set $h3 10000 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: mtu_set "$h3" 10000 In sch_red.sh line 81: defer mtu_restore $h3 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: defer mtu_restore "$h3" In sch_red.sh line 89: ip link set dev $swp1 up master br ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link set dev "$swp1" up master br In sch_red.sh line 90: defer ip link set dev $swp1 down nomaster ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: defer ip link set dev "$swp1" down nomaster In sch_red.sh line 92: ip link set dev $swp2 up master br ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link set dev "$swp2" up master br In sch_red.sh line 93: defer ip link set dev $swp2 down nomaster ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: defer ip link set dev "$swp2" down nomaster In sch_red.sh line 95: ip link set dev $swp3 up master br ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link set dev "$swp3" up master br In sch_red.sh line 96: defer ip link set dev $swp3 down nomaster ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: defer ip link set dev "$swp3" down nomaster In sch_red.sh line 98: mtu_set $swp1 10000 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: mtu_set "$swp1" 10000 In sch_red.sh line 99: defer mtu_restore $h1 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: defer mtu_restore "$h1" In sch_red.sh line 101: mtu_set $swp2 10000 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: mtu_set "$swp2" 10000 In sch_red.sh line 102: defer mtu_restore $h2 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: defer mtu_restore "$h2" In sch_red.sh line 104: mtu_set $swp3 10000 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: mtu_set "$swp3" 10000 In sch_red.sh line 105: defer mtu_restore $h3 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: defer mtu_restore "$h3" In sch_red.sh line 107: tc qdisc replace dev $swp3 root handle 1: tbf \ ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc qdisc replace dev "$swp3" root handle 1: tbf \ In sch_red.sh line 109: defer tc qdisc del dev $swp3 root ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: defer tc qdisc del dev "$swp3" root In sch_red.sh line 126: h3_mac=$(mac_get $h3) ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: h3_mac=$(mac_get "$h3") In sch_red.sh line 139: ping_test $h1 192.0.2.3 " from host 1" ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ping_test "$h1" 192.0.2.3 " from host 1" In sch_red.sh line 140: ping_test $h2 192.0.2.3 " from host 2" ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ping_test "$h2" 192.0.2.3 " from host 2" In sch_red.sh line 145: qdisc_stats_get $swp3 11: .backlog ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: qdisc_stats_get "$swp3" 11: .backlog In sch_red.sh line 150: qdisc_stats_get $swp3 11: .marked ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: qdisc_stats_get "$swp3" 11: .marked In sch_red.sh line 155: qdisc_stats_get $swp3 11: .packets ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: qdisc_stats_get "$swp3" 11: .packets In sch_red.sh line 168: $MZ $h2 -p $PKTSZ -a own -b $h3_mac -A 192.0.2.2 -B 192.0.2.3 -t $proto -q -c $pkts "$@" ^-^ 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 "$h2" -p "$PKTSZ" -a own -b "$h3_mac" -A 192.0.2.2 -B 192.0.2.3 -t "$proto" -q -c "$pkts" "$@" In sch_red.sh line 182: local cur=$(get_qdisc_backlog) ^-^ SC2155 (warning): Declare and assign separately to avoid masking return values. In sch_red.sh line 187: echo $cur ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: echo "$cur" In sch_red.sh line 190: echo $cur ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: echo "$cur" In sch_red.sh line 194: send_packets $proto $pkts "$@" ^----^ SC2086 (info): Double quote to prevent globbing and word splitting. ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: send_packets "$proto" "$pkts" "$@" In sch_red.sh line 203: local npackets_0=$(get_qdisc_npackets) ^--------^ SC2155 (warning): Declare and assign separately to avoid masking return values. In sch_red.sh line 204: local nmarked_0=$(get_nmarked) ^-------^ SC2155 (warning): Declare and assign separately to avoid masking return values. In sch_red.sh line 206: local npackets_1=$(get_qdisc_npackets) ^--------^ SC2155 (warning): Declare and assign separately to avoid masking return values. In sch_red.sh line 207: local nmarked_1=$(get_nmarked) ^-------^ SC2155 (warning): Declare and assign separately to avoid masking return values. In sch_red.sh line 213: echo $pct ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: echo "$pct" In sch_red.sh line 214: ((pct $cond)) ^-- SC1105 (error): Shells disambiguate (( differently or not at all. For subshell, add spaces around ( . For ((, fix parsing errors. ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ((pct "$cond")) In sch_red.sh line 221: local npackets_0=$(get_qdisc_npackets) ^--------^ SC2155 (warning): Declare and assign separately to avoid masking return values. In sch_red.sh line 222: local nmirrored_0=$(get_nmirrored) ^---------^ SC2155 (warning): Declare and assign separately to avoid masking return values. In sch_red.sh line 224: local npackets_1=$(get_qdisc_npackets) ^--------^ SC2155 (warning): Declare and assign separately to avoid masking return values. In sch_red.sh line 225: local nmirrored_1=$(get_nmirrored) ^---------^ SC2155 (warning): Declare and assign separately to avoid masking return values. In sch_red.sh line 231: echo $pct ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: echo "$pct" In sch_red.sh line 232: ((pct $cond)) ^-- SC1105 (error): Shells disambiguate (( differently or not at all. For subshell, add spaces around ( . For ((, fix parsing errors. ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ((pct "$cond")) In sch_red.sh line 269: $MZ $h1 -p $PKTSZ -A 192.0.2.1 -B 192.0.2.3 -c 0 \ ^-^ 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" -p "$PKTSZ" -A 192.0.2.1 -B 192.0.2.3 -c 0 \ In sch_red.sh line 270: -a own -b $h3_mac -t tcp -q tos=0x01 & ^-----^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: -a own -b "$h3_mac" -t tcp -q tos=0x01 & In sch_red.sh line 274: ecn_test_common "$name" $limit ^----^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ecn_test_common "$name" "$limit" In sch_red.sh line 290: $MZ $h1 -p $PKTSZ -A 192.0.2.1 -B 192.0.2.3 -c 0 \ ^-^ 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" -p "$PKTSZ" -A 192.0.2.1 -B 192.0.2.3 -c 0 \ In sch_red.sh line 291: -a own -b $h3_mac -t tcp -q tos=0x01 & ^-----^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: -a own -b "$h3_mac" -t tcp -q tos=0x01 & In sch_red.sh line 295: ecn_test_common "$name" $limit ^----^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ecn_test_common "$name" "$limit" In sch_red.sh line 314: $MZ $h1 -p $PKTSZ -A 192.0.2.1 -B 192.0.2.3 -c 0 \ ^-^ 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" -p "$PKTSZ" -A 192.0.2.1 -B 192.0.2.3 -c 0 \ In sch_red.sh line 315: -a own -b $h3_mac -t tcp -q tos=0x01 & ^-----^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: -a own -b "$h3_mac" -t tcp -q tos=0x01 & In sch_red.sh line 345: $MZ $h1 -p $PKTSZ -A 192.0.2.1 -B 192.0.2.3 -c 0 \ ^-^ 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" -p "$PKTSZ" -A 192.0.2.1 -B 192.0.2.3 -c 0 \ In sch_red.sh line 346: -a own -b $h3_mac -t udp -q & ^-----^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: -a own -b "$h3_mac" -t udp -q & In sch_red.sh line 384: $MZ $h1 -p $PKTSZ -A 192.0.2.1 -B 192.0.2.3 -c 0 \ ^-^ 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" -p "$PKTSZ" -A 192.0.2.1 -B 192.0.2.3 -c 0 \ In sch_red.sh line 385: -a own -b $h3_mac -t tcp -q tos=0x01 & ^-----^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: -a own -b "$h3_mac" -t tcp -q tos=0x01 & In sch_red.sh line 411: tc qdisc replace dev $swp3 parent 1:1 handle 11: red \ ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc qdisc replace dev "$swp3" parent 1:1 handle 11: red \ In sch_red.sh line 412: limit 1M avpkt $PKTSZ probability 1 \ ^----^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: limit 1M avpkt "$PKTSZ" probability 1 \ In sch_red.sh line 413: min $BACKLOG max $((BACKLOG + 1)) burst 38 "${args[@]}" ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: min "$BACKLOG" max $((BACKLOG + 1)) burst 38 "${args[@]}" In sch_red.sh line 419: tc qdisc del dev $swp3 parent 1:1 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc qdisc del dev "$swp3" parent 1:1 In sch_red.sh line 426: xfail_on_slow do_ecn_test $BACKLOG ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: xfail_on_slow do_ecn_test "$BACKLOG" In sch_red.sh line 433: xfail_on_slow do_ecn_nodrop_test $BACKLOG ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: xfail_on_slow do_ecn_nodrop_test "$BACKLOG" In sch_red.sh line 440: xfail_on_slow do_red_test $BACKLOG ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: xfail_on_slow do_red_test "$BACKLOG" In sch_red.sh line 447: xfail_on_slow do_red_qevent_test $BACKLOG ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: xfail_on_slow do_red_qevent_test "$BACKLOG" In sch_red.sh line 454: xfail_on_slow do_ecn_qevent_test $BACKLOG ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: xfail_on_slow do_ecn_qevent_test "$BACKLOG" In sch_red.sh line 464: 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/SC1105 -- Shells disambiguate (( differentl... https://www.shellcheck.net/wiki/SC2155 -- Declare and assign separately to ... https://www.shellcheck.net/wiki/SC2086 -- Double quote to prevent globbing ... Checking tools/testing/selftests/net/forwarding/skbedit_priority.sh - 5eb23473d810f5a1a77102df1d3f9a253d0dfb76e150d81a84b08f5ce006aa26 In skbedit_priority.sh line 33: : ${HIT_TIMEOUT:=2000} # ms ^------------------^ SC2223 (info): This default assignment may cause DoS due to globbing. Quote it. In skbedit_priority.sh line 37: simple_if_init $h1 192.0.2.1/28 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: simple_if_init "$h1" 192.0.2.1/28 In skbedit_priority.sh line 42: 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 skbedit_priority.sh line 47: simple_if_init $h2 192.0.2.2/28 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: simple_if_init "$h2" 192.0.2.2/28 In skbedit_priority.sh line 52: simple_if_fini $h2 192.0.2.2/28 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: simple_if_fini "$h2" 192.0.2.2/28 In skbedit_priority.sh line 60: 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 skbedit_priority.sh line 61: 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 skbedit_priority.sh line 62: 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 skbedit_priority.sh line 63: 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 skbedit_priority.sh line 65: tc qdisc add dev $swp1 clsact ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc qdisc add dev "$swp1" clsact In skbedit_priority.sh line 66: 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 skbedit_priority.sh line 67: tc qdisc add dev $swp2 root handle 10: \ ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc qdisc add dev "$swp2" root handle 10: \ In skbedit_priority.sh line 73: tc qdisc del dev $swp2 root ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc qdisc del dev "$swp2" root In skbedit_priority.sh line 74: 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 skbedit_priority.sh line 75: tc qdisc del dev $swp1 clsact ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc qdisc del dev "$swp1" clsact In skbedit_priority.sh line 77: 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 skbedit_priority.sh line 78: 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 skbedit_priority.sh line 79: 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 skbedit_priority.sh line 80: 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 skbedit_priority.sh line 92: h2mac=$(mac_get $h2) ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: h2mac=$(mac_get "$h2") In skbedit_priority.sh line 112: ping_test $h1 192.0.2.2 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ping_test "$h1" 192.0.2.2 In skbedit_priority.sh line 123: tc filter add $locus handle 101 pref 1 \ ^----^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter add "$locus" handle 101 pref 1 \ In skbedit_priority.sh line 124: flower action skbedit priority $prio ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: flower action skbedit priority "$prio" In skbedit_priority.sh line 126: local pkt0=$(qdisc_parent_stats_get $swp2 $classid .packets) ^--^ SC2155 (warning): Declare and assign separately to avoid masking return values. ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: local pkt0=$(qdisc_parent_stats_get "$swp2" "$classid" .packets) In skbedit_priority.sh line 127: local pkt2=$(tc_rule_handle_stats_get "$locus" 101) ^--^ SC2155 (warning): Declare and assign separately to avoid masking return values. In skbedit_priority.sh line 128: $MZ $h1 -t udp "sp=54321,dp=12345" -c 10 -d 20msec -p 100 \ ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: $MZ "$h1" -t udp "sp=54321,dp=12345" -c 10 -d 20msec -p 100 \ In skbedit_priority.sh line 129: -a own -b $h2mac -A 192.0.2.1 -B 192.0.2.2 -q ^----^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: -a own -b "$h2mac" -A 192.0.2.1 -B 192.0.2.2 -q In skbedit_priority.sh line 133: qdisc_parent_stats_get $swp2 $classid .packets) ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: qdisc_parent_stats_get "$swp2" "$classid" .packets) In skbedit_priority.sh line 136: local pkt3=$(tc_rule_handle_stats_get "$locus" 101) ^--^ SC2155 (warning): Declare and assign separately to avoid masking return values. In skbedit_priority.sh line 142: tc filter del $locus pref 1 ^----^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter del "$locus" pref 1 In skbedit_priority.sh line 151: $prio 10:$((8 - prio)) ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: "$prio" 10:$((8 - prio)) In skbedit_priority.sh line 161: $prio 10:$((8 - prio)) ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: "$prio" 10:$((8 - prio)) In skbedit_priority.sh line 172: 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/SC2223 -- This default assignment may cause... Checking tools/testing/selftests/net/forwarding/tc_actions.sh - 214989032c111433771d451139a9586e0e9bbbdbef2ff7a65015fbb75e1f71b6 In tc_actions.sh line 19: simple_if_init $h1 192.0.2.1/24 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: simple_if_init "$h1" 192.0.2.1/24 In tc_actions.sh line 20: tc qdisc add dev $h1 clsact ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc qdisc add dev "$h1" clsact In tc_actions.sh line 25: tc qdisc del dev $h1 clsact ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc qdisc del dev "$h1" clsact In tc_actions.sh line 26: simple_if_fini $h1 192.0.2.1/24 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: simple_if_fini "$h1" 192.0.2.1/24 In tc_actions.sh line 31: simple_if_init $h2 192.0.2.2/24 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: simple_if_init "$h2" 192.0.2.2/24 In tc_actions.sh line 32: tc qdisc add dev $h2 clsact ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc qdisc add dev "$h2" clsact In tc_actions.sh line 37: tc qdisc del dev $h2 clsact ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc qdisc del dev "$h2" clsact In tc_actions.sh line 38: simple_if_fini $h2 192.0.2.2/24 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: simple_if_fini "$h2" 192.0.2.2/24 In tc_actions.sh line 43: simple_if_init $swp1 192.0.2.2/24 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: simple_if_init "$swp1" 192.0.2.2/24 In tc_actions.sh line 44: tc qdisc add dev $swp1 clsact ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc qdisc add dev "$swp1" clsact In tc_actions.sh line 46: simple_if_init $swp2 192.0.2.1/24 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: simple_if_init "$swp2" 192.0.2.1/24 In tc_actions.sh line 51: simple_if_fini $swp2 192.0.2.1/24 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: simple_if_fini "$swp2" 192.0.2.1/24 In tc_actions.sh line 53: tc qdisc del dev $swp1 clsact ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc qdisc del dev "$swp1" clsact In tc_actions.sh line 54: simple_if_fini $swp1 192.0.2.2/24 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: simple_if_fini "$swp1" 192.0.2.2/24 In tc_actions.sh line 66: tc filter add dev $h2 ingress protocol ip pref 1 handle 101 flower \ ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter add dev "$h2" ingress protocol ip pref 1 handle 101 flower \ In tc_actions.sh line 69: $MZ $h1 -c 1 -p 64 -a $h1mac -b $h2mac -A 192.0.2.1 -B 192.0.2.2 \ ^-^ 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" -c 1 -p 64 -a "$h1mac" -b "$h2mac" -A 192.0.2.1 -B 192.0.2.2 \ In tc_actions.sh line 75: tc filter add dev $swp1 ingress protocol $protocol pref 1 handle 101 \ ^---^ 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 "$swp1" ingress protocol "$protocol" pref 1 handle 101 \ In tc_actions.sh line 76: $classifier $tcflags $classifier_args \ ^---------^ 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: "$classifier" "$tcflags" "$classifier_args" \ In tc_actions.sh line 77: action mirred egress $action dev $swp2 ^-----^ SC2086 (info): Double quote to prevent globbing and word splitting. ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: action mirred egress "$action" dev "$swp2" In tc_actions.sh line 79: $MZ $h1 -c 1 -p 64 -a $h1mac -b $h2mac -A 192.0.2.1 -B 192.0.2.2 \ ^-^ 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" -c 1 -p 64 -a "$h1mac" -b "$h2mac" -A 192.0.2.1 -B 192.0.2.2 \ In tc_actions.sh line 85: tc filter del dev $swp1 ingress protocol $protocol pref 1 handle 101 \ ^---^ 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 "$swp1" ingress protocol "$protocol" pref 1 handle 101 \ In tc_actions.sh line 86: $classifier ^---------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: "$classifier" In tc_actions.sh line 87: tc filter del dev $h2 ingress protocol ip pref 1 handle 101 flower ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter del dev "$h2" ingress protocol ip pref 1 handle 101 flower In tc_actions.sh line 96: tc filter add dev $swp1 ingress protocol ip pref 2 handle 102 flower \ ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter add dev "$swp1" ingress protocol ip pref 2 handle 102 flower \ In tc_actions.sh line 97: $tcflags dst_ip 192.0.2.2 action drop ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: "$tcflags" dst_ip 192.0.2.2 action drop In tc_actions.sh line 99: $MZ $h1 -c 1 -p 64 -a $h1mac -b $h2mac -A 192.0.2.1 -B 192.0.2.2 \ ^-^ 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" -c 1 -p 64 -a "$h1mac" -b "$h2mac" -A 192.0.2.1 -B 192.0.2.2 \ In tc_actions.sh line 105: tc filter add dev $swp1 ingress protocol ip pref 1 handle 101 flower \ ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter add dev "$swp1" ingress protocol ip pref 1 handle 101 flower \ In tc_actions.sh line 106: $tcflags dst_ip 192.0.2.2 action ok ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: "$tcflags" dst_ip 192.0.2.2 action ok In tc_actions.sh line 108: $MZ $h1 -c 1 -p 64 -a $h1mac -b $h2mac -A 192.0.2.1 -B 192.0.2.2 \ ^-^ 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" -c 1 -p 64 -a "$h1mac" -b "$h2mac" -A 192.0.2.1 -B 192.0.2.2 \ In tc_actions.sh line 117: tc filter del dev $swp1 ingress protocol ip pref 2 handle 102 flower ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter del dev "$swp1" ingress protocol ip pref 2 handle 102 flower In tc_actions.sh line 118: tc filter del dev $swp1 ingress protocol ip pref 1 handle 101 flower ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter del dev "$swp1" ingress protocol ip pref 1 handle 101 flower In tc_actions.sh line 131: tc filter add dev $swp1 ingress protocol ip pref 1 handle 101 flower \ ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter add dev "$swp1" ingress protocol ip pref 1 handle 101 flower \ In tc_actions.sh line 133: tc filter add dev $swp1 ingress protocol ip pref 3 handle 103 flower \ ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter add dev "$swp1" ingress protocol ip pref 3 handle 103 flower \ In tc_actions.sh line 134: $tcflags dst_ip 192.0.2.2 action mirred egress redirect \ ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: "$tcflags" dst_ip 192.0.2.2 action mirred egress redirect \ In tc_actions.sh line 135: dev $swp2 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: dev "$swp2" In tc_actions.sh line 137: $MZ $h1 -c 1 -p 64 -a $h1mac -b $h2mac -A 192.0.2.1 -B 192.0.2.2 \ ^-^ 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" -c 1 -p 64 -a "$h1mac" -b "$h2mac" -A 192.0.2.1 -B 192.0.2.2 \ In tc_actions.sh line 143: tc filter add dev $swp1 ingress protocol ip pref 2 handle 102 flower \ ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter add dev "$swp1" ingress protocol ip pref 2 handle 102 flower \ In tc_actions.sh line 144: $tcflags dst_ip 192.0.2.2 action trap ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: "$tcflags" dst_ip 192.0.2.2 action trap In tc_actions.sh line 146: $MZ $h1 -c 1 -p 64 -a $h1mac -b $h2mac -A 192.0.2.1 -B 192.0.2.2 \ ^-^ 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" -c 1 -p 64 -a "$h1mac" -b "$h2mac" -A 192.0.2.1 -B 192.0.2.2 \ In tc_actions.sh line 155: tc filter del dev $swp1 ingress protocol ip pref 3 handle 103 flower ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter del dev "$swp1" ingress protocol ip pref 3 handle 103 flower In tc_actions.sh line 156: tc filter del dev $swp1 ingress protocol ip pref 2 handle 102 flower ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter del dev "$swp1" ingress protocol ip pref 2 handle 102 flower In tc_actions.sh line 157: tc filter del dev $swp1 ingress protocol ip pref 1 handle 101 flower ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter del dev "$swp1" ingress protocol ip pref 1 handle 101 flower In tc_actions.sh line 166: tc filter add dev $h1 protocol ip pref 100 handle 100 egress flower \ ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter add dev "$h1" protocol ip pref 100 handle 100 egress flower \ In tc_actions.sh line 171: mirred ingress redirect dev $h1 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: mirred ingress redirect dev "$h1" In tc_actions.sh line 173: tc filter add dev $swp1 protocol ip pref 11 handle 111 ingress flower \ ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter add dev "$swp1" protocol ip pref 11 handle 111 ingress flower \ In tc_actions.sh line 175: tc filter add dev $swp1 protocol ip pref 12 handle 112 ingress flower \ ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter add dev "$swp1" protocol ip pref 12 handle 112 ingress flower \ In tc_actions.sh line 178: $MZ $h1 -c 1 -p 64 -a $h1mac -b $h2mac -A 192.0.2.1 -B 192.0.2.2 \ ^-^ 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" -c 1 -p 64 -a "$h1mac" -b "$h2mac" -A 192.0.2.1 -B 192.0.2.2 \ In tc_actions.sh line 189: ping 192.0.2.2 -I$h1 -c1 -w1 -q 1>/dev/null 2>&1 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ping 192.0.2.2 -I"$h1" -c1 -w1 -q 1>/dev/null 2>&1 In tc_actions.sh line 198: tc filter del dev $h1 egress protocol ip pref 100 handle 100 flower ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter del dev "$h1" egress protocol ip pref 100 handle 100 flower In tc_actions.sh line 199: tc filter del dev $swp1 ingress protocol ip pref 11 handle 111 flower ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter del dev "$swp1" ingress protocol ip pref 11 handle 111 flower In tc_actions.sh line 200: tc filter del dev $swp1 ingress protocol ip pref 12 handle 112 flower ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter del dev "$swp1" ingress protocol ip pref 12 handle 112 flower In tc_actions.sh line 210: dd conv=sparse status=none if=/dev/zero bs=1M count=2 of=$mirred_e2i_tf1 ^-------------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: dd conv=sparse status=none if=/dev/zero bs=1M count=2 of="$mirred_e2i_tf1" In tc_actions.sh line 211: tc filter add dev $h1 protocol ip pref 100 handle 100 egress flower \ ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter add dev "$h1" protocol ip pref 100 handle 100 egress flower \ In tc_actions.sh line 212: $tcflags ip_proto tcp src_ip 192.0.2.1 dst_ip 192.0.2.2 \ ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: "$tcflags" ip_proto tcp src_ip 192.0.2.1 dst_ip 192.0.2.2 \ In tc_actions.sh line 218: action mirred ingress redirect dev $h1 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: action mirred ingress redirect dev "$h1" In tc_actions.sh line 219: tc filter add dev $h1 protocol ip pref 101 handle 101 egress flower \ ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter add dev "$h1" protocol ip pref 101 handle 101 egress flower \ In tc_actions.sh line 220: $tcflags ip_proto icmp \ ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: "$tcflags" ip_proto icmp \ In tc_actions.sh line 221: action mirred ingress redirect dev $h1 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: action mirred ingress redirect dev "$h1" In tc_actions.sh line 222: tc filter add dev $h1 protocol ip pref 102 handle 102 ingress flower \ ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter add dev "$h1" protocol ip pref 102 handle 102 ingress flower \ In tc_actions.sh line 226: ip vrf exec v$h1 ncat --recv-only -w10 -l -p 12345 -o $mirred_e2i_tf2 & ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. ^-------------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip vrf exec v"$h1" ncat --recv-only -w10 -l -p 12345 -o "$mirred_e2i_tf2" & In tc_actions.sh line 228: ip vrf exec v$h1 ncat -w1 --send-only 192.0.2.2 12345 <$mirred_e2i_tf1 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. ^-------------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip vrf exec v"$h1" ncat -w1 --send-only 192.0.2.2 12345 <"$mirred_e2i_tf1" In tc_actions.sh line 229: wait -n $rpid ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: wait -n "$rpid" In tc_actions.sh line 230: cmp -s $mirred_e2i_tf1 $mirred_e2i_tf2 ^-------------^ SC2086 (info): Double quote to prevent globbing and word splitting. ^-------------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: cmp -s "$mirred_e2i_tf1" "$mirred_e2i_tf2" In tc_actions.sh line 233: $MZ $h1 -c 10 -p 64 -a $h1mac -b $h1mac -A 192.0.2.1 -B 192.0.2.1 \ ^-^ 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" -c 10 -p 64 -a "$h1mac" -b "$h1mac" -A 192.0.2.1 -B 192.0.2.1 \ In tc_actions.sh line 240: tc filter del dev $h1 egress protocol ip pref 100 handle 100 flower ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter del dev "$h1" egress protocol ip pref 100 handle 100 flower In tc_actions.sh line 241: tc filter del dev $h1 egress protocol ip pref 101 handle 101 flower ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter del dev "$h1" egress protocol ip pref 101 handle 101 flower In tc_actions.sh line 242: tc filter del dev $h1 ingress protocol ip pref 102 handle 102 flower ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter del dev "$h1" ingress protocol ip pref 102 handle 102 flower In tc_actions.sh line 244: rm -f $mirred_e2i_tf1 $mirred_e2i_tf2 ^-------------^ SC2086 (info): Double quote to prevent globbing and word splitting. ^-------------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: rm -f "$mirred_e2i_tf1" "$mirred_e2i_tf2" In tc_actions.sh line 250: tc filter add dev $swp1 ingress pref 20 chain 0 handle 20 flower \ ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter add dev "$swp1" ingress pref 20 chain 0 handle 20 flower \ In tc_actions.sh line 251: $tcflags num_of_vlans 1 \ ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: "$tcflags" num_of_vlans 1 \ In tc_actions.sh line 253: tc filter add dev $swp1 ingress pref 30 chain 5 handle 30 flower \ ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter add dev "$swp1" ingress pref 30 chain 5 handle 30 flower \ In tc_actions.sh line 254: $tcflags num_of_vlans 2 \ ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: "$tcflags" num_of_vlans 2 \ In tc_actions.sh line 257: $MZ $h1 -c 1 -p 64 -a $h1mac -b $h2mac -A 192.0.2.1 -B 192.0.2.2 \ ^-^ 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" -c 1 -p 64 -a "$h1mac" -b "$h2mac" -A 192.0.2.1 -B 192.0.2.2 \ In tc_actions.sh line 263: tc filter del dev $swp1 ingress pref 20 chain 0 handle 20 flower ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter del dev "$swp1" ingress pref 20 chain 0 handle 20 flower In tc_actions.sh line 264: tc filter del dev $swp1 ingress pref 30 chain 5 handle 30 flower ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter del dev "$swp1" ingress pref 30 chain 5 handle 30 flower In tc_actions.sh line 271: tc filter add dev $h1 egress pref 20 chain 0 handle 20 flower \ ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter add dev "$h1" egress pref 20 chain 0 handle 20 flower \ In tc_actions.sh line 272: $tcflags num_of_vlans 0 \ ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: "$tcflags" num_of_vlans 0 \ In tc_actions.sh line 275: tc filter add dev $h1 egress pref 30 chain 5 handle 30 flower \ ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter add dev "$h1" egress pref 30 chain 5 handle 30 flower \ In tc_actions.sh line 276: $tcflags num_of_vlans 2 \ ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: "$tcflags" num_of_vlans 2 \ In tc_actions.sh line 279: $MZ $h1 -c 1 -p 64 -a $h1mac -b $h2mac -A 192.0.2.1 -B 192.0.2.2 \ ^-^ 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" -c 1 -p 64 -a "$h1mac" -b "$h2mac" -A 192.0.2.1 -B 192.0.2.2 \ In tc_actions.sh line 285: tc filter del dev $h1 egress pref 20 chain 0 handle 20 flower ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter del dev "$h1" egress pref 20 chain 0 handle 20 flower In tc_actions.sh line 286: tc filter del dev $h1 egress pref 30 chain 5 handle 30 flower ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter del dev "$h1" egress pref 30 chain 5 handle 30 flower In tc_actions.sh line 299: h1mac=$(mac_get $h1) ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: h1mac=$(mac_get "$h1") In tc_actions.sh line 300: h2mac=$(mac_get $h2) ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: h2mac=$(mac_get "$h2") In tc_actions.sh line 302: swp1origmac=$(mac_get $swp1) ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: swp1origmac=$(mac_get "$swp1") In tc_actions.sh line 303: swp2origmac=$(mac_get $swp2) ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: swp2origmac=$(mac_get "$swp2") In tc_actions.sh line 304: ip link set $swp1 address $h2mac ^---^ 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 "$swp1" address "$h2mac" In tc_actions.sh line 305: ip link set $swp2 address $h1mac ^---^ 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 "$swp2" address "$h1mac" In tc_actions.sh line 326: ip link set $swp2 address $swp2origmac ^---^ 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 "$swp2" address "$swp2origmac" In tc_actions.sh line 327: ip link set $swp1 address $swp1origmac ^---^ 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 "$swp1" address "$swp1origmac" In tc_actions.sh line 329: for tf in $mirred_e2i_tf1 $mirred_e2i_tf2; do rm -f $tf; done ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: for tf in $mirred_e2i_tf1 $mirred_e2i_tf2; do rm -f "$tf"; done In tc_actions.sh line 354: tc_offload_check ^--------------^ SC2119 (info): Use tc_offload_check "$@" if function's $1 should mean script's $1. In tc_actions.sh line 355: if [[ $? -ne 0 ]]; then ^-- SC2181 (style): Check exit code directly with e.g. 'if ! mycmd;', not indirectly with $?. In tc_actions.sh line 362: 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/SC2119 -- Use tc_offload_check "$@" if func... https://www.shellcheck.net/wiki/SC2181 -- Check exit code directly with e.g... Checking tools/testing/selftests/net/forwarding/tc_chains.sh - 3c3555cb54a55e37d1ae2edd1efa9691a4b782565683a8b46f957beb9553cf2f In tc_chains.sh line 14: simple_if_init $h1 192.0.2.1/24 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: simple_if_init "$h1" 192.0.2.1/24 In tc_chains.sh line 19: simple_if_fini $h1 192.0.2.1/24 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: simple_if_fini "$h1" 192.0.2.1/24 In tc_chains.sh line 24: simple_if_init $h2 192.0.2.2/24 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: simple_if_init "$h2" 192.0.2.2/24 In tc_chains.sh line 25: tc qdisc add dev $h2 clsact ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc qdisc add dev "$h2" clsact In tc_chains.sh line 30: tc qdisc del dev $h2 clsact ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc qdisc del dev "$h2" clsact In tc_chains.sh line 31: simple_if_fini $h2 192.0.2.2/24 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: simple_if_fini "$h2" 192.0.2.2/24 In tc_chains.sh line 38: tc filter add dev $h2 ingress chain 1 protocol ip pref 1 handle 1101 \ ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter add dev "$h2" ingress chain 1 protocol ip pref 1 handle 1101 \ In tc_chains.sh line 39: flower $tcflags dst_mac $h2mac action drop ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. ^----^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: flower "$tcflags" dst_mac "$h2mac" action drop In tc_chains.sh line 41: $MZ $h1 -c 1 -p 64 -a $h1mac -b $h2mac -A 192.0.2.1 -B 192.0.2.2 \ ^-^ 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" -c 1 -p 64 -a "$h1mac" -b "$h2mac" -A 192.0.2.1 -B 192.0.2.2 \ In tc_chains.sh line 47: tc filter del dev $h2 ingress chain 1 protocol ip pref 1 handle 1101 \ ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter del dev "$h2" ingress chain 1 protocol ip pref 1 handle 1101 \ In tc_chains.sh line 57: tc filter add dev $h2 ingress chain 1 protocol ip pref 1 handle 1101 \ ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter add dev "$h2" ingress chain 1 protocol ip pref 1 handle 1101 \ In tc_chains.sh line 58: flower $tcflags dst_mac $h2mac action drop ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. ^----^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: flower "$tcflags" dst_mac "$h2mac" action drop In tc_chains.sh line 59: tc filter add dev $h2 ingress protocol ip pref 2 handle 102 flower \ ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter add dev "$h2" ingress protocol ip pref 2 handle 102 flower \ In tc_chains.sh line 60: $tcflags dst_mac $h2mac action drop ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. ^----^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: "$tcflags" dst_mac "$h2mac" action drop In tc_chains.sh line 61: tc filter add dev $h2 ingress protocol ip pref 1 handle 101 flower \ ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter add dev "$h2" ingress protocol ip pref 1 handle 101 flower \ In tc_chains.sh line 62: $tcflags dst_mac $h2mac action goto chain 1 ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. ^----^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: "$tcflags" dst_mac "$h2mac" action goto chain 1 In tc_chains.sh line 64: $MZ $h1 -c 1 -p 64 -a $h1mac -b $h2mac -A 192.0.2.1 -B 192.0.2.2 \ ^-^ 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" -c 1 -p 64 -a "$h1mac" -b "$h2mac" -A 192.0.2.1 -B 192.0.2.2 \ In tc_chains.sh line 76: tc filter del dev $h2 ingress protocol ip pref 1 handle 101 flower ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter del dev "$h2" ingress protocol ip pref 1 handle 101 flower In tc_chains.sh line 77: tc filter del dev $h2 ingress protocol ip pref 2 handle 102 flower ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter del dev "$h2" ingress protocol ip pref 2 handle 102 flower In tc_chains.sh line 78: tc filter del dev $h2 ingress chain 1 protocol ip pref 1 handle 1101 \ ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter del dev "$h2" ingress chain 1 protocol ip pref 1 handle 1101 \ In tc_chains.sh line 88: tc chain add dev $h2 ingress ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc chain add dev "$h2" ingress In tc_chains.sh line 91: output="$(tc -j chain get dev $h2 ingress)" ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: output="$(tc -j chain get dev "$h2" ingress)" In tc_chains.sh line 94: echo $output | jq -e ".[] | select(.chain == 0)" &> /dev/null ^-----^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: echo "$output" | jq -e ".[] | select(.chain == 0)" &> /dev/null In tc_chains.sh line 97: tc chain add dev $h2 ingress chain 1 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc chain add dev "$h2" ingress chain 1 In tc_chains.sh line 100: output="$(tc -j chain get dev $h2 ingress chain 1)" ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: output="$(tc -j chain get dev "$h2" ingress chain 1)" In tc_chains.sh line 103: echo $output | jq -e ".[] | select(.chain == 1)" &> /dev/null ^-----^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: echo "$output" | jq -e ".[] | select(.chain == 1)" &> /dev/null In tc_chains.sh line 106: output="$(tc -j chain show dev $h2 ingress)" ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: output="$(tc -j chain show dev "$h2" ingress)" In tc_chains.sh line 109: echo $output | jq -e ".[] | select(.chain == 0)" &> /dev/null ^-----^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: echo "$output" | jq -e ".[] | select(.chain == 0)" &> /dev/null In tc_chains.sh line 112: echo $output | jq -e ".[] | select(.chain == 1)" &> /dev/null ^-----^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: echo "$output" | jq -e ".[] | select(.chain == 1)" &> /dev/null In tc_chains.sh line 115: tc chain del dev $h2 ingress ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc chain del dev "$h2" ingress In tc_chains.sh line 118: tc chain del dev $h2 ingress chain 1 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc chain del dev "$h2" ingress chain 1 In tc_chains.sh line 128: tc chain add dev $h2 ingress protocol ip \ ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc chain add dev "$h2" ingress protocol ip \ In tc_chains.sh line 130: tc chain add dev $h2 ingress chain 1 protocol ip \ ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc chain add dev "$h2" ingress chain 1 protocol ip \ In tc_chains.sh line 133: tc filter add dev $h2 ingress protocol ip pref 1 handle 1101 \ ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter add dev "$h2" ingress protocol ip pref 1 handle 1101 \ In tc_chains.sh line 134: flower dst_mac $h2mac action drop ^----^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: flower dst_mac "$h2mac" action drop In tc_chains.sh line 137: tc filter add dev $h2 ingress protocol ip pref 1 handle 1102 \ ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter add dev "$h2" ingress protocol ip pref 1 handle 1102 \ In tc_chains.sh line 138: flower src_mac $h2mac action drop &> /dev/null ^----^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: flower src_mac "$h2mac" action drop &> /dev/null In tc_chains.sh line 141: tc filter add dev $h2 ingress chain 1 protocol ip pref 1 handle 1101 \ ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter add dev "$h2" ingress chain 1 protocol ip pref 1 handle 1101 \ In tc_chains.sh line 142: flower src_mac $h2mac action drop ^----^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: flower src_mac "$h2mac" action drop In tc_chains.sh line 145: tc filter add dev $h2 ingress chain 1 protocol ip pref 1 handle 1102 \ ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter add dev "$h2" ingress chain 1 protocol ip pref 1 handle 1102 \ In tc_chains.sh line 146: flower dst_mac $h2mac action drop &> /dev/null ^----^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: flower dst_mac "$h2mac" action drop &> /dev/null In tc_chains.sh line 149: tc filter del dev $h2 ingress chain 1 protocol ip pref 1 handle 1102 \ ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter del dev "$h2" ingress chain 1 protocol ip pref 1 handle 1102 \ In tc_chains.sh line 151: tc filter del dev $h2 ingress chain 1 protocol ip pref 1 handle 1101 \ ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter del dev "$h2" ingress chain 1 protocol ip pref 1 handle 1101 \ In tc_chains.sh line 154: tc filter del dev $h2 ingress protocol ip pref 1 handle 1102 \ ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter del dev "$h2" ingress protocol ip pref 1 handle 1102 \ In tc_chains.sh line 156: tc filter del dev $h2 ingress protocol ip pref 1 handle 1101 \ ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter del dev "$h2" ingress protocol ip pref 1 handle 1101 \ In tc_chains.sh line 159: tc chain del dev $h2 ingress chain 1 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc chain del dev "$h2" ingress chain 1 In tc_chains.sh line 160: tc chain del dev $h2 ingress ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc chain del dev "$h2" ingress In tc_chains.sh line 169: h1mac=$(mac_get $h1) ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: h1mac=$(mac_get "$h1") In tc_chains.sh line 170: h2mac=$(mac_get $h2) ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: h2mac=$(mac_get "$h2") In tc_chains.sh line 197: tc_offload_check ^--------------^ SC2119 (info): Use tc_offload_check "$@" if function's $1 should mean script's $1. In tc_chains.sh line 198: if [[ $? -ne 0 ]]; then ^-- SC2181 (style): Check exit code directly with e.g. 'if ! mycmd;', not indirectly with $?. In tc_chains.sh line 205: 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/SC2119 -- Use tc_offload_check "$@" if func... https://www.shellcheck.net/wiki/SC2181 -- Check exit code directly with e.g... Checking tools/testing/selftests/net/forwarding/tc_flower.sh - 55a6132b278432de62e5b75aa7b8112f70c4e3f63e33c54d77f351d49b845776 In tc_flower.sh line 18: simple_if_init $h1 192.0.2.1/24 198.51.100.1/24 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: simple_if_init "$h1" 192.0.2.1/24 198.51.100.1/24 In tc_flower.sh line 23: simple_if_fini $h1 192.0.2.1/24 198.51.100.1/24 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: simple_if_fini "$h1" 192.0.2.1/24 198.51.100.1/24 In tc_flower.sh line 28: simple_if_init $h2 192.0.2.2/24 198.51.100.2/24 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: simple_if_init "$h2" 192.0.2.2/24 198.51.100.2/24 In tc_flower.sh line 29: tc qdisc add dev $h2 clsact ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc qdisc add dev "$h2" clsact In tc_flower.sh line 34: tc qdisc del dev $h2 clsact ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc qdisc del dev "$h2" clsact In tc_flower.sh line 35: simple_if_fini $h2 192.0.2.2/24 198.51.100.2/24 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: simple_if_fini "$h2" 192.0.2.2/24 198.51.100.2/24 In tc_flower.sh line 44: tc filter add dev $h2 ingress protocol ip pref 1 handle 101 flower \ ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter add dev "$h2" ingress protocol ip pref 1 handle 101 flower \ In tc_flower.sh line 45: $tcflags dst_mac $dummy_mac action drop ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. ^--------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: "$tcflags" dst_mac "$dummy_mac" action drop In tc_flower.sh line 46: tc filter add dev $h2 ingress protocol ip pref 2 handle 102 flower \ ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter add dev "$h2" ingress protocol ip pref 2 handle 102 flower \ In tc_flower.sh line 47: $tcflags dst_mac $h2mac action drop ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. ^----^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: "$tcflags" dst_mac "$h2mac" action drop In tc_flower.sh line 49: $MZ $h1 -c 1 -p 64 -a $h1mac -b $h2mac -A 192.0.2.1 -B 192.0.2.2 \ ^-^ 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" -c 1 -p 64 -a "$h1mac" -b "$h2mac" -A 192.0.2.1 -B 192.0.2.2 \ In tc_flower.sh line 58: tc filter del dev $h2 ingress protocol ip pref 1 handle 101 flower ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter del dev "$h2" ingress protocol ip pref 1 handle 101 flower In tc_flower.sh line 59: tc filter del dev $h2 ingress protocol ip pref 2 handle 102 flower ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter del dev "$h2" ingress protocol ip pref 2 handle 102 flower In tc_flower.sh line 70: tc filter add dev $h2 ingress protocol ip pref 1 handle 101 flower \ ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter add dev "$h2" ingress protocol ip pref 1 handle 101 flower \ In tc_flower.sh line 71: $tcflags src_mac $dummy_mac action drop ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. ^--------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: "$tcflags" src_mac "$dummy_mac" action drop In tc_flower.sh line 72: tc filter add dev $h2 ingress protocol ip pref 2 handle 102 flower \ ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter add dev "$h2" ingress protocol ip pref 2 handle 102 flower \ In tc_flower.sh line 73: $tcflags src_mac $h1mac action drop ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. ^----^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: "$tcflags" src_mac "$h1mac" action drop In tc_flower.sh line 75: $MZ $h1 -c 1 -p 64 -a $h1mac -b $h2mac -A 192.0.2.1 -B 192.0.2.2 \ ^-^ 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" -c 1 -p 64 -a "$h1mac" -b "$h2mac" -A 192.0.2.1 -B 192.0.2.2 \ In tc_flower.sh line 84: tc filter del dev $h2 ingress protocol ip pref 1 handle 101 flower ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter del dev "$h2" ingress protocol ip pref 1 handle 101 flower In tc_flower.sh line 85: tc filter del dev $h2 ingress protocol ip pref 2 handle 102 flower ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter del dev "$h2" ingress protocol ip pref 2 handle 102 flower In tc_flower.sh line 94: tc filter add dev $h2 ingress protocol ip pref 1 handle 101 flower \ ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter add dev "$h2" ingress protocol ip pref 1 handle 101 flower \ In tc_flower.sh line 95: $tcflags dst_ip 198.51.100.2 action drop ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: "$tcflags" dst_ip 198.51.100.2 action drop In tc_flower.sh line 96: tc filter add dev $h2 ingress protocol ip pref 2 handle 102 flower \ ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter add dev "$h2" ingress protocol ip pref 2 handle 102 flower \ In tc_flower.sh line 97: $tcflags dst_ip 192.0.2.2 action drop ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: "$tcflags" dst_ip 192.0.2.2 action drop In tc_flower.sh line 98: tc filter add dev $h2 ingress protocol ip pref 3 handle 103 flower \ ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter add dev "$h2" ingress protocol ip pref 3 handle 103 flower \ In tc_flower.sh line 99: $tcflags dst_ip 192.0.2.0/24 action drop ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: "$tcflags" dst_ip 192.0.2.0/24 action drop In tc_flower.sh line 101: $MZ $h1 -c 1 -p 64 -a $h1mac -b $h2mac -A 192.0.2.1 -B 192.0.2.2 \ ^-^ 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" -c 1 -p 64 -a "$h1mac" -b "$h2mac" -A 192.0.2.1 -B 192.0.2.2 \ In tc_flower.sh line 110: tc filter del dev $h2 ingress protocol ip pref 2 handle 102 flower ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter del dev "$h2" ingress protocol ip pref 2 handle 102 flower In tc_flower.sh line 112: $MZ $h1 -c 1 -p 64 -a $h1mac -b $h2mac -A 192.0.2.1 -B 192.0.2.2 \ ^-^ 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" -c 1 -p 64 -a "$h1mac" -b "$h2mac" -A 192.0.2.1 -B 192.0.2.2 \ In tc_flower.sh line 118: tc filter del dev $h2 ingress protocol ip pref 1 handle 101 flower ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter del dev "$h2" ingress protocol ip pref 1 handle 101 flower In tc_flower.sh line 119: tc filter del dev $h2 ingress protocol ip pref 3 handle 103 flower ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter del dev "$h2" ingress protocol ip pref 3 handle 103 flower In tc_flower.sh line 128: tc filter add dev $h2 ingress protocol ip pref 1 handle 101 flower \ ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter add dev "$h2" ingress protocol ip pref 1 handle 101 flower \ In tc_flower.sh line 129: $tcflags src_ip 198.51.100.1 action drop ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: "$tcflags" src_ip 198.51.100.1 action drop In tc_flower.sh line 130: tc filter add dev $h2 ingress protocol ip pref 2 handle 102 flower \ ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter add dev "$h2" ingress protocol ip pref 2 handle 102 flower \ In tc_flower.sh line 131: $tcflags src_ip 192.0.2.1 action drop ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: "$tcflags" src_ip 192.0.2.1 action drop In tc_flower.sh line 132: tc filter add dev $h2 ingress protocol ip pref 3 handle 103 flower \ ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter add dev "$h2" ingress protocol ip pref 3 handle 103 flower \ In tc_flower.sh line 133: $tcflags src_ip 192.0.2.0/24 action drop ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: "$tcflags" src_ip 192.0.2.0/24 action drop In tc_flower.sh line 135: $MZ $h1 -c 1 -p 64 -a $h1mac -b $h2mac -A 192.0.2.1 -B 192.0.2.2 \ ^-^ 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" -c 1 -p 64 -a "$h1mac" -b "$h2mac" -A 192.0.2.1 -B 192.0.2.2 \ In tc_flower.sh line 144: tc filter del dev $h2 ingress protocol ip pref 2 handle 102 flower ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter del dev "$h2" ingress protocol ip pref 2 handle 102 flower In tc_flower.sh line 146: $MZ $h1 -c 1 -p 64 -a $h1mac -b $h2mac -A 192.0.2.1 -B 192.0.2.2 \ ^-^ 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" -c 1 -p 64 -a "$h1mac" -b "$h2mac" -A 192.0.2.1 -B 192.0.2.2 \ In tc_flower.sh line 152: tc filter del dev $h2 ingress protocol ip pref 1 handle 101 flower ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter del dev "$h2" ingress protocol ip pref 1 handle 101 flower In tc_flower.sh line 153: tc filter del dev $h2 ingress protocol ip pref 3 handle 103 flower ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter del dev "$h2" ingress protocol ip pref 3 handle 103 flower In tc_flower.sh line 162: tc filter add dev $h2 ingress protocol ip pref 1 handle 101 flower \ ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter add dev "$h2" ingress protocol ip pref 1 handle 101 flower \ In tc_flower.sh line 163: $tcflags ip_flags frag action continue ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: "$tcflags" ip_flags frag action continue In tc_flower.sh line 164: tc filter add dev $h2 ingress protocol ip pref 2 handle 102 flower \ ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter add dev "$h2" ingress protocol ip pref 2 handle 102 flower \ In tc_flower.sh line 165: $tcflags ip_flags firstfrag action continue ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: "$tcflags" ip_flags firstfrag action continue In tc_flower.sh line 166: tc filter add dev $h2 ingress protocol ip pref 3 handle 103 flower \ ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter add dev "$h2" ingress protocol ip pref 3 handle 103 flower \ In tc_flower.sh line 167: $tcflags ip_flags nofirstfrag action continue ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: "$tcflags" ip_flags nofirstfrag action continue In tc_flower.sh line 168: tc filter add dev $h2 ingress protocol ip pref 4 handle 104 flower \ ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter add dev "$h2" ingress protocol ip pref 4 handle 104 flower \ In tc_flower.sh line 169: $tcflags ip_flags nofrag action drop ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: "$tcflags" ip_flags nofrag action drop In tc_flower.sh line 171: $MZ $h1 -c 1 -p 1000 -a $h1mac -b $h2mac -A 192.0.2.1 -B 192.0.2.2 \ ^-^ 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" -c 1 -p 1000 -a "$h1mac" -b "$h2mac" -A 192.0.2.1 -B 192.0.2.2 \ In tc_flower.sh line 186: $MZ $h1 -c 1 -p 1000 -a $h1mac -b $h2mac -A 192.0.2.1 -B 192.0.2.2 \ ^-^ 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" -c 1 -p 1000 -a "$h1mac" -b "$h2mac" -A 192.0.2.1 -B 192.0.2.2 \ In tc_flower.sh line 201: $MZ $h1 -c 1 -p 1000 -a $h1mac -b $h2mac -A 192.0.2.1 -B 192.0.2.2 \ ^-^ 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" -c 1 -p 1000 -a "$h1mac" -b "$h2mac" -A 192.0.2.1 -B 192.0.2.2 \ In tc_flower.sh line 203: $MZ $h1 -c 1 -p 1000 -a $h1mac -b $h2mac -A 192.0.2.1 -B 192.0.2.2 \ ^-^ 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" -c 1 -p 1000 -a "$h1mac" -b "$h2mac" -A 192.0.2.1 -B 192.0.2.2 \ In tc_flower.sh line 218: tc filter del dev $h2 ingress protocol ip pref 1 handle 101 flower ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter del dev "$h2" ingress protocol ip pref 1 handle 101 flower In tc_flower.sh line 219: tc filter del dev $h2 ingress protocol ip pref 2 handle 102 flower ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter del dev "$h2" ingress protocol ip pref 2 handle 102 flower In tc_flower.sh line 220: tc filter del dev $h2 ingress protocol ip pref 3 handle 103 flower ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter del dev "$h2" ingress protocol ip pref 3 handle 103 flower In tc_flower.sh line 221: tc filter del dev $h2 ingress protocol ip pref 4 handle 104 flower ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter del dev "$h2" ingress protocol ip pref 4 handle 104 flower In tc_flower.sh line 230: vlan_create $h2 85 v$h2 192.0.2.11/24 ^-^ 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 "$h2" 85 v"$h2" 192.0.2.11/24 In tc_flower.sh line 232: tc filter add dev $h2 ingress protocol 802.1q pref 1 handle 101 \ ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter add dev "$h2" ingress protocol 802.1q pref 1 handle 101 \ In tc_flower.sh line 233: flower vlan_prio 6 $tcflags dst_mac $h2mac action drop ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. ^----^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: flower vlan_prio 6 "$tcflags" dst_mac "$h2mac" action drop In tc_flower.sh line 234: tc filter add dev $h2 ingress protocol 802.1q pref 2 handle 102 \ ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter add dev "$h2" ingress protocol 802.1q pref 2 handle 102 \ In tc_flower.sh line 235: flower vlan_prio 7 $tcflags dst_mac $h2mac action drop ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. ^----^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: flower vlan_prio 7 "$tcflags" dst_mac "$h2mac" action drop In tc_flower.sh line 237: $MZ $h1 -c 1 -p 64 -a $h1mac -b $h2mac -B 192.0.2.11 -Q 7:85 -t ip -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" -c 1 -p 64 -a "$h1mac" -b "$h2mac" -B 192.0.2.11 -Q 7:85 -t ip -q In tc_flower.sh line 238: $MZ $h1 -c 1 -p 64 -a $h1mac -b $h2mac -B 192.0.2.11 -Q 0:85 -t ip -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" -c 1 -p 64 -a "$h1mac" -b "$h2mac" -B 192.0.2.11 -Q 0:85 -t ip -q In tc_flower.sh line 246: tc filter del dev $h2 ingress protocol 802.1q pref 2 handle 102 flower ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter del dev "$h2" ingress protocol 802.1q pref 2 handle 102 flower In tc_flower.sh line 247: tc filter del dev $h2 ingress protocol 802.1q pref 1 handle 101 flower ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter del dev "$h2" ingress protocol 802.1q pref 1 handle 101 flower In tc_flower.sh line 249: vlan_destroy $h2 85 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: vlan_destroy "$h2" 85 In tc_flower.sh line 258: vlan_create $h2 85 v$h2 192.0.2.11/24 ^-^ 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 "$h2" 85 v"$h2" 192.0.2.11/24 In tc_flower.sh line 259: vlan_create $h2 75 v$h2 192.0.2.10/24 ^-^ 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 "$h2" 75 v"$h2" 192.0.2.10/24 In tc_flower.sh line 261: tc filter add dev $h2 ingress protocol 802.1q pref 1 handle 101 \ ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter add dev "$h2" ingress protocol 802.1q pref 1 handle 101 \ In tc_flower.sh line 262: flower vlan_id 75 $tcflags action drop ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: flower vlan_id 75 "$tcflags" action drop In tc_flower.sh line 263: tc filter add dev $h2 ingress protocol 802.1q pref 2 handle 102 \ ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter add dev "$h2" ingress protocol 802.1q pref 2 handle 102 \ In tc_flower.sh line 264: flower vlan_id 85 $tcflags action drop ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: flower vlan_id 85 "$tcflags" action drop In tc_flower.sh line 266: $MZ $h1 -c 1 -p 64 -a $h1mac -b $h2mac -B 192.0.2.11 -Q 0:85 -t ip -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" -c 1 -p 64 -a "$h1mac" -b "$h2mac" -B 192.0.2.11 -Q 0:85 -t ip -q In tc_flower.sh line 274: tc filter del dev $h2 ingress protocol 802.1q pref 2 handle 102 flower ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter del dev "$h2" ingress protocol 802.1q pref 2 handle 102 flower In tc_flower.sh line 275: tc filter del dev $h2 ingress protocol 802.1q pref 1 handle 101 flower ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter del dev "$h2" ingress protocol 802.1q pref 1 handle 101 flower In tc_flower.sh line 277: vlan_destroy $h2 75 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: vlan_destroy "$h2" 75 In tc_flower.sh line 278: vlan_destroy $h2 85 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: vlan_destroy "$h2" 85 In tc_flower.sh line 287: tc filter add dev $h2 ingress protocol ip pref 1 handle 101 flower \ ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter add dev "$h2" ingress protocol ip pref 1 handle 101 flower \ In tc_flower.sh line 288: $tcflags dst_ip 192.0.2.2 ip_tos 0x20 action drop ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: "$tcflags" dst_ip 192.0.2.2 ip_tos 0x20 action drop In tc_flower.sh line 289: tc filter add dev $h2 ingress protocol ip pref 2 handle 102 flower \ ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter add dev "$h2" ingress protocol ip pref 2 handle 102 flower \ In tc_flower.sh line 290: $tcflags dst_ip 192.0.2.2 ip_tos 0x18 action drop ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: "$tcflags" dst_ip 192.0.2.2 ip_tos 0x18 action drop In tc_flower.sh line 292: $MZ $h1 -c 1 -p 64 -a $h1mac -b $h2mac -A 192.0.2.1 -B 192.0.2.2 \ ^-^ 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" -c 1 -p 64 -a "$h1mac" -b "$h2mac" -A 192.0.2.1 -B 192.0.2.2 \ In tc_flower.sh line 301: $MZ $h1 -c 1 -p 64 -a $h1mac -b $h2mac -A 192.0.2.1 -B 192.0.2.2 \ ^-^ 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" -c 1 -p 64 -a "$h1mac" -b "$h2mac" -A 192.0.2.1 -B 192.0.2.2 \ In tc_flower.sh line 310: tc filter del dev $h2 ingress protocol ip pref 2 handle 102 flower ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter del dev "$h2" ingress protocol ip pref 2 handle 102 flower In tc_flower.sh line 311: tc filter del dev $h2 ingress protocol ip pref 1 handle 101 flower ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter del dev "$h2" ingress protocol ip pref 1 handle 101 flower In tc_flower.sh line 320: tc filter add dev $h2 ingress protocol ip pref 1 handle 101 flower \ ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter add dev "$h2" ingress protocol ip pref 1 handle 101 flower \ In tc_flower.sh line 321: $tcflags dst_ip 192.0.2.2 ip_ttl 63 action drop ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: "$tcflags" dst_ip 192.0.2.2 ip_ttl 63 action drop In tc_flower.sh line 322: tc filter add dev $h2 ingress protocol ip pref 2 handle 102 flower \ ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter add dev "$h2" ingress protocol ip pref 2 handle 102 flower \ In tc_flower.sh line 323: $tcflags dst_ip 192.0.2.2 action drop ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: "$tcflags" dst_ip 192.0.2.2 action drop In tc_flower.sh line 325: $MZ $h1 -c 1 -p 64 -a $h1mac -b $h2mac -A 192.0.2.1 -B 192.0.2.2 \ ^-^ 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" -c 1 -p 64 -a "$h1mac" -b "$h2mac" -A 192.0.2.1 -B 192.0.2.2 \ In tc_flower.sh line 328: $MZ $h1 -c 1 -p 64 -a $h1mac -b $h2mac -A 192.0.2.1 -B 192.0.2.2 \ ^-^ 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" -c 1 -p 64 -a "$h1mac" -b "$h2mac" -A 192.0.2.1 -B 192.0.2.2 \ In tc_flower.sh line 337: $MZ $h1 -c 1 -p 64 -a $h1mac -b $h2mac -A 192.0.2.1 -B 192.0.2.2 \ ^-^ 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" -c 1 -p 64 -a "$h1mac" -b "$h2mac" -A 192.0.2.1 -B 192.0.2.2 \ In tc_flower.sh line 346: tc filter del dev $h2 ingress protocol ip pref 2 handle 102 flower ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter del dev "$h2" ingress protocol ip pref 2 handle 102 flower In tc_flower.sh line 347: tc filter del dev $h2 ingress protocol ip pref 1 handle 101 flower ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter del dev "$h2" ingress protocol ip pref 1 handle 101 flower In tc_flower.sh line 356: tc filter add dev $h2 ingress protocol ip pref 1 handle 101 flower \ ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter add dev "$h2" ingress protocol ip pref 1 handle 101 flower \ In tc_flower.sh line 357: $tcflags indev $h1 dst_mac $h2mac action drop ^------^ 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: "$tcflags" indev "$h1" dst_mac "$h2mac" action drop In tc_flower.sh line 358: tc filter add dev $h2 ingress protocol ip pref 2 handle 102 flower \ ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter add dev "$h2" ingress protocol ip pref 2 handle 102 flower \ In tc_flower.sh line 359: $tcflags indev $h2 dst_mac $h2mac action drop ^------^ 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: "$tcflags" indev "$h2" dst_mac "$h2mac" action drop In tc_flower.sh line 361: $MZ $h1 -c 1 -p 64 -a $h1mac -b $h2mac -A 192.0.2.1 -B 192.0.2.2 \ ^-^ 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" -c 1 -p 64 -a "$h1mac" -b "$h2mac" -A 192.0.2.1 -B 192.0.2.2 \ In tc_flower.sh line 370: tc filter del dev $h2 ingress protocol ip pref 2 handle 102 flower ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter del dev "$h2" ingress protocol ip pref 2 handle 102 flower In tc_flower.sh line 371: tc filter del dev $h2 ingress protocol ip pref 1 handle 101 flower ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter del dev "$h2" ingress protocol ip pref 1 handle 101 flower In tc_flower.sh line 389: $ttl ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: "$ttl" In tc_flower.sh line 399: check_tc_mpls_support $h2 || return 0 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: check_tc_mpls_support "$h2" || return 0 In tc_flower.sh line 401: tc filter add dev $h2 ingress protocol mpls_uc pref 1 handle 101 \ ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter add dev "$h2" ingress protocol mpls_uc pref 1 handle 101 \ In tc_flower.sh line 402: flower $tcflags mpls_label 0 action drop ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: flower "$tcflags" mpls_label 0 action drop In tc_flower.sh line 403: tc filter add dev $h2 ingress protocol mpls_uc pref 2 handle 102 \ ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter add dev "$h2" ingress protocol mpls_uc pref 2 handle 102 \ In tc_flower.sh line 404: flower $tcflags mpls_label 1048575 action drop ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: flower "$tcflags" mpls_label 1048575 action drop In tc_flower.sh line 407: $MZ $h1 -c 1 -p 64 -a $h1mac -b $h2mac "$pkt" -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" -c 1 -p 64 -a "$h1mac" -b "$h2mac" "$pkt" -q In tc_flower.sh line 416: $MZ $h1 -c 1 -p 64 -a $h1mac -b $h2mac "$pkt" -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" -c 1 -p 64 -a "$h1mac" -b "$h2mac" "$pkt" -q In tc_flower.sh line 424: tc filter del dev $h2 ingress protocol mpls_uc pref 2 handle 102 flower ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter del dev "$h2" ingress protocol mpls_uc pref 2 handle 102 flower In tc_flower.sh line 425: tc filter del dev $h2 ingress protocol mpls_uc pref 1 handle 101 flower ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter del dev "$h2" ingress protocol mpls_uc pref 1 handle 101 flower In tc_flower.sh line 437: check_tc_mpls_support $h2 || return 0 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: check_tc_mpls_support "$h2" || return 0 In tc_flower.sh line 439: tc filter add dev $h2 ingress protocol mpls_uc pref 1 handle 101 \ ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter add dev "$h2" ingress protocol mpls_uc pref 1 handle 101 \ In tc_flower.sh line 440: flower $tcflags mpls_tc 0 action drop ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: flower "$tcflags" mpls_tc 0 action drop In tc_flower.sh line 441: tc filter add dev $h2 ingress protocol mpls_uc pref 2 handle 102 \ ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter add dev "$h2" ingress protocol mpls_uc pref 2 handle 102 \ In tc_flower.sh line 442: flower $tcflags mpls_tc 7 action drop ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: flower "$tcflags" mpls_tc 7 action drop In tc_flower.sh line 445: $MZ $h1 -c 1 -p 64 -a $h1mac -b $h2mac "$pkt" -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" -c 1 -p 64 -a "$h1mac" -b "$h2mac" "$pkt" -q In tc_flower.sh line 454: $MZ $h1 -c 1 -p 64 -a $h1mac -b $h2mac "$pkt" -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" -c 1 -p 64 -a "$h1mac" -b "$h2mac" "$pkt" -q In tc_flower.sh line 462: tc filter del dev $h2 ingress protocol mpls_uc pref 2 handle 102 flower ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter del dev "$h2" ingress protocol mpls_uc pref 2 handle 102 flower In tc_flower.sh line 463: tc filter del dev $h2 ingress protocol mpls_uc pref 1 handle 101 flower ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter del dev "$h2" ingress protocol mpls_uc pref 1 handle 101 flower In tc_flower.sh line 475: check_tc_mpls_support $h2 || return 0 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: check_tc_mpls_support "$h2" || return 0 In tc_flower.sh line 477: tc filter add dev $h2 ingress protocol mpls_uc pref 1 handle 101 \ ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter add dev "$h2" ingress protocol mpls_uc pref 1 handle 101 \ In tc_flower.sh line 478: flower $tcflags mpls_bos 0 action drop ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: flower "$tcflags" mpls_bos 0 action drop In tc_flower.sh line 479: tc filter add dev $h2 ingress protocol mpls_uc pref 2 handle 102 \ ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter add dev "$h2" ingress protocol mpls_uc pref 2 handle 102 \ In tc_flower.sh line 480: flower $tcflags mpls_bos 1 action drop ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: flower "$tcflags" mpls_bos 1 action drop In tc_flower.sh line 483: $MZ $h1 -c 1 -p 64 -a $h1mac -b $h2mac "$pkt" -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" -c 1 -p 64 -a "$h1mac" -b "$h2mac" "$pkt" -q In tc_flower.sh line 493: $MZ $h1 -c 1 -p 64 -a $h1mac -b $h2mac "$pkt" -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" -c 1 -p 64 -a "$h1mac" -b "$h2mac" "$pkt" -q In tc_flower.sh line 501: tc filter del dev $h2 ingress protocol mpls_uc pref 2 handle 102 flower ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter del dev "$h2" ingress protocol mpls_uc pref 2 handle 102 flower In tc_flower.sh line 502: tc filter del dev $h2 ingress protocol mpls_uc pref 1 handle 101 flower ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter del dev "$h2" ingress protocol mpls_uc pref 1 handle 101 flower In tc_flower.sh line 514: check_tc_mpls_support $h2 || return 0 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: check_tc_mpls_support "$h2" || return 0 In tc_flower.sh line 516: tc filter add dev $h2 ingress protocol mpls_uc pref 1 handle 101 \ ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter add dev "$h2" ingress protocol mpls_uc pref 1 handle 101 \ In tc_flower.sh line 517: flower $tcflags mpls_ttl 0 action drop ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: flower "$tcflags" mpls_ttl 0 action drop In tc_flower.sh line 518: tc filter add dev $h2 ingress protocol mpls_uc pref 2 handle 102 \ ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter add dev "$h2" ingress protocol mpls_uc pref 2 handle 102 \ In tc_flower.sh line 519: flower $tcflags mpls_ttl 255 action drop ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: flower "$tcflags" mpls_ttl 255 action drop In tc_flower.sh line 522: $MZ $h1 -c 1 -p 64 -a $h1mac -b $h2mac "$pkt" -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" -c 1 -p 64 -a "$h1mac" -b "$h2mac" "$pkt" -q In tc_flower.sh line 531: $MZ $h1 -c 1 -p 64 -a $h1mac -b $h2mac "$pkt" -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" -c 1 -p 64 -a "$h1mac" -b "$h2mac" "$pkt" -q In tc_flower.sh line 539: tc filter del dev $h2 ingress protocol mpls_uc pref 2 handle 102 flower ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter del dev "$h2" ingress protocol mpls_uc pref 2 handle 102 flower In tc_flower.sh line 540: tc filter del dev $h2 ingress protocol mpls_uc pref 1 handle 101 flower ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter del dev "$h2" ingress protocol mpls_uc pref 1 handle 101 flower In tc_flower.sh line 552: check_tc_mpls_lse_stats $h2 || return 0 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: check_tc_mpls_lse_stats "$h2" || return 0 In tc_flower.sh line 555: tc filter add dev $h2 ingress protocol mpls_uc pref 1 handle 101 \ ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter add dev "$h2" ingress protocol mpls_uc pref 1 handle 101 \ In tc_flower.sh line 556: flower $tcflags mpls lse depth 1 label 0 action continue ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: flower "$tcflags" mpls lse depth 1 label 0 action continue In tc_flower.sh line 557: tc filter add dev $h2 ingress protocol mpls_uc pref 2 handle 102 \ ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter add dev "$h2" ingress protocol mpls_uc pref 2 handle 102 \ In tc_flower.sh line 558: flower $tcflags mpls lse depth 1 tc 0 action continue ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: flower "$tcflags" mpls lse depth 1 tc 0 action continue In tc_flower.sh line 559: tc filter add dev $h2 ingress protocol mpls_uc pref 3 handle 103 \ ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter add dev "$h2" ingress protocol mpls_uc pref 3 handle 103 \ In tc_flower.sh line 560: flower $tcflags mpls lse depth 1 bos 0 action continue ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: flower "$tcflags" mpls lse depth 1 bos 0 action continue In tc_flower.sh line 561: tc filter add dev $h2 ingress protocol mpls_uc pref 4 handle 104 \ ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter add dev "$h2" ingress protocol mpls_uc pref 4 handle 104 \ In tc_flower.sh line 562: flower $tcflags mpls lse depth 1 ttl 0 action continue ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: flower "$tcflags" mpls lse depth 1 ttl 0 action continue In tc_flower.sh line 565: tc filter add dev $h2 ingress protocol mpls_uc pref 5 handle 105 \ ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter add dev "$h2" ingress protocol mpls_uc pref 5 handle 105 \ In tc_flower.sh line 566: flower $tcflags mpls lse depth 2 label 1048575 action continue ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: flower "$tcflags" mpls lse depth 2 label 1048575 action continue In tc_flower.sh line 567: tc filter add dev $h2 ingress protocol mpls_uc pref 6 handle 106 \ ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter add dev "$h2" ingress protocol mpls_uc pref 6 handle 106 \ In tc_flower.sh line 568: flower $tcflags mpls lse depth 2 tc 7 action continue ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: flower "$tcflags" mpls lse depth 2 tc 7 action continue In tc_flower.sh line 569: tc filter add dev $h2 ingress protocol mpls_uc pref 7 handle 107 \ ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter add dev "$h2" ingress protocol mpls_uc pref 7 handle 107 \ In tc_flower.sh line 570: flower $tcflags mpls lse depth 2 bos 1 action continue ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: flower "$tcflags" mpls lse depth 2 bos 1 action continue In tc_flower.sh line 571: tc filter add dev $h2 ingress protocol mpls_uc pref 8 handle 108 \ ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter add dev "$h2" ingress protocol mpls_uc pref 8 handle 108 \ In tc_flower.sh line 572: flower $tcflags mpls lse depth 2 ttl 255 action continue ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: flower "$tcflags" mpls lse depth 2 ttl 255 action continue In tc_flower.sh line 575: tc filter add dev $h2 ingress protocol mpls_uc pref 9 handle 109 \ ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter add dev "$h2" ingress protocol mpls_uc pref 9 handle 109 \ In tc_flower.sh line 576: flower $tcflags mpls lse depth 1 action continue ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: flower "$tcflags" mpls lse depth 1 action continue In tc_flower.sh line 577: tc filter add dev $h2 ingress protocol mpls_uc pref 10 handle 110 \ ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter add dev "$h2" ingress protocol mpls_uc pref 10 handle 110 \ In tc_flower.sh line 578: flower $tcflags mpls lse depth 2 action continue ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: flower "$tcflags" mpls lse depth 2 action continue In tc_flower.sh line 579: tc filter add dev $h2 ingress protocol mpls_uc pref 11 handle 111 \ ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter add dev "$h2" ingress protocol mpls_uc pref 11 handle 111 \ In tc_flower.sh line 580: flower $tcflags mpls lse depth 3 action continue ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: flower "$tcflags" mpls lse depth 3 action continue In tc_flower.sh line 584: $MZ $h1 -c 1 -p 64 -a $h1mac -b $h2mac "$pkt" -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" -c 1 -p 64 -a "$h1mac" -b "$h2mac" "$pkt" -q In tc_flower.sh line 591: $MZ $h1 -c 1 -p 64 -a $h1mac -b $h2mac "$pkt" -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" -c 1 -p 64 -a "$h1mac" -b "$h2mac" "$pkt" -q In tc_flower.sh line 595: $MZ $h1 -c 1 -p 64 -a $h1mac -b $h2mac "$pkt" -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" -c 1 -p 64 -a "$h1mac" -b "$h2mac" "$pkt" -q In tc_flower.sh line 600: $MZ $h1 -c 1 -p 64 -a $h1mac -b $h2mac "$pkt" -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" -c 1 -p 64 -a "$h1mac" -b "$h2mac" "$pkt" -q In tc_flower.sh line 604: $MZ $h1 -c 1 -p 64 -a $h1mac -b $h2mac "$pkt" -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" -c 1 -p 64 -a "$h1mac" -b "$h2mac" "$pkt" -q In tc_flower.sh line 608: $MZ $h1 -c 1 -p 64 -a $h1mac -b $h2mac "$pkt" -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" -c 1 -p 64 -a "$h1mac" -b "$h2mac" "$pkt" -q In tc_flower.sh line 612: $MZ $h1 -c 1 -p 64 -a $h1mac -b $h2mac "$pkt" -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" -c 1 -p 64 -a "$h1mac" -b "$h2mac" "$pkt" -q In tc_flower.sh line 618: $MZ $h1 -c 1 -p 64 -a $h1mac -b $h2mac "$pkt" -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" -c 1 -p 64 -a "$h1mac" -b "$h2mac" "$pkt" -q In tc_flower.sh line 622: $MZ $h1 -c 1 -p 64 -a $h1mac -b $h2mac "$pkt" -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" -c 1 -p 64 -a "$h1mac" -b "$h2mac" "$pkt" -q In tc_flower.sh line 664: tc filter del dev $h2 ingress protocol mpls_uc pref 11 handle 111 flower ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter del dev "$h2" ingress protocol mpls_uc pref 11 handle 111 flower In tc_flower.sh line 665: tc filter del dev $h2 ingress protocol mpls_uc pref 10 handle 110 flower ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter del dev "$h2" ingress protocol mpls_uc pref 10 handle 110 flower In tc_flower.sh line 666: tc filter del dev $h2 ingress protocol mpls_uc pref 9 handle 109 flower ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter del dev "$h2" ingress protocol mpls_uc pref 9 handle 109 flower In tc_flower.sh line 667: tc filter del dev $h2 ingress protocol mpls_uc pref 8 handle 108 flower ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter del dev "$h2" ingress protocol mpls_uc pref 8 handle 108 flower In tc_flower.sh line 668: tc filter del dev $h2 ingress protocol mpls_uc pref 7 handle 107 flower ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter del dev "$h2" ingress protocol mpls_uc pref 7 handle 107 flower In tc_flower.sh line 669: tc filter del dev $h2 ingress protocol mpls_uc pref 6 handle 106 flower ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter del dev "$h2" ingress protocol mpls_uc pref 6 handle 106 flower In tc_flower.sh line 670: tc filter del dev $h2 ingress protocol mpls_uc pref 5 handle 105 flower ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter del dev "$h2" ingress protocol mpls_uc pref 5 handle 105 flower In tc_flower.sh line 671: tc filter del dev $h2 ingress protocol mpls_uc pref 4 handle 104 flower ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter del dev "$h2" ingress protocol mpls_uc pref 4 handle 104 flower In tc_flower.sh line 672: tc filter del dev $h2 ingress protocol mpls_uc pref 3 handle 103 flower ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter del dev "$h2" ingress protocol mpls_uc pref 3 handle 103 flower In tc_flower.sh line 673: tc filter del dev $h2 ingress protocol mpls_uc pref 2 handle 102 flower ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter del dev "$h2" ingress protocol mpls_uc pref 2 handle 102 flower In tc_flower.sh line 674: tc filter del dev $h2 ingress protocol mpls_uc pref 1 handle 101 flower ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter del dev "$h2" ingress protocol mpls_uc pref 1 handle 101 flower In tc_flower.sh line 683: check_tc_erspan_support $h2 || return 0 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: check_tc_erspan_support "$h2" || return 0 In tc_flower.sh line 686: tunnel_create erspan1 erspan 192.0.2.1 192.0.2.2 dev $h1 seq key 1001 \ ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tunnel_create erspan1 erspan 192.0.2.1 192.0.2.2 dev "$h1" seq key 1001 \ In tc_flower.sh line 688: tunnel_create erspan2 erspan 192.0.2.1 192.0.2.2 dev $h1 seq key 1002 \ ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tunnel_create erspan2 erspan 192.0.2.1 192.0.2.2 dev "$h1" seq key 1002 \ In tc_flower.sh line 691: ip link set dev erspan1 master v$h1 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link set dev erspan1 master v"$h1" In tc_flower.sh line 692: ip link set dev erspan2 master v$h1 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link set dev erspan2 master v"$h1" In tc_flower.sh line 696: ip link set dev ep-ex master v$h2 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link set dev ep-ex master v"$h2" In tc_flower.sh line 701: $tcflags enc_src_ip 192.0.2.1 enc_dst_ip 192.0.2.2 \ ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: "$tcflags" enc_src_ip 192.0.2.1 enc_dst_ip 192.0.2.2 \ In tc_flower.sh line 706: $tcflags enc_src_ip 192.0.2.1 enc_dst_ip 192.0.2.2 \ ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: "$tcflags" enc_src_ip 192.0.2.1 enc_dst_ip 192.0.2.2 \ In tc_flower.sh line 710: $MZ erspan1 -c 1 -p 64 -a $ep1mac -b $h2mac -t ip -q ^-----^ SC2086 (info): Double quote to prevent globbing and word splitting. ^----^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: $MZ erspan1 -c 1 -p 64 -a "$ep1mac" -b "$h2mac" -t ip -q In tc_flower.sh line 714: ep2mac=$(mac_get erspan2) ^----^ SC2034 (warning): ep2mac appears unused. Verify use (or export if used externally). In tc_flower.sh line 715: $MZ erspan2 -c 1 -p 64 -a $ep1mac -b $h2mac -t ip -q ^-----^ SC2086 (info): Double quote to prevent globbing and word splitting. ^----^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: $MZ erspan2 -c 1 -p 64 -a "$ep1mac" -b "$h2mac" -t ip -q In tc_flower.sh line 733: h1mac=$(mac_get $h1) ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: h1mac=$(mac_get "$h1") In tc_flower.sh line 734: h2mac=$(mac_get $h2) ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: h2mac=$(mac_get "$h2") In tc_flower.sh line 759: tc_offload_check ^--------------^ SC2119 (info): Use tc_offload_check "$@" if function's $1 should mean script's $1. In tc_flower.sh line 760: if [[ $? -ne 0 ]]; then ^-- SC2181 (style): Check exit code directly with e.g. 'if ! mycmd;', not indirectly with $?. In tc_flower.sh line 767: 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/SC2034 -- ep2mac appears unused. Verify use... https://www.shellcheck.net/wiki/SC2086 -- Double quote to prevent globbing ... https://www.shellcheck.net/wiki/SC2119 -- Use tc_offload_check "$@" if func... Checking tools/testing/selftests/net/forwarding/tc_flower_cfm.sh - 5c092ce66c0f07bbdec605badcff8a27219ba227023f9515546e63f4ecf7e9a2 In tc_flower_cfm.sh line 11: simple_if_init $h1 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: simple_if_init "$h1" In tc_flower_cfm.sh line 16: simple_if_fini $h1 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: simple_if_fini "$h1" In tc_flower_cfm.sh line 21: simple_if_init $h2 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: simple_if_init "$h2" In tc_flower_cfm.sh line 22: tc qdisc add dev $h2 clsact ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc qdisc add dev "$h2" clsact In tc_flower_cfm.sh line 27: tc qdisc del dev $h2 clsact ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc qdisc del dev "$h2" clsact In tc_flower_cfm.sh line 28: simple_if_fini $h2 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: simple_if_fini "$h2" In tc_flower_cfm.sh line 35: printf "%02x" $u8 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: printf "%02x" "$u8" In tc_flower_cfm.sh line 45: local cfm_hdr=$(: ^-----^ SC2155 (warning): Declare and assign separately to avoid masking return values. In tc_flower_cfm.sh line 46: )"$(u8_to_hex $((mdl << 5))):"$( : MD level and Version ^-- SC2027 (warning): The surrounding quotes actually unquote this. Remove or escape them. In tc_flower_cfm.sh line 47: )"$(u8_to_hex $op):"$( : OpCode ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. ^-- SC2027 (warning): The surrounding quotes actually unquote this. Remove or escape them. Did you mean: )"$(u8_to_hex "$op"):"$( : OpCode In tc_flower_cfm.sh line 48: )"$(u8_to_hex $flags):"$( : Flags ^----^ SC2086 (info): Double quote to prevent globbing and word splitting. ^-- SC2027 (warning): The surrounding quotes actually unquote this. Remove or escape them. Did you mean: )"$(u8_to_hex "$flags"):"$( : Flags In tc_flower_cfm.sh line 49: )"$(u8_to_hex $tlv_offset)"$( : TLV offset ^---------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: )"$(u8_to_hex "$tlv_offset")"$( : TLV offset In tc_flower_cfm.sh line 52: echo $cfm_hdr ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: echo "$cfm_hdr" In tc_flower_cfm.sh line 60: tc filter add dev $h2 ingress protocol cfm pref 1 handle 101 \ ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter add dev "$h2" ingress protocol cfm pref 1 handle 101 \ In tc_flower_cfm.sh line 62: tc filter add dev $h2 ingress protocol cfm pref 1 handle 102 \ ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter add dev "$h2" ingress protocol cfm pref 1 handle 102 \ In tc_flower_cfm.sh line 66: $MZ $h1 -c 1 -p 64 -a $h1mac -b $h2mac "$pkt" -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" -c 1 -p 64 -a "$h1mac" -b "$h2mac" "$pkt" -q In tc_flower_cfm.sh line 68: $MZ $h1 -c 1 -p 64 -a $h1mac -b $h2mac "$pkt" -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" -c 1 -p 64 -a "$h1mac" -b "$h2mac" "$pkt" -q In tc_flower_cfm.sh line 77: $MZ $h1 -c 1 -p 64 -a $h1mac -b $h2mac "$pkt" -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" -c 1 -p 64 -a "$h1mac" -b "$h2mac" "$pkt" -q In tc_flower_cfm.sh line 85: tc filter del dev $h2 ingress protocol cfm pref 1 handle 101 flower ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter del dev "$h2" ingress protocol cfm pref 1 handle 101 flower In tc_flower_cfm.sh line 86: tc filter del dev $h2 ingress protocol cfm pref 1 handle 102 flower ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter del dev "$h2" ingress protocol cfm pref 1 handle 102 flower In tc_flower_cfm.sh line 96: tc filter add dev $h2 ingress protocol cfm pref 1 handle 101 \ ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter add dev "$h2" ingress protocol cfm pref 1 handle 101 \ In tc_flower_cfm.sh line 98: tc filter add dev $h2 ingress protocol cfm pref 1 handle 102 \ ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter add dev "$h2" ingress protocol cfm pref 1 handle 102 \ In tc_flower_cfm.sh line 100: tc filter add dev $h2 ingress protocol cfm pref 1 handle 103 \ ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter add dev "$h2" ingress protocol cfm pref 1 handle 103 \ In tc_flower_cfm.sh line 104: $MZ $h1 -c 1 -p 64 -a $h1mac -b $h2mac "$pkt" -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" -c 1 -p 64 -a "$h1mac" -b "$h2mac" "$pkt" -q In tc_flower_cfm.sh line 106: $MZ $h1 -c 1 -p 64 -a $h1mac -b $h2mac "$pkt" -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" -c 1 -p 64 -a "$h1mac" -b "$h2mac" "$pkt" -q In tc_flower_cfm.sh line 108: $MZ $h1 -c 1 -p 64 -a $h1mac -b $h2mac "$pkt" -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" -c 1 -p 64 -a "$h1mac" -b "$h2mac" "$pkt" -q In tc_flower_cfm.sh line 120: $MZ $h1 -c 1 -p 64 -a $h1mac -b $h2mac "$pkt" -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" -c 1 -p 64 -a "$h1mac" -b "$h2mac" "$pkt" -q In tc_flower_cfm.sh line 131: tc filter del dev $h2 ingress protocol cfm pref 1 handle 101 flower ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter del dev "$h2" ingress protocol cfm pref 1 handle 101 flower In tc_flower_cfm.sh line 132: tc filter del dev $h2 ingress protocol cfm pref 1 handle 102 flower ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter del dev "$h2" ingress protocol cfm pref 1 handle 102 flower In tc_flower_cfm.sh line 133: tc filter del dev $h2 ingress protocol cfm pref 1 handle 103 flower ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter del dev "$h2" ingress protocol cfm pref 1 handle 103 flower In tc_flower_cfm.sh line 143: tc filter add dev $h2 ingress protocol cfm pref 1 handle 101 \ ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter add dev "$h2" ingress protocol cfm pref 1 handle 101 \ In tc_flower_cfm.sh line 145: tc filter add dev $h2 ingress protocol cfm pref 1 handle 102 \ ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter add dev "$h2" ingress protocol cfm pref 1 handle 102 \ In tc_flower_cfm.sh line 149: $MZ $h1 -c 1 -p 64 -a $h1mac -b $h2mac "$pkt" -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" -c 1 -p 64 -a "$h1mac" -b "$h2mac" "$pkt" -q In tc_flower_cfm.sh line 151: $MZ $h1 -c 1 -p 64 -a $h1mac -b $h2mac "$pkt" -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" -c 1 -p 64 -a "$h1mac" -b "$h2mac" "$pkt" -q In tc_flower_cfm.sh line 153: $MZ $h1 -c 1 -p 64 -a $h1mac -b $h2mac "$pkt" -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" -c 1 -p 64 -a "$h1mac" -b "$h2mac" "$pkt" -q In tc_flower_cfm.sh line 162: $MZ $h1 -c 1 -p 64 -a $h1mac -b $h2mac "$pkt" -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" -c 1 -p 64 -a "$h1mac" -b "$h2mac" "$pkt" -q In tc_flower_cfm.sh line 170: tc filter del dev $h2 ingress protocol cfm pref 1 handle 101 flower ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter del dev "$h2" ingress protocol cfm pref 1 handle 101 flower In tc_flower_cfm.sh line 171: tc filter del dev $h2 ingress protocol cfm pref 1 handle 102 flower ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter del dev "$h2" ingress protocol cfm pref 1 handle 102 flower In tc_flower_cfm.sh line 180: h1mac=$(mac_get $h1) ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: h1mac=$(mac_get "$h1") In tc_flower_cfm.sh line 181: h2mac=$(mac_get $h2) ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: h2mac=$(mac_get "$h2") In tc_flower_cfm.sh line 206: 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/SC2027 -- The surrounding quotes actually u... https://www.shellcheck.net/wiki/SC2155 -- Declare and assign separately to ... https://www.shellcheck.net/wiki/SC2086 -- Double quote to prevent globbing ... 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 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 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 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 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 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 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 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 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 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 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 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 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 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 ... Checking tools/testing/selftests/net/forwarding/tc_flower_port_range.sh - 56066df27fb185a5fce090bdeb8c62fafff5e434675e5e537f15d46724fdf7e1 In tc_flower_port_range.sh line 32: 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_port_range.sh line 37: 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_port_range.sh line 42: 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_port_range.sh line 47: 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_port_range.sh line 53: 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_port_range.sh line 54: 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_port_range.sh line 55: 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_port_range.sh line 56: 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_port_range.sh line 59: tc qdisc add dev $swp1 clsact ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc qdisc add dev "$swp1" clsact In tc_flower_port_range.sh line 60: 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_port_range.sh line 65: 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_port_range.sh line 66: tc qdisc del dev $swp1 clsact ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc qdisc del dev "$swp1" clsact In tc_flower_port_range.sh line 69: 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_port_range.sh line 70: 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_port_range.sh line 71: 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_port_range.sh line 72: 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_port_range.sh line 84: local dmac=$(mac_get $h2) ^--^ 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 dmac=$(mac_get "$h2") In tc_flower_port_range.sh line 85: local smac=$(mac_get $h1) ^--^ 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 smac=$(mac_get "$h1") In tc_flower_port_range.sh line 95: tc filter add dev $swp1 ingress 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 "$swp1" ingress protocol "$proto" handle 101 pref 1 \ In tc_flower_port_range.sh line 96: flower src_ip $sip dst_ip $dip ip_proto $ip_proto \ ^--^ 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 src_ip "$sip" dst_ip "$dip" ip_proto "$ip_proto" \ In tc_flower_port_range.sh line 97: src_port $sport_min-$sport_max \ ^--------^ SC2086 (info): Double quote to prevent globbing and word splitting. ^--------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: src_port "$sport_min"-"$sport_max" \ In tc_flower_port_range.sh line 98: dst_port $dport_min-$dport_max \ ^--------^ SC2086 (info): Double quote to prevent globbing and word splitting. ^--------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: dst_port "$dport_min"-"$dport_max" \ In tc_flower_port_range.sh line 100: 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_port_range.sh line 101: flower src_ip $sip dst_ip $dip ip_proto $ip_proto \ ^--^ 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 src_ip "$sip" dst_ip "$dip" ip_proto "$ip_proto" \ In tc_flower_port_range.sh line 102: src_port $sport_min-$sport_max \ ^--------^ SC2086 (info): Double quote to prevent globbing and word splitting. ^--------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: src_port "$sport_min"-"$sport_max" \ In tc_flower_port_range.sh line 103: dst_port $dport_min-$dport_max \ ^--------^ SC2086 (info): Double quote to prevent globbing and word splitting. ^--------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: dst_port "$dport_min"-"$dport_max" \ In tc_flower_port_range.sh line 106: $MZ $mode $h1 -c 1 -q -p 100 -a $smac -b $dmac -A $sip -B $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. ^---^ 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" -c 1 -q -p 100 -a "$smac" -b "$dmac" -A "$sip" -B "$dip" \ In tc_flower_port_range.sh line 107: -t $ip_proto "sp=$sport_min,dp=$dport_min" ^-------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: -t "$ip_proto" "sp=$sport_min,dp=$dport_min" In tc_flower_port_range.sh line 113: $MZ $mode $h1 -c 1 -q -p 100 -a $smac -b $dmac -A $sip -B $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. ^---^ 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" -c 1 -q -p 100 -a "$smac" -b "$dmac" -A "$sip" -B "$dip" \ In tc_flower_port_range.sh line 114: -t $ip_proto "sp=$sport_mid,dp=$dport_mid" ^-------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: -t "$ip_proto" "sp=$sport_mid,dp=$dport_mid" In tc_flower_port_range.sh line 120: $MZ $mode $h1 -c 1 -q -p 100 -a $smac -b $dmac -A $sip -B $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. ^---^ 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" -c 1 -q -p 100 -a "$smac" -b "$dmac" -A "$sip" -B "$dip" \ In tc_flower_port_range.sh line 121: -t $ip_proto "sp=$sport_max,dp=$dport_max" ^-------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: -t "$ip_proto" "sp=$sport_max,dp=$dport_max" In tc_flower_port_range.sh line 129: $MZ $mode $h1 -c 1 -q -p 100 -a $smac -b $dmac -A $sip -B $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. ^---^ 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" -c 1 -q -p 100 -a "$smac" -b "$dmac" -A "$sip" -B "$dip" \ In tc_flower_port_range.sh line 130: -t $ip_proto "sp=$((sport_min - 1)),dp=$dport_min" ^-------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: -t "$ip_proto" "sp=$((sport_min - 1)),dp=$dport_min" In tc_flower_port_range.sh line 131: $MZ $mode $h1 -c 1 -q -p 100 -a $smac -b $dmac -A $sip -B $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. ^---^ 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" -c 1 -q -p 100 -a "$smac" -b "$dmac" -A "$sip" -B "$dip" \ In tc_flower_port_range.sh line 132: -t $ip_proto "sp=$((sport_max + 1)),dp=$dport_min" ^-------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: -t "$ip_proto" "sp=$((sport_max + 1)),dp=$dport_min" In tc_flower_port_range.sh line 133: $MZ $mode $h1 -c 1 -q -p 100 -a $smac -b $dmac -A $sip -B $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. ^---^ 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" -c 1 -q -p 100 -a "$smac" -b "$dmac" -A "$sip" -B "$dip" \ In tc_flower_port_range.sh line 134: -t $ip_proto "sp=$sport_min,dp=$((dport_min - 1))" ^-------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: -t "$ip_proto" "sp=$sport_min,dp=$((dport_min - 1))" In tc_flower_port_range.sh line 135: $MZ $mode $h1 -c 1 -q -p 100 -a $smac -b $dmac -A $sip -B $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. ^---^ 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" -c 1 -q -p 100 -a "$smac" -b "$dmac" -A "$sip" -B "$dip" \ In tc_flower_port_range.sh line 136: -t $ip_proto "sp=$sport_min,dp=$((dport_max + 1))" ^-------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: -t "$ip_proto" "sp=$sport_min,dp=$((dport_max + 1))" In tc_flower_port_range.sh line 137: $MZ $mode $h1 -c 1 -q -p 100 -a $smac -b $dmac -A $sip -B $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. ^---^ 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" -c 1 -q -p 100 -a "$smac" -b "$dmac" -A "$sip" -B "$dip" \ In tc_flower_port_range.sh line 138: -t $ip_proto "sp=$((sport_max + 1)),dp=$((dport_max + 1))" ^-------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: -t "$ip_proto" "sp=$((sport_max + 1)),dp=$((dport_max + 1))" In tc_flower_port_range.sh line 144: 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_port_range.sh line 145: tc filter del dev $swp1 ingress 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 "$swp1" ingress protocol "$proto" pref 1 handle 101 flower In tc_flower_port_range.sh line 159: __test_port_range $proto $ip_proto $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. Did you mean: __test_port_range "$proto" "$ip_proto" "$sip" "$dip" "$mode" "$name" In tc_flower_port_range.sh line 171: __test_port_range $proto $ip_proto $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. Did you mean: __test_port_range "$proto" "$ip_proto" "$sip" "$dip" "$mode" "$name" In tc_flower_port_range.sh line 183: __test_port_range $proto $ip_proto $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. Did you mean: __test_port_range "$proto" "$ip_proto" "$sip" "$dip" "$mode" "$name" In tc_flower_port_range.sh line 195: __test_port_range $proto $ip_proto $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. Did you mean: __test_port_range "$proto" "$ip_proto" "$sip" "$dip" "$mode" "$name" In tc_flower_port_range.sh line 206: local dmac=$(mac_get $h2) ^--^ 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 dmac=$(mac_get "$h2") In tc_flower_port_range.sh line 207: local smac=$(mac_get $h1) ^--^ 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 smac=$(mac_get "$h1") In tc_flower_port_range.sh line 215: tc filter add dev $swp1 ingress 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 "$swp1" ingress protocol "$proto" handle 101 pref 1 \ In tc_flower_port_range.sh line 216: flower src_ip $sip dst_ip $dip ip_proto $ip_proto \ ^--^ 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 src_ip "$sip" dst_ip "$dip" ip_proto "$ip_proto" \ In tc_flower_port_range.sh line 217: src_port $sport_min-$sport_max \ ^--------^ SC2086 (info): Double quote to prevent globbing and word splitting. ^--------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: src_port "$sport_min"-"$sport_max" \ In tc_flower_port_range.sh line 218: dst_port $dport \ ^----^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: dst_port "$dport" \ In tc_flower_port_range.sh line 222: $MZ $mode $h1 -c 1 -q -p 100 -a $smac -b $dmac -A $sip -B $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. ^---^ 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" -c 1 -q -p 100 -a "$smac" -b "$dmac" -A "$sip" -B "$dip" \ In tc_flower_port_range.sh line 223: -t $ip_proto "sp=$((sport_min - 1)),dp=$dport" ^-------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: -t "$ip_proto" "sp=$((sport_min - 1)),dp=$dport" In tc_flower_port_range.sh line 224: $MZ $mode $h1 -c 1 -q -p 100 -a $smac -b $dmac -A $sip -B $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. ^---^ 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" -c 1 -q -p 100 -a "$smac" -b "$dmac" -A "$sip" -B "$dip" \ In tc_flower_port_range.sh line 225: -t $ip_proto "sp=$((sport_max + 1)),dp=$dport" ^-------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: -t "$ip_proto" "sp=$((sport_max + 1)),dp=$dport" In tc_flower_port_range.sh line 228: $MZ $mode $h1 -c 1 -q -p 100 -a $smac -b $dmac -A $sip -B $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. ^---^ 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" -c 1 -q -p 100 -a "$smac" -b "$dmac" -A "$sip" -B "$dip" \ In tc_flower_port_range.sh line 229: -t $ip_proto "sp=$sport_min,dp=$dport" ^-------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: -t "$ip_proto" "sp=$sport_min,dp=$dport" In tc_flower_port_range.sh line 230: $MZ $mode $h1 -c 1 -q -p 100 -a $smac -b $dmac -A $sip -B $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. ^---^ 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" -c 1 -q -p 100 -a "$smac" -b "$dmac" -A "$sip" -B "$dip" \ In tc_flower_port_range.sh line 231: -t $ip_proto "sp=$sport_mid,dp=$dport" ^-------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: -t "$ip_proto" "sp=$sport_mid,dp=$dport" In tc_flower_port_range.sh line 232: $MZ $mode $h1 -c 1 -q -p 100 -a $smac -b $dmac -A $sip -B $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. ^---^ 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" -c 1 -q -p 100 -a "$smac" -b "$dmac" -A "$sip" -B "$dip" \ In tc_flower_port_range.sh line 233: -t $ip_proto "sp=$sport_max,dp=$dport" ^-------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: -t "$ip_proto" "sp=$sport_max,dp=$dport" In tc_flower_port_range.sh line 238: tc filter del dev $swp1 ingress 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 "$swp1" ingress protocol "$proto" pref 1 handle 101 flower In tc_flower_port_range.sh line 274: 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 ... Checking tools/testing/selftests/net/forwarding/tc_flower_router.sh - aebbfe1990b954a4e7a857d84413b7fb804c10ad045d6c4fd8e123515e28d3f2 In tc_flower_router.sh line 11: simple_if_init $h1 192.0.1.1/24 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: simple_if_init "$h1" 192.0.1.1/24 In tc_flower_router.sh line 13: ip route add 192.0.2.0/24 vrf v$h1 nexthop via 192.0.1.2 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip route add 192.0.2.0/24 vrf v"$h1" nexthop via 192.0.1.2 In tc_flower_router.sh line 14: ip route add 192.0.3.0/24 vrf v$h1 nexthop via 192.0.1.2 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip route add 192.0.3.0/24 vrf v"$h1" nexthop via 192.0.1.2 In tc_flower_router.sh line 19: ip route del 192.0.3.0/24 vrf v$h1 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip route del 192.0.3.0/24 vrf v"$h1" In tc_flower_router.sh line 20: ip route del 192.0.2.0/24 vrf v$h1 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip route del 192.0.2.0/24 vrf v"$h1" In tc_flower_router.sh line 22: simple_if_fini $h1 192.0.1.1/24 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: simple_if_fini "$h1" 192.0.1.1/24 In tc_flower_router.sh line 27: simple_if_init $h2 192.0.2.1/24 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: simple_if_init "$h2" 192.0.2.1/24 In tc_flower_router.sh line 29: ip route add 192.0.1.0/24 vrf v$h2 nexthop via 192.0.2.2 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip route add 192.0.1.0/24 vrf v"$h2" nexthop via 192.0.2.2 In tc_flower_router.sh line 30: ip route add 192.0.3.0/24 vrf v$h2 nexthop via 192.0.2.2 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip route add 192.0.3.0/24 vrf v"$h2" nexthop via 192.0.2.2 In tc_flower_router.sh line 35: ip route del 192.0.3.0/24 vrf v$h2 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip route del 192.0.3.0/24 vrf v"$h2" In tc_flower_router.sh line 36: ip route del 192.0.1.0/24 vrf v$h2 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip route del 192.0.1.0/24 vrf v"$h2" In tc_flower_router.sh line 38: simple_if_fini $h2 192.0.2.1/24 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: simple_if_fini "$h2" 192.0.2.1/24 In tc_flower_router.sh line 43: simple_if_init $h3 192.0.3.1/24 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: simple_if_init "$h3" 192.0.3.1/24 In tc_flower_router.sh line 45: ip route add 192.0.1.0/24 vrf v$h3 nexthop via 192.0.3.2 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip route add 192.0.1.0/24 vrf v"$h3" nexthop via 192.0.3.2 In tc_flower_router.sh line 46: ip route add 192.0.2.0/24 vrf v$h3 nexthop via 192.0.3.2 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip route add 192.0.2.0/24 vrf v"$h3" nexthop via 192.0.3.2 In tc_flower_router.sh line 51: ip route del 192.0.2.0/24 vrf v$h3 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip route del 192.0.2.0/24 vrf v"$h3" In tc_flower_router.sh line 52: ip route del 192.0.1.0/24 vrf v$h3 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip route del 192.0.1.0/24 vrf v"$h3" In tc_flower_router.sh line 54: simple_if_fini $h3 192.0.3.1/24 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: simple_if_fini "$h3" 192.0.3.1/24 In tc_flower_router.sh line 60: ip link set dev $rp1 up ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link set dev "$rp1" up In tc_flower_router.sh line 61: ip link set dev $rp2 up ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link set dev "$rp2" up In tc_flower_router.sh line 62: ip link set dev $rp3 up ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link set dev "$rp3" up In tc_flower_router.sh line 64: tc qdisc add dev $rp3 clsact ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc qdisc add dev "$rp3" clsact In tc_flower_router.sh line 66: ip address add 192.0.1.2/24 dev $rp1 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip address add 192.0.1.2/24 dev "$rp1" In tc_flower_router.sh line 67: ip address add 192.0.2.2/24 dev $rp2 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip address add 192.0.2.2/24 dev "$rp2" In tc_flower_router.sh line 68: ip address add 192.0.3.2/24 dev $rp3 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip address add 192.0.3.2/24 dev "$rp3" In tc_flower_router.sh line 73: ip address del 192.0.3.2/24 dev $rp3 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip address del 192.0.3.2/24 dev "$rp3" In tc_flower_router.sh line 74: ip address del 192.0.2.2/24 dev $rp2 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip address del 192.0.2.2/24 dev "$rp2" In tc_flower_router.sh line 75: ip address del 192.0.1.2/24 dev $rp1 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip address del 192.0.1.2/24 dev "$rp1" In tc_flower_router.sh line 77: tc qdisc del dev $rp3 clsact ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc qdisc del dev "$rp3" clsact In tc_flower_router.sh line 79: ip link set dev $rp3 down ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link set dev "$rp3" down In tc_flower_router.sh line 80: ip link set dev $rp2 down ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link set dev "$rp2" down In tc_flower_router.sh line 81: ip link set dev $rp1 down ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link set dev "$rp1" down In tc_flower_router.sh line 88: tc filter add dev $rp3 egress protocol ip pref 1 handle 101 flower \ ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter add dev "$rp3" egress protocol ip pref 1 handle 101 flower \ In tc_flower_router.sh line 89: $tcflags indev $rp1 dst_ip 192.0.3.1 action drop ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: "$tcflags" indev "$rp1" dst_ip 192.0.3.1 action drop In tc_flower_router.sh line 90: tc filter add dev $rp3 egress protocol ip pref 2 handle 102 flower \ ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter add dev "$rp3" egress protocol ip pref 2 handle 102 flower \ In tc_flower_router.sh line 91: $tcflags indev $rp2 dst_ip 192.0.3.1 action drop ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: "$tcflags" indev "$rp2" dst_ip 192.0.3.1 action drop In tc_flower_router.sh line 93: $MZ $h1 -c 1 -p 64 -a $h1mac -b $rp1mac -A 192.0.1.1 -B 192.0.3.1 \ ^-^ 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" -c 1 -p 64 -a "$h1mac" -b "$rp1mac" -A 192.0.1.1 -B 192.0.3.1 \ In tc_flower_router.sh line 102: $MZ $h2 -c 1 -p 64 -a $h2mac -b $rp2mac -A 192.0.2.1 -B 192.0.3.1 \ ^-^ 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 "$h2" -c 1 -p 64 -a "$h2mac" -b "$rp2mac" -A 192.0.2.1 -B 192.0.3.1 \ In tc_flower_router.sh line 111: tc filter del dev $rp3 egress protocol ip pref 2 handle 102 flower ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter del dev "$rp3" egress protocol ip pref 2 handle 102 flower In tc_flower_router.sh line 112: tc filter del dev $rp3 egress protocol ip pref 1 handle 101 flower ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter del dev "$rp3" egress protocol ip pref 1 handle 101 flower In tc_flower_router.sh line 128: h1mac=$(mac_get $h1) ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: h1mac=$(mac_get "$h1") In tc_flower_router.sh line 129: rp1mac=$(mac_get $rp1) ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: rp1mac=$(mac_get "$rp1") In tc_flower_router.sh line 130: h2mac=$(mac_get $h2) ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: h2mac=$(mac_get "$h2") In tc_flower_router.sh line 131: rp2mac=$(mac_get $rp2) ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: rp2mac=$(mac_get "$rp2") In tc_flower_router.sh line 164: tc_offload_check ^--------------^ SC2119 (info): Use tc_offload_check "$@" if function's $1 should mean script's $1. In tc_flower_router.sh line 165: if [[ $? -ne 0 ]]; then ^-- SC2181 (style): Check exit code directly with e.g. 'if ! mycmd;', not indirectly with $?. In tc_flower_router.sh line 172: 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/SC2119 -- Use tc_offload_check "$@" if func... https://www.shellcheck.net/wiki/SC2181 -- Check exit code directly with e.g... Checking tools/testing/selftests/net/forwarding/tc_shblocks.sh - c02df840fb749e317bfbfeccb98df1556a6ed1f7b61afeefec1f20d78415f7dc In tc_shblocks.sh line 13: simple_if_init $h1 192.0.2.1/24 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: simple_if_init "$h1" 192.0.2.1/24 In tc_shblocks.sh line 18: simple_if_fini $h1 192.0.2.1/24 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: simple_if_fini "$h1" 192.0.2.1/24 In tc_shblocks.sh line 23: simple_if_init $h2 192.0.2.1/24 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: simple_if_init "$h2" 192.0.2.1/24 In tc_shblocks.sh line 28: simple_if_fini $h2 192.0.2.1/24 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: simple_if_fini "$h2" 192.0.2.1/24 In tc_shblocks.sh line 33: simple_if_init $swp1 192.0.2.2/24 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: simple_if_init "$swp1" 192.0.2.2/24 In tc_shblocks.sh line 34: tc qdisc add dev $swp1 ingress_block 22 egress_block 23 clsact ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc qdisc add dev "$swp1" ingress_block 22 egress_block 23 clsact In tc_shblocks.sh line 36: simple_if_init $swp2 192.0.2.2/24 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: simple_if_init "$swp2" 192.0.2.2/24 In tc_shblocks.sh line 37: tc qdisc add dev $swp2 ingress_block 22 egress_block 23 clsact ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc qdisc add dev "$swp2" ingress_block 22 egress_block 23 clsact In tc_shblocks.sh line 42: 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_shblocks.sh line 43: simple_if_fini $swp2 192.0.2.2/24 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: simple_if_fini "$swp2" 192.0.2.2/24 In tc_shblocks.sh line 45: tc qdisc del dev $swp1 clsact ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc qdisc del dev "$swp1" clsact In tc_shblocks.sh line 46: simple_if_fini $swp1 192.0.2.2/24 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: simple_if_fini "$swp1" 192.0.2.2/24 In tc_shblocks.sh line 54: $tcflags dst_ip 192.0.2.2 action drop ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: "$tcflags" dst_ip 192.0.2.2 action drop In tc_shblocks.sh line 56: $MZ $h1 -c 1 -p 64 -a $h1mac -b $swmac -A 192.0.2.1 -B 192.0.2.2 \ ^-^ 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" -c 1 -p 64 -a "$h1mac" -b "$swmac" -A 192.0.2.1 -B 192.0.2.2 \ In tc_shblocks.sh line 62: $MZ $h2 -c 1 -p 64 -a $h2mac -b $swmac -A 192.0.2.1 -B 192.0.2.2 \ ^-^ 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 "$h2" -c 1 -p 64 -a "$h2mac" -b "$swmac" -A 192.0.2.1 -B 192.0.2.2 \ In tc_shblocks.sh line 78: $tcflags indev $swp1 dst_mac $swmac action drop ^------^ 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: "$tcflags" indev "$swp1" dst_mac "$swmac" action drop In tc_shblocks.sh line 80: $tcflags indev $swp2 dst_mac $swmac action drop ^------^ 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: "$tcflags" indev "$swp2" dst_mac "$swmac" action drop In tc_shblocks.sh line 82: $MZ $h1 -c 1 -p 64 -a $h1mac -b $swmac -A 192.0.2.1 -B 192.0.2.2 \ ^-^ 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" -c 1 -p 64 -a "$h1mac" -b "$swmac" -A 192.0.2.1 -B 192.0.2.2 \ In tc_shblocks.sh line 88: $MZ $h2 -c 1 -p 64 -a $h2mac -b $swmac -A 192.0.2.1 -B 192.0.2.2 \ ^-^ 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 "$h2" -c 1 -p 64 -a "$h2mac" -b "$swmac" -A 192.0.2.1 -B 192.0.2.2 \ In tc_shblocks.sh line 108: h1mac=$(mac_get $h1) ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: h1mac=$(mac_get "$h1") In tc_shblocks.sh line 109: h2mac=$(mac_get $h2) ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: h2mac=$(mac_get "$h2") In tc_shblocks.sh line 111: swmac=$(mac_get $swp1) ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: swmac=$(mac_get "$swp1") In tc_shblocks.sh line 112: swp2origmac=$(mac_get $swp2) ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: swp2origmac=$(mac_get "$swp2") In tc_shblocks.sh line 113: ip link set $swp2 address $swmac ^---^ 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 "$swp2" address "$swmac" In tc_shblocks.sh line 132: ip link set $swp2 address $swp2origmac ^---^ 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 "$swp2" address "$swp2origmac" In tc_shblocks.sh line 144: tc_offload_check ^--------------^ SC2119 (info): Use tc_offload_check "$@" if function's $1 should mean script's $1. In tc_shblocks.sh line 145: if [[ $? -ne 0 ]]; then ^-- SC2181 (style): Check exit code directly with e.g. 'if ! mycmd;', not indirectly with $?. In tc_shblocks.sh line 152: 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/SC2119 -- Use tc_offload_check "$@" if func... https://www.shellcheck.net/wiki/SC2181 -- Check exit code directly with e.g... Checking tools/testing/selftests/net/forwarding/tc_tunnel_key.sh - 1b7d6f0217a1a169245cccc0fc463e72a743347bb0b49f2dc906234a9485ecb9 In tc_tunnel_key.sh line 14: simple_if_init $h1 192.0.2.1/24 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: simple_if_init "$h1" 192.0.2.1/24 In tc_tunnel_key.sh line 16: mtu_set $h1 1500 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: mtu_set "$h1" 1500 In tc_tunnel_key.sh line 17: tunnel_create h1-et vxlan 192.0.2.1 192.0.2.2 dev $h1 dstport 0 external ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tunnel_create h1-et vxlan 192.0.2.1 192.0.2.2 dev "$h1" dstport 0 external In tc_tunnel_key.sh line 20: mtu_restore $h1 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: mtu_restore "$h1" In tc_tunnel_key.sh line 21: mtu_set $h1 1000 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: mtu_set "$h1" 1000 In tc_tunnel_key.sh line 29: mtu_restore $h1 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: mtu_restore "$h1" In tc_tunnel_key.sh line 30: simple_if_fini $h1 192.0.2.1/24 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: simple_if_fini "$h1" 192.0.2.1/24 In tc_tunnel_key.sh line 35: simple_if_init $h2 192.0.2.2/24 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: simple_if_init "$h2" 192.0.2.2/24 In tc_tunnel_key.sh line 40: simple_if_fini $h2 192.0.2.2/24 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: simple_if_fini "$h2" 192.0.2.2/24 In tc_tunnel_key.sh line 45: simple_if_init $swp1 192.0.2.2/24 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: simple_if_init "$swp1" 192.0.2.2/24 In tc_tunnel_key.sh line 46: tc qdisc add dev $swp1 clsact ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc qdisc add dev "$swp1" clsact In tc_tunnel_key.sh line 47: simple_if_init $swp2 192.0.2.1/24 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: simple_if_init "$swp2" 192.0.2.1/24 In tc_tunnel_key.sh line 52: simple_if_fini $swp2 192.0.2.1/24 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: simple_if_fini "$swp2" 192.0.2.1/24 In tc_tunnel_key.sh line 53: tc qdisc del dev $swp1 clsact ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc qdisc del dev "$swp1" clsact In tc_tunnel_key.sh line 54: simple_if_fini $swp1 192.0.2.2/24 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: simple_if_fini "$swp1" 192.0.2.2/24 In tc_tunnel_key.sh line 65: h1mac=$(mac_get $h1) ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: h1mac=$(mac_get "$h1") In tc_tunnel_key.sh line 66: h2mac=$(mac_get $h2) ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: h2mac=$(mac_get "$h2") In tc_tunnel_key.sh line 68: swp1origmac=$(mac_get $swp1) ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: swp1origmac=$(mac_get "$swp1") In tc_tunnel_key.sh line 69: swp2origmac=$(mac_get $swp2) ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: swp2origmac=$(mac_get "$swp2") In tc_tunnel_key.sh line 70: ip link set $swp1 address $h2mac ^---^ 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 "$swp1" address "$h2mac" In tc_tunnel_key.sh line 71: ip link set $swp2 address $h1mac ^---^ 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 "$swp2" address "$h1mac" In tc_tunnel_key.sh line 95: ip link set $swp2 address $swp2origmac ^---^ 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 "$swp2" address "$swp2origmac" In tc_tunnel_key.sh line 96: ip link set $swp1 address $swp1origmac ^---^ 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 "$swp1" address "$swp1origmac" In tc_tunnel_key.sh line 104: tc filter add dev $swp1 ingress protocol ip pref 100 handle 100 \ ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter add dev "$swp1" ingress protocol ip pref 100 handle 100 \ In tc_tunnel_key.sh line 107: tc filter add dev $swp1 ingress protocol ip pref 101 handle 101 \ ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter add dev "$swp1" ingress protocol ip pref 101 handle 101 \ In tc_tunnel_key.sh line 110: tc filter add dev $swp1 ingress protocol ip pref 102 handle 102 \ ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter add dev "$swp1" ingress protocol ip pref 102 handle 102 \ In tc_tunnel_key.sh line 115: tc filter add dev h1-et egress protocol all pref 1 handle 1 matchall $tcflags \ ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter add dev h1-et egress protocol all pref 1 handle 1 matchall "$tcflags" \ In tc_tunnel_key.sh line 140: tc filter del dev $swp1 ingress protocol ip pref $i handle $i flower ^---^ 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: tc filter del dev "$swp1" ingress protocol ip pref "$i" handle "$i" flower In tc_tunnel_key.sh line 154: tc_offload_check ^--------------^ SC2119 (info): Use tc_offload_check "$@" if function's $1 should mean script's $1. In tc_tunnel_key.sh line 155: if [[ $? -ne 0 ]]; then ^-- SC2181 (style): Check exit code directly with e.g. 'if ! mycmd;', not indirectly with $?. In tc_tunnel_key.sh line 162: 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/SC2119 -- Use tc_offload_check "$@" if func... https://www.shellcheck.net/wiki/SC2181 -- Check exit code directly with e.g... Checking tools/testing/selftests/net/forwarding/vxlan_bridge_1d.sh - 1cd9fbdd2848b0dfcba83240768117d913f847dcff97fe8acaf32c7c7b42f463 In vxlan_bridge_1d.sh line 64: : ${VXPORT:=4789} ^-------------^ SC2223 (info): This default assignment may cause DoS due to globbing. Quote it. In vxlan_bridge_1d.sh line 67: : ${ALL_TESTS:=" ^-- SC2223 (info): This default assignment may cause DoS due to globbing. Quote it. In vxlan_bridge_1d.sh line 87: simple_if_init $h1 192.0.2.1/28 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: simple_if_init "$h1" 192.0.2.1/28 In vxlan_bridge_1d.sh line 88: tc qdisc add dev $h1 clsact ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc qdisc add dev "$h1" clsact In vxlan_bridge_1d.sh line 93: tc qdisc del dev $h1 clsact ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc qdisc del dev "$h1" clsact In vxlan_bridge_1d.sh line 94: 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 vxlan_bridge_1d.sh line 99: simple_if_init $h2 192.0.2.2/28 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: simple_if_init "$h2" 192.0.2.2/28 In vxlan_bridge_1d.sh line 100: tc qdisc add dev $h2 clsact ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc qdisc add dev "$h2" clsact In vxlan_bridge_1d.sh line 105: tc qdisc del dev $h2 clsact ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc qdisc del dev "$h2" clsact In vxlan_bridge_1d.sh line 106: simple_if_fini $h2 192.0.2.2/28 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: simple_if_fini "$h2" 192.0.2.2/28 In vxlan_bridge_1d.sh line 111: ip address add dev $rp1 192.0.2.17/28 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip address add dev "$rp1" 192.0.2.17/28 In vxlan_bridge_1d.sh line 122: ip address del dev $rp1 192.0.2.17/28 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip address del dev "$rp1" 192.0.2.17/28 In vxlan_bridge_1d.sh line 130: ip link set dev br1 address $(mac_get $swp1) ^--------------^ SC2046 (warning): Quote this to prevent word splitting. ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link set dev br1 address $(mac_get "$swp1") In vxlan_bridge_1d.sh line 133: ip link set dev $rp1 up ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link set dev "$rp1" up In vxlan_bridge_1d.sh line 142: 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 vxlan_bridge_1d.sh line 143: 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 vxlan_bridge_1d.sh line 145: 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 vxlan_bridge_1d.sh line 146: 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 vxlan_bridge_1d.sh line 155: ip link set dev $rp1 down ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link set dev "$rp1" down In vxlan_bridge_1d.sh line 164: 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 vxlan_bridge_1d.sh line 165: 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 vxlan_bridge_1d.sh line 167: 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 vxlan_bridge_1d.sh line 168: 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 vxlan_bridge_1d.sh line 176: simple_if_init $rp2 192.0.2.18/28 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: simple_if_init "$rp2" 192.0.2.18/28 In vxlan_bridge_1d.sh line 177: __simple_if_init v1 v$rp2 192.0.2.33/28 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: __simple_if_init v1 v"$rp2" 192.0.2.33/28 In vxlan_bridge_1d.sh line 178: __simple_if_init v3 v$rp2 192.0.2.49/28 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: __simple_if_init v3 v"$rp2" 192.0.2.49/28 In vxlan_bridge_1d.sh line 187: simple_if_fini $rp2 192.0.2.18/28 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: simple_if_fini "$rp2" 192.0.2.18/28 In vxlan_bridge_1d.sh line 198: ip link set dev $in_if up ^----^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link set dev "$in_if" up In vxlan_bridge_1d.sh line 199: ip address add dev $in_if $in_addr/28 ^----^ SC2086 (info): Double quote to prevent globbing and word splitting. ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip address add dev "$in_if" "$in_addr"/28 In vxlan_bridge_1d.sh line 200: tc qdisc add dev $in_if clsact ^----^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc qdisc add dev "$in_if" clsact In vxlan_bridge_1d.sh line 210: ip link add name vx2 type vxlan id 1000 local $in_addr dstport "$VXPORT" ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link add name vx2 type vxlan id 1000 local "$in_addr" dstport "$VXPORT" In vxlan_bridge_1d.sh line 213: bridge fdb append dev vx2 00:00:00:00:00:00 dst $other_in_addr self ^------------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: bridge fdb append dev vx2 00:00:00:00:00:00 dst "$other_in_addr" self In vxlan_bridge_1d.sh line 218: simple_if_init w2 $host_addr/28 ^--------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: simple_if_init w2 "$host_addr"/28 In vxlan_bridge_1d.sh line 220: ip route add 192.0.2.16/28 nexthop via $nh_addr ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip route add 192.0.2.16/28 nexthop via "$nh_addr" In vxlan_bridge_1d.sh line 221: ip route add $other_in_addr/32 nexthop via $nh_addr ^------------^ SC2086 (info): Double quote to prevent globbing and word splitting. ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip route add "$other_in_addr"/32 nexthop via "$nh_addr" In vxlan_bridge_1d.sh line 279: h2_mac=$(mac_get $h2) ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: h2_mac=$(mac_get "$h2") In vxlan_bridge_1d.sh line 324: ping_test $h1 192.0.2.2 ": local->local" ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ping_test "$h1" 192.0.2.2 ": local->local" In vxlan_bridge_1d.sh line 325: ping_test $h1 192.0.2.3 ": local->remote 1" ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ping_test "$h1" 192.0.2.3 ": local->remote 1" In vxlan_bridge_1d.sh line 326: ping_test $h1 192.0.2.4 ": local->remote 2" ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ping_test "$h1" 192.0.2.4 ": local->remote 2" In vxlan_bridge_1d.sh line 331: echo ${1:+in_ns} $1 ^-- SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: echo ${1:+in_ns} "$1" In vxlan_bridge_1d.sh line 349: $(maybe_in_ns $ns) __icmp_capture_add_del \ ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: $(maybe_in_ns "$ns") __icmp_capture_add_del \ In vxlan_bridge_1d.sh line 350: $add_del 100 "" $dev skip_sw 2>/dev/null || \ ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: "$add_del" 100 "" "$dev" skip_sw 2>/dev/null || \ In vxlan_bridge_1d.sh line 351: $(maybe_in_ns $ns) __icmp_capture_add_del \ ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: $(maybe_in_ns "$ns") __icmp_capture_add_del \ In vxlan_bridge_1d.sh line 352: $add_del 100 "" $dev skip_hw ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: "$add_del" 100 "" "$dev" skip_hw In vxlan_bridge_1d.sh line 370: $(maybe_in_ns $ns) tc_rule_stats_get $dev 100 ingress ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: $(maybe_in_ns "$ns") tc_rule_stats_get "$dev" 100 ingress In vxlan_bridge_1d.sh line 379: flood_fetch_stat $counter ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: flood_fetch_stat "$counter" In vxlan_bridge_1d.sh line 389: local -a counters=($h2 "vx2 ns1" "vx2 ns2") ^-^ SC2206 (warning): Quote to prevent word splitting/globbing, or split robustly with mapfile or read -a. In vxlan_bridge_1d.sh line 394: flood_counter_install $counter ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: flood_counter_install "$counter" In vxlan_bridge_1d.sh line 397: local -a t0s=($(flood_fetch_stats "${counters[@]}")) ^-- SC2207 (warning): Prefer mapfile or read -a to split command output (or quote to avoid splitting). In vxlan_bridge_1d.sh line 398: $MZ $h1 -c 10 -d 100msec -p 64 -b $mac -B $dst -t icmp -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" -c 10 -d 100msec -p 64 -b "$mac" -B "$dst" -t icmp -q In vxlan_bridge_1d.sh line 400: local -a t1s=($(flood_fetch_stats "${counters[@]}")) ^-- SC2207 (warning): Prefer mapfile or read -a to split command output (or quote to avoid splitting). In vxlan_bridge_1d.sh line 402: for key in ${!t0s[@]}; do ^--------^ SC2068 (error): Double quote array expansions to avoid re-splitting elements. In vxlan_bridge_1d.sh line 403: local delta=$((t1s[$key] - t0s[$key])) ^--^ SC2004 (style): $/${} is unnecessary on arithmetic variables. ^--^ SC2004 (style): $/${} is unnecessary on arithmetic variables. In vxlan_bridge_1d.sh line 411: flood_counter_uninstall $counter ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: flood_counter_uninstall "$counter" In vxlan_bridge_1d.sh line 423: vxlan_flood_test $mac $dst 10 10 10 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: vxlan_flood_test "$mac" "$dst" 10 10 10 In vxlan_bridge_1d.sh line 448: bridge fdb $add_del dev $dev $mac self static permanent \ ^------^ 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: bridge fdb "$add_del" dev "$dev" "$mac" self static permanent \ In vxlan_bridge_1d.sh line 449: ${dst:+dst} $dst 2>/dev/null ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ${dst:+dst} "$dst" 2>/dev/null In vxlan_bridge_1d.sh line 450: bridge fdb $add_del dev $dev $mac master static 2>/dev/null ^------^ 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: bridge fdb "$add_del" dev "$dev" "$mac" master static 2>/dev/null In vxlan_bridge_1d.sh line 463: expects[$hit_idx]=10 ^------^ SC2004 (style): $/${} is unnecessary on arithmetic variables. In vxlan_bridge_1d.sh line 465: vxlan_flood_test $mac $dst "${expects[@]}" ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: vxlan_flood_test "$mac" "$dst" "${expects[@]}" In vxlan_bridge_1d.sh line 478: vxlan_fdb_add_del add $target ^-----^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: vxlan_fdb_add_del add "$target" In vxlan_bridge_1d.sh line 481: __test_unicast $h2_mac 192.0.2.2 0 "local MAC unicast" ^-----^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: __test_unicast "$h2_mac" 192.0.2.2 0 "local MAC unicast" In vxlan_bridge_1d.sh line 482: __test_unicast $r1_mac 192.0.2.3 1 "remote MAC 1 unicast" ^-----^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: __test_unicast "$r1_mac" 192.0.2.3 1 "remote MAC 1 unicast" In vxlan_bridge_1d.sh line 483: __test_unicast $r2_mac 192.0.2.4 2 "remote MAC 2 unicast" ^-----^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: __test_unicast "$r2_mac" 192.0.2.4 2 "remote MAC 2 unicast" In vxlan_bridge_1d.sh line 486: vxlan_fdb_add_del del $target ^-----^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: vxlan_fdb_add_del del "$target" In vxlan_bridge_1d.sh line 500: local t0=$(tc_rule_stats_get $capture_dev $capture_pref $capture_dir) ^-- SC2155 (warning): Declare and assign separately to avoid masking return values. ^----------^ 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: local t0=$(tc_rule_stats_get "$capture_dev" "$capture_pref" "$capture_dir") In vxlan_bridge_1d.sh line 501: ping_do $ping_dev $ping_dip "$ping_args" ^-------^ SC2086 (info): Double quote to prevent globbing and word splitting. ^-------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ping_do "$ping_dev" "$ping_dip" "$ping_args" In vxlan_bridge_1d.sh line 502: local t1=$(tc_rule_stats_get $capture_dev $capture_pref $capture_dir) ^-- SC2155 (warning): Declare and assign separately to avoid masking return values. ^----------^ 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: local t1=$(tc_rule_stats_get "$capture_dev" "$capture_pref" "$capture_dir") In vxlan_bridge_1d.sh line 516: vxlan_ping_test $h1 192.0.2.3 "" v1 egress 77 10 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: vxlan_ping_test "$h1" 192.0.2.3 "" v1 egress 77 10 In vxlan_bridge_1d.sh line 528: vxlan_ping_test $h1 192.0.2.3 "-Q 0x14" v1 egress 77 10 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: vxlan_ping_test "$h1" 192.0.2.3 "-Q 0x14" v1 egress 77 10 In vxlan_bridge_1d.sh line 529: vxlan_ping_test $h1 192.0.2.3 "-Q 0x18" v1 egress 77 0 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: vxlan_ping_test "$h1" 192.0.2.3 "-Q 0x18" v1 egress 77 0 In vxlan_bridge_1d.sh line 543: flower ip_tos $tos ip_proto udp dst_port $VXPORT action pass ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. ^-----^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: flower ip_tos "$tos" ip_proto udp dst_port "$VXPORT" action pass In vxlan_bridge_1d.sh line 545: vxlan_ping_test $h1 192.0.2.3 "-Q $q" v1 egress 77 10 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: vxlan_ping_test "$h1" 192.0.2.3 "-Q $q" v1 egress 77 10 In vxlan_bridge_1d.sh line 570: $MZ $dev -c $count -d 100msec -q \ ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. ^----^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: $MZ "$dev" -c "$count" -d 100msec -q \ In vxlan_bridge_1d.sh line 571: -b $next_hop_mac -B $dest_ip \ ^-----------^ SC2086 (info): Double quote to prevent globbing and word splitting. ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: -b "$next_hop_mac" -B "$dest_ip" \ In vxlan_bridge_1d.sh line 572: -t udp tos=$outer_tos,sp=23456,dp=$VXPORT,p=$(: ^--------^ SC2086 (info): Double quote to prevent globbing and word splitting. ^-----^ SC2086 (info): Double quote to prevent globbing and word splitting. ^-- SC2046 (warning): Quote this to prevent word splitting. Did you mean: -t udp tos="$outer_tos",sp=23456,dp="$VXPORT",p=$(: In vxlan_bridge_1d.sh line 573: )"08:"$( : VXLAN flags ^-- SC2027 (warning): The surrounding quotes actually unquote this. Remove or escape them. ^-- SC2046 (warning): Quote this to prevent word splitting. In vxlan_bridge_1d.sh line 574: )"00:00:00:"$( : VXLAN reserved ^-- SC2027 (warning): The surrounding quotes actually unquote this. Remove or escape them. ^-- SC2046 (warning): Quote this to prevent word splitting. In vxlan_bridge_1d.sh line 575: )"00:03:e8:"$( : VXLAN VNI ^-- SC2027 (warning): The surrounding quotes actually unquote this. Remove or escape them. ^-- SC2046 (warning): Quote this to prevent word splitting. In vxlan_bridge_1d.sh line 576: )"00:"$( : VXLAN reserved ^-- SC2027 (warning): The surrounding quotes actually unquote this. Remove or escape them. ^-- SC2046 (warning): Quote this to prevent word splitting. In vxlan_bridge_1d.sh line 577: )"$dest_mac:"$( : ETH daddr ^-- SC2027 (warning): The surrounding quotes actually unquote this. Remove or escape them. ^-- SC2046 (warning): Quote this to prevent word splitting. In vxlan_bridge_1d.sh line 578: )"$(mac_get w2):"$( : ETH saddr ^-- SC2027 (warning): The surrounding quotes actually unquote this. Remove or escape them. ^-- SC2046 (warning): Quote this to prevent word splitting. In vxlan_bridge_1d.sh line 579: )"08:00:"$( : ETH type ^-- SC2027 (warning): The surrounding quotes actually unquote this. Remove or escape them. ^-- SC2046 (warning): Quote this to prevent word splitting. In vxlan_bridge_1d.sh line 580: )"45:"$( : IP version + IHL ^-- SC2027 (warning): The surrounding quotes actually unquote this. Remove or escape them. ^-- SC2046 (warning): Quote this to prevent word splitting. In vxlan_bridge_1d.sh line 581: )"$inner_tos:"$( : IP TOS ^-- SC2027 (warning): The surrounding quotes actually unquote this. Remove or escape them. ^-- SC2046 (warning): Quote this to prevent word splitting. In vxlan_bridge_1d.sh line 582: )"00:54:"$( : IP total length ^-- SC2027 (warning): The surrounding quotes actually unquote this. Remove or escape them. ^-- SC2046 (warning): Quote this to prevent word splitting. In vxlan_bridge_1d.sh line 583: )"99:83:"$( : IP identification ^-- SC2027 (warning): The surrounding quotes actually unquote this. Remove or escape them. ^-- SC2046 (warning): Quote this to prevent word splitting. In vxlan_bridge_1d.sh line 584: )"40:00:"$( : IP flags + frag off ^-- SC2027 (warning): The surrounding quotes actually unquote this. Remove or escape them. ^-- SC2046 (warning): Quote this to prevent word splitting. In vxlan_bridge_1d.sh line 585: )"40:"$( : IP TTL ^-- SC2027 (warning): The surrounding quotes actually unquote this. Remove or escape them. ^-- SC2046 (warning): Quote this to prevent word splitting. In vxlan_bridge_1d.sh line 586: )"01:"$( : IP proto ^-- SC2027 (warning): The surrounding quotes actually unquote this. Remove or escape them. ^-- SC2046 (warning): Quote this to prevent word splitting. In vxlan_bridge_1d.sh line 587: )"00:00:"$( : IP header csum ^-- SC2027 (warning): The surrounding quotes actually unquote this. Remove or escape them. ^-- SC2046 (warning): Quote this to prevent word splitting. In vxlan_bridge_1d.sh line 588: )"c0:00:02:03:"$( : IP saddr: 192.0.2.3 ^-- SC2027 (warning): The surrounding quotes actually unquote this. Remove or escape them. ^-- SC2046 (warning): Quote this to prevent word splitting. In vxlan_bridge_1d.sh line 589: )"c0:00:02:01:"$( : IP daddr: 192.0.2.1 ^-- SC2027 (warning): The surrounding quotes actually unquote this. Remove or escape them. ^-- SC2046 (warning): Quote this to prevent word splitting. In vxlan_bridge_1d.sh line 590: )"08:"$( : ICMP type ^-- SC2027 (warning): The surrounding quotes actually unquote this. Remove or escape them. ^-- SC2046 (warning): Quote this to prevent word splitting. In vxlan_bridge_1d.sh line 591: )"00:"$( : ICMP code ^-- SC2027 (warning): The surrounding quotes actually unquote this. Remove or escape them. ^-- SC2046 (warning): Quote this to prevent word splitting. In vxlan_bridge_1d.sh line 592: )"8b:f2:"$( : ICMP csum ^-- SC2027 (warning): The surrounding quotes actually unquote this. Remove or escape them. ^-- SC2046 (warning): Quote this to prevent word splitting. In vxlan_bridge_1d.sh line 593: )"1f:6a:"$( : ICMP request identifier ^-- SC2027 (warning): The surrounding quotes actually unquote this. Remove or escape them. ^-- SC2046 (warning): Quote this to prevent word splitting. In vxlan_bridge_1d.sh line 594: )"00:01:"$( : ICMP request sequence number ^-- SC2027 (warning): The surrounding quotes actually unquote this. Remove or escape them. ^-- SC2046 (warning): Quote this to prevent word splitting. In vxlan_bridge_1d.sh line 595: )"4f:ff:c5:5b:00:00:00:00:"$( : ICMP payload ^-- SC2027 (warning): The surrounding quotes actually unquote this. Remove or escape them. ^-- SC2046 (warning): Quote this to prevent word splitting. In vxlan_bridge_1d.sh line 596: )"6d:74:0b:00:00:00:00:00:"$( : ^-- SC2027 (warning): The surrounding quotes actually unquote this. Remove or escape them. ^-- SC2046 (warning): Quote this to prevent word splitting. In vxlan_bridge_1d.sh line 597: )"10:11:12:13:14:15:16:17:"$( : ^-- SC2027 (warning): The surrounding quotes actually unquote this. Remove or escape them. ^-- SC2046 (warning): Quote this to prevent word splitting. In vxlan_bridge_1d.sh line 598: )"18:19:1a:1b:1c:1d:1e:1f:"$( : ^-- SC2027 (warning): The surrounding quotes actually unquote this. Remove or escape them. ^-- SC2046 (warning): Quote this to prevent word splitting. In vxlan_bridge_1d.sh line 599: )"20:21:22:23:24:25:26:27:"$( : ^-- SC2027 (warning): The surrounding quotes actually unquote this. Remove or escape them. ^-- SC2046 (warning): Quote this to prevent word splitting. In vxlan_bridge_1d.sh line 600: )"28:29:2a:2b:2c:2d:2e:2f:"$( : ^-- SC2027 (warning): The surrounding quotes actually unquote this. Remove or escape them. ^-- SC2046 (warning): Quote this to prevent word splitting. In vxlan_bridge_1d.sh line 615: local t0=$($stat_get) ^-- SC2155 (warning): Declare and assign separately to avoid masking return values. In vxlan_bridge_1d.sh line 618: vxlan_encapped_ping_do 10 $ping_dev $(mac_get $nh_dev) \ ^-------^ SC2086 (info): Double quote to prevent globbing and word splitting. ^----------------^ SC2046 (warning): Quote this to prevent word splitting. ^-----^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: vxlan_encapped_ping_do 10 "$ping_dev" $(mac_get "$nh_dev") \ In vxlan_bridge_1d.sh line 619: $ping_dip $(mac_get $h1) \ ^-------^ SC2086 (info): Double quote to prevent globbing and word splitting. ^------------^ SC2046 (warning): Quote this to prevent word splitting. ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: "$ping_dip" $(mac_get "$h1") \ In vxlan_bridge_1d.sh line 620: $inner_tos $outer_tos ^--------^ SC2086 (info): Double quote to prevent globbing and word splitting. ^--------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: "$inner_tos" "$outer_tos" In vxlan_bridge_1d.sh line 622: local t1=$($stat_get) ^-- SC2155 (warning): Declare and assign separately to avoid masking return values. In vxlan_bridge_1d.sh line 639: tc filter add dev $h1 ingress pref 77 prot ip \ ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter add dev "$h1" ingress pref 77 prot ip \ In vxlan_bridge_1d.sh line 640: flower ip_tos $decapped_tos action drop ^-----------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: flower ip_tos "$decapped_tos" action drop In vxlan_bridge_1d.sh line 643: $orig_inner_tos $orig_outer_tos \ ^-------------^ SC2086 (info): Double quote to prevent globbing and word splitting. ^-------------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: "$orig_inner_tos" "$orig_outer_tos" \ In vxlan_bridge_1d.sh line 645: tc filter del dev $h1 ingress pref 77 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter del dev "$h1" ingress pref 77 In vxlan_bridge_1d.sh line 658: $orig_inner_tos $orig_outer_tos \ ^-------------^ SC2086 (info): Double quote to prevent globbing and word splitting. ^-------------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: "$orig_inner_tos" "$orig_outer_tos" \ In vxlan_bridge_1d.sh line 700: vxlan_flood_test $mac $dst 10 10 10 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: vxlan_flood_test "$mac" "$dst" 10 10 10 In vxlan_bridge_1d.sh line 708: in_ns ns1 $MZ w2 -c 1 -p 64 -a $mac -b ff:ff:ff:ff:ff:ff -B $dst \ ^-^ 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: in_ns ns1 "$MZ" w2 -c 1 -p 64 -a "$mac" -b ff:ff:ff:ff:ff:ff -B "$dst" \ In vxlan_bridge_1d.sh line 712: bridge fdb show brport vx1 | grep $mac | grep -q self ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: bridge fdb show brport vx1 | grep "$mac" | grep -q self In vxlan_bridge_1d.sh line 714: bridge fdb show brport vx1 | grep $mac | grep -q -v self ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: bridge fdb show brport vx1 | grep "$mac" | grep -q -v self In vxlan_bridge_1d.sh line 722: vxlan_flood_test $mac $dst 0 10 0 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: vxlan_flood_test "$mac" "$dst" 0 10 0 In vxlan_bridge_1d.sh line 730: bridge fdb del dev vx1 $mac master self ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: bridge fdb del dev vx1 "$mac" master self In vxlan_bridge_1d.sh line 733: vxlan_flood_test $mac $dst 10 10 10 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: vxlan_flood_test "$mac" "$dst" 10 10 10 In vxlan_bridge_1d.sh line 740: in_ns ns1 $MZ w2 -c 1 -p 64 -a $mac -b ff:ff:ff:ff:ff:ff -B $dst \ ^-^ 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: in_ns ns1 "$MZ" w2 -c 1 -p 64 -a "$mac" -b ff:ff:ff:ff:ff:ff -B "$dst" \ In vxlan_bridge_1d.sh line 744: bridge fdb show brport vx1 | grep $mac | grep -q self ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: bridge fdb show brport vx1 | grep "$mac" | grep -q self In vxlan_bridge_1d.sh line 746: bridge fdb show brport vx1 | grep $mac | grep -q -v self ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: bridge fdb show brport vx1 | grep "$mac" | grep -q -v self In vxlan_bridge_1d.sh line 749: vxlan_flood_test $mac $dst 0 10 0 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: vxlan_flood_test "$mac" "$dst" 0 10 0 In vxlan_bridge_1d.sh line 752: $MZ $h1 -c 50 -d 1sec -p 64 -b $mac -B $dst -t icmp -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" -c 50 -d 1sec -p 64 -b "$mac" -B "$dst" -t icmp -q & In vxlan_bridge_1d.sh line 755: bridge fdb show brport vx1 | grep $mac | grep -q self ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: bridge fdb show brport vx1 | grep "$mac" | grep -q self In vxlan_bridge_1d.sh line 757: bridge fdb show brport vx1 | grep $mac | grep -q -v self ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: bridge fdb show brport vx1 | grep "$mac" | grep -q -v self In vxlan_bridge_1d.sh line 760: vxlan_flood_test $mac $dst 10 10 10 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: vxlan_flood_test "$mac" "$dst" 10 10 10 In vxlan_bridge_1d.sh line 770: in_ns ns1 $MZ w2 -c 1 -p 64 -a $mac -b ff:ff:ff:ff:ff:ff -B $dst \ ^-^ 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: in_ns ns1 "$MZ" w2 -c 1 -p 64 -a "$mac" -b ff:ff:ff:ff:ff:ff -B "$dst" \ In vxlan_bridge_1d.sh line 774: bridge fdb show brport vx1 | grep $mac | grep -q -v self ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: bridge fdb show brport vx1 | grep "$mac" | grep -q -v self In vxlan_bridge_1d.sh line 779: in_ns ns1 $MZ w2 -c 1 -p 64 -a $mac -b ff:ff:ff:ff:ff:ff -B $dst \ ^-^ 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: in_ns ns1 "$MZ" w2 -c 1 -p 64 -a "$mac" -b ff:ff:ff:ff:ff:ff -B "$dst" \ In vxlan_bridge_1d.sh line 783: bridge fdb show brport vx1 | grep $mac | grep -q -v self ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: bridge fdb show brport vx1 | grep "$mac" | grep -q -v self In vxlan_bridge_1d.sh line 807: 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/SC2068 -- Double quote array expansions to ... https://www.shellcheck.net/wiki/SC2027 -- The surrounding quotes actually u... https://www.shellcheck.net/wiki/SC2046 -- Quote this to prevent word splitt... Checking tools/testing/selftests/net/forwarding/vxlan_bridge_1d_ipv6.sh - 47ffff04640e21ad80f8af9423b68eb4588c8544da1029205f5bf16a182de6a9 In vxlan_bridge_1d_ipv6.sh line 66: : ${VXPORT:=4789} ^-------------^ SC2223 (info): This default assignment may cause DoS due to globbing. Quote it. In vxlan_bridge_1d_ipv6.sh line 69: : ${ALL_TESTS:=" ^-- SC2223 (info): This default assignment may cause DoS due to globbing. Quote it. In vxlan_bridge_1d_ipv6.sh line 91: 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 vxlan_bridge_1d_ipv6.sh line 92: tc qdisc add dev $h1 clsact ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc qdisc add dev "$h1" clsact In vxlan_bridge_1d_ipv6.sh line 97: tc qdisc del dev $h1 clsact ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc qdisc del dev "$h1" clsact In vxlan_bridge_1d_ipv6.sh line 98: 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 vxlan_bridge_1d_ipv6.sh line 103: 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 vxlan_bridge_1d_ipv6.sh line 104: tc qdisc add dev $h2 clsact ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc qdisc add dev "$h2" clsact In vxlan_bridge_1d_ipv6.sh line 109: tc qdisc del dev $h2 clsact ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc qdisc del dev "$h2" clsact In vxlan_bridge_1d_ipv6.sh line 110: 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 vxlan_bridge_1d_ipv6.sh line 115: ip address add dev $rp1 2001:db8:3::1/64 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip address add dev "$rp1" 2001:db8:3::1/64 In vxlan_bridge_1d_ipv6.sh line 126: ip address del dev $rp1 2001:db8:3::1/64 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip address del dev "$rp1" 2001:db8:3::1/64 In vxlan_bridge_1d_ipv6.sh line 134: ip link set dev br1 address $(mac_get $swp1) ^--------------^ SC2046 (warning): Quote this to prevent word splitting. ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link set dev br1 address $(mac_get "$swp1") In vxlan_bridge_1d_ipv6.sh line 137: ip link set dev $rp1 up ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link set dev "$rp1" up In vxlan_bridge_1d_ipv6.sh line 139: tc qdisc add dev $rp1 clsact ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc qdisc add dev "$rp1" clsact In vxlan_bridge_1d_ipv6.sh line 147: 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 vxlan_bridge_1d_ipv6.sh line 148: 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 vxlan_bridge_1d_ipv6.sh line 149: tc qdisc add dev $swp1 clsact ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc qdisc add dev "$swp1" clsact In vxlan_bridge_1d_ipv6.sh line 151: 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 vxlan_bridge_1d_ipv6.sh line 152: 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 vxlan_bridge_1d_ipv6.sh line 163: 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 vxlan_bridge_1d_ipv6.sh line 164: 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 vxlan_bridge_1d_ipv6.sh line 166: tc qdisc del dev $swp1 clsact ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc qdisc del dev "$swp1" clsact In vxlan_bridge_1d_ipv6.sh line 167: 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 vxlan_bridge_1d_ipv6.sh line 168: 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 vxlan_bridge_1d_ipv6.sh line 174: tc qdisc del dev $rp1 clsact ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc qdisc del dev "$rp1" clsact In vxlan_bridge_1d_ipv6.sh line 176: ip link set dev $rp1 down ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link set dev "$rp1" down In vxlan_bridge_1d_ipv6.sh line 184: simple_if_init $rp2 2001:db8:3::2/64 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: simple_if_init "$rp2" 2001:db8:3::2/64 In vxlan_bridge_1d_ipv6.sh line 185: __simple_if_init v1 v$rp2 2001:db8:4::2/64 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: __simple_if_init v1 v"$rp2" 2001:db8:4::2/64 In vxlan_bridge_1d_ipv6.sh line 186: __simple_if_init v3 v$rp2 2001:db8:5::2/64 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: __simple_if_init v3 v"$rp2" 2001:db8:5::2/64 In vxlan_bridge_1d_ipv6.sh line 195: simple_if_fini $rp2 2001:db8:3::2/64 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: simple_if_fini "$rp2" 2001:db8:3::2/64 In vxlan_bridge_1d_ipv6.sh line 207: ip link set dev $in_if up ^----^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link set dev "$in_if" up In vxlan_bridge_1d_ipv6.sh line 208: ip address add dev $in_if $in_addr/64 ^----^ SC2086 (info): Double quote to prevent globbing and word splitting. ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip address add dev "$in_if" "$in_addr"/64 In vxlan_bridge_1d_ipv6.sh line 209: tc qdisc add dev $in_if clsact ^----^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc qdisc add dev "$in_if" clsact In vxlan_bridge_1d_ipv6.sh line 219: ip link add name vx2 type vxlan id 1000 local $in_addr \ ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link add name vx2 type vxlan id 1000 local "$in_addr" \ In vxlan_bridge_1d_ipv6.sh line 223: bridge fdb append dev vx2 00:00:00:00:00:00 dst $other_in_addr self ^------------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: bridge fdb append dev vx2 00:00:00:00:00:00 dst "$other_in_addr" self In vxlan_bridge_1d_ipv6.sh line 228: simple_if_init w2 $host_addr_ipv4/28 $host_addr_ipv6/64 ^-------------^ 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 w2 "$host_addr_ipv4"/28 "$host_addr_ipv6"/64 In vxlan_bridge_1d_ipv6.sh line 230: ip route add 2001:db8:3::0/64 nexthop via $nh_addr ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip route add 2001:db8:3::0/64 nexthop via "$nh_addr" In vxlan_bridge_1d_ipv6.sh line 231: ip route add $other_in_addr/128 nexthop via $nh_addr ^------------^ SC2086 (info): Double quote to prevent globbing and word splitting. ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip route add "$other_in_addr"/128 nexthop via "$nh_addr" In vxlan_bridge_1d_ipv6.sh line 291: h2_mac=$(mac_get $h2) ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: h2_mac=$(mac_get "$h2") In vxlan_bridge_1d_ipv6.sh line 345: tc filter add dev $rp1 egress protocol ipv6 pref 1 handle 101 \ ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter add dev "$rp1" egress protocol ipv6 pref 1 handle 101 \ In vxlan_bridge_1d_ipv6.sh line 346: flower ip_proto udp src_ip $vxlan_local_ip \ ^-------------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: flower ip_proto udp src_ip "$vxlan_local_ip" \ In vxlan_bridge_1d_ipv6.sh line 347: dst_ip $vxlan_remote_ip dst_port $VXPORT $TC_FLAG action pass ^--------------^ 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: dst_ip "$vxlan_remote_ip" dst_port "$VXPORT" "$TC_FLAG" action pass In vxlan_bridge_1d_ipv6.sh line 351: tc filter add dev $swp1 egress protocol ip pref 1 handle 101 \ ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter add dev "$swp1" egress protocol ip pref 1 handle 101 \ In vxlan_bridge_1d_ipv6.sh line 352: flower src_ip $dst_ip dst_ip $src_ip \ ^-----^ SC2086 (info): Double quote to prevent globbing and word splitting. ^-----^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: flower src_ip "$dst_ip" dst_ip "$src_ip" \ In vxlan_bridge_1d_ipv6.sh line 353: $TC_FLAG action pass ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: "$TC_FLAG" action pass In vxlan_bridge_1d_ipv6.sh line 357: PING_COUNT=100 PING_TIMEOUT=20 ping_do $dev $dst_ip ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. ^-----^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: PING_COUNT=100 PING_TIMEOUT=20 ping_do "$dev" "$dst_ip" In vxlan_bridge_1d_ipv6.sh line 368: tc filter del dev $swp1 egress ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter del dev "$swp1" egress In vxlan_bridge_1d_ipv6.sh line 369: tc filter del dev $rp1 egress ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter del dev "$rp1" egress In vxlan_bridge_1d_ipv6.sh line 383: ping_test $h1 192.0.2.2 ": local->local" ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ping_test "$h1" 192.0.2.2 ": local->local" In vxlan_bridge_1d_ipv6.sh line 385: __ping_ipv4 $local_sw_ip $remote_ns1_ip $h1_ip $w2_ns1_ip $h1 \ ^----------^ 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: __ping_ipv4 "$local_sw_ip" "$remote_ns1_ip" "$h1_ip" "$w2_ns1_ip" "$h1" \ In vxlan_bridge_1d_ipv6.sh line 387: __ping_ipv4 $local_sw_ip $remote_ns2_ip $h1_ip $w2_ns2_ip $h1 \ ^----------^ 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: __ping_ipv4 "$local_sw_ip" "$remote_ns2_ip" "$h1_ip" "$w2_ns2_ip" "$h1" \ In vxlan_bridge_1d_ipv6.sh line 402: tc filter add dev $rp1 egress protocol ipv6 pref 1 handle 101 \ ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter add dev "$rp1" egress protocol ipv6 pref 1 handle 101 \ In vxlan_bridge_1d_ipv6.sh line 403: flower ip_proto udp src_ip $vxlan_local_ip \ ^-------------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: flower ip_proto udp src_ip "$vxlan_local_ip" \ In vxlan_bridge_1d_ipv6.sh line 404: dst_ip $vxlan_remote_ip dst_port $VXPORT $TC_FLAG action pass ^--------------^ 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: dst_ip "$vxlan_remote_ip" dst_port "$VXPORT" "$TC_FLAG" action pass In vxlan_bridge_1d_ipv6.sh line 408: tc filter add dev $swp1 egress protocol ipv6 pref 1 handle 101 \ ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter add dev "$swp1" egress protocol ipv6 pref 1 handle 101 \ In vxlan_bridge_1d_ipv6.sh line 409: flower src_ip $dst_ip dst_ip $src_ip $TC_FLAG action pass ^-----^ 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 src_ip "$dst_ip" dst_ip "$src_ip" "$TC_FLAG" action pass In vxlan_bridge_1d_ipv6.sh line 413: PING_COUNT=100 PING_TIMEOUT=20 ping6_do $dev $dst_ip ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. ^-----^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: PING_COUNT=100 PING_TIMEOUT=20 ping6_do "$dev" "$dst_ip" In vxlan_bridge_1d_ipv6.sh line 424: tc filter del dev $swp1 egress ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter del dev "$swp1" egress In vxlan_bridge_1d_ipv6.sh line 425: tc filter del dev $rp1 egress ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter del dev "$rp1" egress In vxlan_bridge_1d_ipv6.sh line 439: ping6_test $h1 2001:db8:1::2 ": local->local" ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ping6_test "$h1" 2001:db8:1::2 ": local->local" In vxlan_bridge_1d_ipv6.sh line 441: __ping_ipv6 $local_sw_ip $remote_ns1_ip $h1_ip $w2_ns1_ip $h1 \ ^----------^ 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: __ping_ipv6 "$local_sw_ip" "$remote_ns1_ip" "$h1_ip" "$w2_ns1_ip" "$h1" \ In vxlan_bridge_1d_ipv6.sh line 443: __ping_ipv6 $local_sw_ip $remote_ns2_ip $h1_ip $w2_ns2_ip $h1 \ ^----------^ 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: __ping_ipv6 "$local_sw_ip" "$remote_ns2_ip" "$h1_ip" "$w2_ns2_ip" "$h1" \ In vxlan_bridge_1d_ipv6.sh line 449: echo ${1:+in_ns} $1 ^-- SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: echo ${1:+in_ns} "$1" In vxlan_bridge_1d_ipv6.sh line 468: $(maybe_in_ns $ns) tc filter $add_del dev "$dev" ingress \ ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: $(maybe_in_ns "$ns") tc filter "$add_del" dev "$dev" ingress \ In vxlan_bridge_1d_ipv6.sh line 469: proto ipv6 pref 100 flower dst_ip $dst_ip ip_proto \ ^-----^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: proto ipv6 pref 100 flower dst_ip "$dst_ip" ip_proto \ In vxlan_bridge_1d_ipv6.sh line 471: $(maybe_in_ns $ns) tc filter $add_del dev "$dev" ingress \ ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: $(maybe_in_ns "$ns") tc filter "$add_del" dev "$dev" ingress \ In vxlan_bridge_1d_ipv6.sh line 472: proto ipv6 pref 100 flower dst_ip $dst_ip ip_proto \ ^-----^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: proto ipv6 pref 100 flower dst_ip "$dst_ip" ip_proto \ In vxlan_bridge_1d_ipv6.sh line 491: $(maybe_in_ns $ns) tc_rule_stats_get $dev 100 ingress ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: $(maybe_in_ns "$ns") tc_rule_stats_get "$dev" 100 ingress In vxlan_bridge_1d_ipv6.sh line 500: flood_fetch_stat $counter ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: flood_fetch_stat "$counter" In vxlan_bridge_1d_ipv6.sh line 510: local -a counters=($h2 "vx2 ns1" "vx2 ns2") ^-^ SC2206 (warning): Quote to prevent word splitting/globbing, or split robustly with mapfile or read -a. In vxlan_bridge_1d_ipv6.sh line 515: flood_counter_install $dst $counter ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: flood_counter_install "$dst" "$counter" In vxlan_bridge_1d_ipv6.sh line 518: local -a t0s=($(flood_fetch_stats "${counters[@]}")) ^-- SC2207 (warning): Prefer mapfile or read -a to split command output (or quote to avoid splitting). In vxlan_bridge_1d_ipv6.sh line 519: $MZ -6 $h1 -c 10 -d 100msec -p 64 -b $mac -B $dst -t icmp6 type=128 -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 -6 "$h1" -c 10 -d 100msec -p 64 -b "$mac" -B "$dst" -t icmp6 type=128 -q In vxlan_bridge_1d_ipv6.sh line 521: local -a t1s=($(flood_fetch_stats "${counters[@]}")) ^-- SC2207 (warning): Prefer mapfile or read -a to split command output (or quote to avoid splitting). In vxlan_bridge_1d_ipv6.sh line 523: for key in ${!t0s[@]}; do ^--------^ SC2068 (error): Double quote array expansions to avoid re-splitting elements. In vxlan_bridge_1d_ipv6.sh line 524: local delta=$((t1s[$key] - t0s[$key])) ^--^ SC2004 (style): $/${} is unnecessary on arithmetic variables. ^--^ SC2004 (style): $/${} is unnecessary on arithmetic variables. In vxlan_bridge_1d_ipv6.sh line 532: flood_counter_uninstall $dst $counter ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: flood_counter_uninstall "$dst" "$counter" In vxlan_bridge_1d_ipv6.sh line 544: vxlan_flood_test $mac $dst 10 10 10 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: vxlan_flood_test "$mac" "$dst" 10 10 10 In vxlan_bridge_1d_ipv6.sh line 561: bridge fdb $add_del dev $dev $mac self static permanent \ ^------^ 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: bridge fdb "$add_del" dev "$dev" "$mac" self static permanent \ In vxlan_bridge_1d_ipv6.sh line 562: ${dst:+dst} $dst 2>/dev/null ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ${dst:+dst} "$dst" 2>/dev/null In vxlan_bridge_1d_ipv6.sh line 563: bridge fdb $add_del dev $dev $mac master static 2>/dev/null ^------^ 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: bridge fdb "$add_del" dev "$dev" "$mac" master static 2>/dev/null In vxlan_bridge_1d_ipv6.sh line 576: expects[$hit_idx]=10 ^------^ SC2004 (style): $/${} is unnecessary on arithmetic variables. In vxlan_bridge_1d_ipv6.sh line 578: vxlan_flood_test $mac $dst "${expects[@]}" ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: vxlan_flood_test "$mac" "$dst" "${expects[@]}" In vxlan_bridge_1d_ipv6.sh line 591: vxlan_fdb_add_del add $target ^-----^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: vxlan_fdb_add_del add "$target" In vxlan_bridge_1d_ipv6.sh line 594: __test_unicast $h2_mac 2001:db8:1::2 0 "local MAC unicast" ^-----^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: __test_unicast "$h2_mac" 2001:db8:1::2 0 "local MAC unicast" In vxlan_bridge_1d_ipv6.sh line 595: __test_unicast $r1_mac 2001:db8:1::3 1 "remote MAC 1 unicast" ^-----^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: __test_unicast "$r1_mac" 2001:db8:1::3 1 "remote MAC 1 unicast" In vxlan_bridge_1d_ipv6.sh line 596: __test_unicast $r2_mac 2001:db8:1::4 2 "remote MAC 2 unicast" ^-----^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: __test_unicast "$r2_mac" 2001:db8:1::4 2 "remote MAC 2 unicast" In vxlan_bridge_1d_ipv6.sh line 599: vxlan_fdb_add_del del $target ^-----^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: vxlan_fdb_add_del del "$target" In vxlan_bridge_1d_ipv6.sh line 613: local t0=$(tc_rule_stats_get $capture_dev $capture_pref $capture_dir) ^-- SC2155 (warning): Declare and assign separately to avoid masking return values. ^----------^ 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: local t0=$(tc_rule_stats_get "$capture_dev" "$capture_pref" "$capture_dir") In vxlan_bridge_1d_ipv6.sh line 614: ping6_do $ping_dev $ping_dip "$ping_args" ^-------^ SC2086 (info): Double quote to prevent globbing and word splitting. ^-------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ping6_do "$ping_dev" "$ping_dip" "$ping_args" In vxlan_bridge_1d_ipv6.sh line 615: local t1=$(tc_rule_stats_get $capture_dev $capture_pref $capture_dir) ^-- SC2155 (warning): Declare and assign separately to avoid masking return values. ^----------^ 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: local t1=$(tc_rule_stats_get "$capture_dev" "$capture_pref" "$capture_dir") In vxlan_bridge_1d_ipv6.sh line 629: vxlan_ping_test $h1 2001:db8:1::3 "" v1 egress 77 10 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: vxlan_ping_test "$h1" 2001:db8:1::3 "" v1 egress 77 10 In vxlan_bridge_1d_ipv6.sh line 641: vxlan_ping_test $h1 2001:db8:1::3 "-Q 0x14" v1 egress 77 10 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: vxlan_ping_test "$h1" 2001:db8:1::3 "-Q 0x14" v1 egress 77 10 In vxlan_bridge_1d_ipv6.sh line 642: vxlan_ping_test $h1 2001:db8:1::3 "-Q 0x18" v1 egress 77 0 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: vxlan_ping_test "$h1" 2001:db8:1::3 "-Q 0x18" v1 egress 77 0 In vxlan_bridge_1d_ipv6.sh line 656: flower ip_tos $tos ip_proto udp dst_port $VXPORT action pass ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. ^-----^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: flower ip_tos "$tos" ip_proto udp dst_port "$VXPORT" action pass In vxlan_bridge_1d_ipv6.sh line 658: vxlan_ping_test $h1 2001:db8:1::3 "-Q $q" v1 egress 77 10 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: vxlan_ping_test "$h1" 2001:db8:1::3 "-Q $q" v1 egress 77 10 In vxlan_bridge_1d_ipv6.sh line 685: $MZ -6 $dev -c $count -d 100msec -q \ ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. ^----^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: $MZ -6 "$dev" -c "$count" -d 100msec -q \ In vxlan_bridge_1d_ipv6.sh line 686: -b $next_hop_mac -B $dest_ip \ ^-----------^ SC2086 (info): Double quote to prevent globbing and word splitting. ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: -b "$next_hop_mac" -B "$dest_ip" \ In vxlan_bridge_1d_ipv6.sh line 687: -t udp tos=$outer_tos,sp=23456,dp=$VXPORT,p=$(: ^--------^ SC2086 (info): Double quote to prevent globbing and word splitting. ^-----^ SC2086 (info): Double quote to prevent globbing and word splitting. ^-- SC2046 (warning): Quote this to prevent word splitting. Did you mean: -t udp tos="$outer_tos",sp=23456,dp="$VXPORT",p=$(: In vxlan_bridge_1d_ipv6.sh line 688: )"08:"$( : VXLAN flags ^-- SC2027 (warning): The surrounding quotes actually unquote this. Remove or escape them. ^-- SC2046 (warning): Quote this to prevent word splitting. In vxlan_bridge_1d_ipv6.sh line 689: )"00:00:00:"$( : VXLAN reserved ^-- SC2027 (warning): The surrounding quotes actually unquote this. Remove or escape them. ^-- SC2046 (warning): Quote this to prevent word splitting. In vxlan_bridge_1d_ipv6.sh line 690: )"00:03:e8:"$( : VXLAN VNI ^-- SC2027 (warning): The surrounding quotes actually unquote this. Remove or escape them. ^-- SC2046 (warning): Quote this to prevent word splitting. In vxlan_bridge_1d_ipv6.sh line 691: )"00:"$( : VXLAN reserved ^-- SC2027 (warning): The surrounding quotes actually unquote this. Remove or escape them. ^-- SC2046 (warning): Quote this to prevent word splitting. In vxlan_bridge_1d_ipv6.sh line 692: )"$dest_mac:"$( : ETH daddr ^-- SC2027 (warning): The surrounding quotes actually unquote this. Remove or escape them. ^-- SC2046 (warning): Quote this to prevent word splitting. In vxlan_bridge_1d_ipv6.sh line 693: )"$(mac_get w2):"$( : ETH saddr ^-- SC2027 (warning): The surrounding quotes actually unquote this. Remove or escape them. ^-- SC2046 (warning): Quote this to prevent word splitting. In vxlan_bridge_1d_ipv6.sh line 694: )"86:dd:"$( : ETH type ^-- SC2027 (warning): The surrounding quotes actually unquote this. Remove or escape them. ^-- SC2046 (warning): Quote this to prevent word splitting. In vxlan_bridge_1d_ipv6.sh line 695: )"6"$( : IP version ^-- SC2027 (warning): The surrounding quotes actually unquote this. Remove or escape them. ^-- SC2046 (warning): Quote this to prevent word splitting. In vxlan_bridge_1d_ipv6.sh line 696: )"$inner_tos"$( : Traffic class ^-- SC2027 (warning): The surrounding quotes actually unquote this. Remove or escape them. ^-- SC2046 (warning): Quote this to prevent word splitting. In vxlan_bridge_1d_ipv6.sh line 697: )"0:00:00:"$( : Flow label ^-- SC2027 (warning): The surrounding quotes actually unquote this. Remove or escape them. ^-- SC2046 (warning): Quote this to prevent word splitting. In vxlan_bridge_1d_ipv6.sh line 698: )"00:08:"$( : Payload length ^-- SC2027 (warning): The surrounding quotes actually unquote this. Remove or escape them. ^-- SC2046 (warning): Quote this to prevent word splitting. In vxlan_bridge_1d_ipv6.sh line 699: )"3a:"$( : Next header ^-- SC2027 (warning): The surrounding quotes actually unquote this. Remove or escape them. ^-- SC2046 (warning): Quote this to prevent word splitting. In vxlan_bridge_1d_ipv6.sh line 700: )"04:"$( : Hop limit ^-- SC2027 (warning): The surrounding quotes actually unquote this. Remove or escape them. ^-- SC2046 (warning): Quote this to prevent word splitting. In vxlan_bridge_1d_ipv6.sh line 701: )"$saddr:"$( : IP saddr ^-- SC2027 (warning): The surrounding quotes actually unquote this. Remove or escape them. ^-- SC2046 (warning): Quote this to prevent word splitting. In vxlan_bridge_1d_ipv6.sh line 702: )"$daddr:"$( : IP daddr ^-- SC2027 (warning): The surrounding quotes actually unquote this. Remove or escape them. ^-- SC2046 (warning): Quote this to prevent word splitting. In vxlan_bridge_1d_ipv6.sh line 703: )"80:"$( : ICMPv6.type ^-- SC2027 (warning): The surrounding quotes actually unquote this. Remove or escape them. ^-- SC2046 (warning): Quote this to prevent word splitting. In vxlan_bridge_1d_ipv6.sh line 704: )"00:"$( : ICMPv6.code ^-- SC2027 (warning): The surrounding quotes actually unquote this. Remove or escape them. ^-- SC2046 (warning): Quote this to prevent word splitting. In vxlan_bridge_1d_ipv6.sh line 705: )"00:"$( : ICMPv6.checksum ^-- SC2046 (warning): Quote this to prevent word splitting. In vxlan_bridge_1d_ipv6.sh line 720: local t0=$($stat_get) ^-- SC2155 (warning): Declare and assign separately to avoid masking return values. In vxlan_bridge_1d_ipv6.sh line 723: vxlan_encapped_ping_do 10 $ping_dev $(mac_get $nh_dev) \ ^-------^ SC2086 (info): Double quote to prevent globbing and word splitting. ^----------------^ SC2046 (warning): Quote this to prevent word splitting. ^-----^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: vxlan_encapped_ping_do 10 "$ping_dev" $(mac_get "$nh_dev") \ In vxlan_bridge_1d_ipv6.sh line 724: $ping_dip $(mac_get $h1) \ ^-------^ SC2086 (info): Double quote to prevent globbing and word splitting. ^------------^ SC2046 (warning): Quote this to prevent word splitting. ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: "$ping_dip" $(mac_get "$h1") \ In vxlan_bridge_1d_ipv6.sh line 725: $inner_tos $outer_tos ^--------^ SC2086 (info): Double quote to prevent globbing and word splitting. ^--------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: "$inner_tos" "$outer_tos" In vxlan_bridge_1d_ipv6.sh line 727: local t1=$($stat_get) ^-- SC2155 (warning): Declare and assign separately to avoid masking return values. In vxlan_bridge_1d_ipv6.sh line 744: tc filter add dev $h1 ingress pref 77 protocol ipv6 \ ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter add dev "$h1" ingress pref 77 protocol ipv6 \ In vxlan_bridge_1d_ipv6.sh line 746: ip_tos $decapped_tos action drop ^-----------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip_tos "$decapped_tos" action drop In vxlan_bridge_1d_ipv6.sh line 749: $orig_inner_tos $orig_outer_tos \ ^-------------^ SC2086 (info): Double quote to prevent globbing and word splitting. ^-------------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: "$orig_inner_tos" "$orig_outer_tos" \ In vxlan_bridge_1d_ipv6.sh line 751: tc filter del dev $h1 ingress pref 77 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter del dev "$h1" ingress pref 77 In vxlan_bridge_1d_ipv6.sh line 764: $orig_inner_tos $orig_outer_tos \ ^-------------^ SC2086 (info): Double quote to prevent globbing and word splitting. ^-------------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: "$orig_inner_tos" "$orig_outer_tos" \ In vxlan_bridge_1d_ipv6.sh line 804: 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/SC2068 -- Double quote array expansions to ... https://www.shellcheck.net/wiki/SC2027 -- The surrounding quotes actually u... https://www.shellcheck.net/wiki/SC2046 -- Quote this to prevent word splitt... Checking tools/testing/selftests/net/forwarding/vxlan_bridge_1q.sh - 2fdb79061a2e0c4ca93ea23324a6af431c7b9b7fe4ffa28d218e0c1625b4ebb1 In vxlan_bridge_1q.sh line 86: : ${VXPORT:=4789} ^-------------^ SC2223 (info): This default assignment may cause DoS due to globbing. Quote it. In vxlan_bridge_1q.sh line 89: : ${ALL_TESTS:=" ^-- SC2223 (info): This default assignment may cause DoS due to globbing. Quote it. In vxlan_bridge_1q.sh line 106: simple_if_init $h1 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: simple_if_init "$h1" In vxlan_bridge_1q.sh line 107: tc qdisc add dev $h1 clsact ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc qdisc add dev "$h1" clsact In vxlan_bridge_1q.sh line 108: vlan_create $h1 10 v$h1 192.0.2.1/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 "$h1" 10 v"$h1" 192.0.2.1/28 In vxlan_bridge_1q.sh line 109: vlan_create $h1 20 v$h1 198.51.100.1/24 ^-^ 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 "$h1" 20 v"$h1" 198.51.100.1/24 In vxlan_bridge_1q.sh line 114: vlan_destroy $h1 20 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: vlan_destroy "$h1" 20 In vxlan_bridge_1q.sh line 115: vlan_destroy $h1 10 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: vlan_destroy "$h1" 10 In vxlan_bridge_1q.sh line 116: tc qdisc del dev $h1 clsact ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc qdisc del dev "$h1" clsact In vxlan_bridge_1q.sh line 117: simple_if_fini $h1 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: simple_if_fini "$h1" In vxlan_bridge_1q.sh line 122: simple_if_init $h2 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: simple_if_init "$h2" In vxlan_bridge_1q.sh line 123: tc qdisc add dev $h2 clsact ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc qdisc add dev "$h2" clsact In vxlan_bridge_1q.sh line 124: vlan_create $h2 10 v$h2 192.0.2.2/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 "$h2" 10 v"$h2" 192.0.2.2/28 In vxlan_bridge_1q.sh line 125: vlan_create $h2 20 v$h2 198.51.100.2/24 ^-^ 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 "$h2" 20 v"$h2" 198.51.100.2/24 In vxlan_bridge_1q.sh line 130: vlan_destroy $h2 20 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: vlan_destroy "$h2" 20 In vxlan_bridge_1q.sh line 131: vlan_destroy $h2 10 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: vlan_destroy "$h2" 10 In vxlan_bridge_1q.sh line 132: tc qdisc del dev $h2 clsact ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc qdisc del dev "$h2" clsact In vxlan_bridge_1q.sh line 133: simple_if_fini $h2 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: simple_if_fini "$h2" In vxlan_bridge_1q.sh line 138: ip address add dev $rp1 192.0.2.17/28 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip address add dev "$rp1" 192.0.2.17/28 In vxlan_bridge_1q.sh line 149: ip address del dev $rp1 192.0.2.17/28 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip address del dev "$rp1" 192.0.2.17/28 In vxlan_bridge_1q.sh line 158: ip link set dev br1 address $(mac_get $swp1) ^--------------^ SC2046 (warning): Quote this to prevent word splitting. ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link set dev br1 address $(mac_get "$swp1") In vxlan_bridge_1q.sh line 161: ip link set dev $rp1 up ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link set dev "$rp1" up In vxlan_bridge_1q.sh line 180: 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 vxlan_bridge_1q.sh line 181: 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 vxlan_bridge_1q.sh line 182: bridge vlan add vid 10 dev $swp1 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: bridge vlan add vid 10 dev "$swp1" In vxlan_bridge_1q.sh line 183: bridge vlan add vid 20 dev $swp1 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: bridge vlan add vid 20 dev "$swp1" In vxlan_bridge_1q.sh line 185: 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 vxlan_bridge_1q.sh line 186: 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 vxlan_bridge_1q.sh line 187: bridge vlan add vid 10 dev $swp2 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: bridge vlan add vid 10 dev "$swp2" In vxlan_bridge_1q.sh line 188: bridge vlan add vid 20 dev $swp2 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: bridge vlan add vid 20 dev "$swp2" In vxlan_bridge_1q.sh line 205: bridge vlan del vid 20 dev $swp2 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: bridge vlan del vid 20 dev "$swp2" In vxlan_bridge_1q.sh line 206: bridge vlan del vid 10 dev $swp2 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: bridge vlan del vid 10 dev "$swp2" In vxlan_bridge_1q.sh line 207: 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 vxlan_bridge_1q.sh line 208: 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 vxlan_bridge_1q.sh line 210: bridge vlan del vid 20 dev $swp1 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: bridge vlan del vid 20 dev "$swp1" In vxlan_bridge_1q.sh line 211: bridge vlan del vid 10 dev $swp1 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: bridge vlan del vid 10 dev "$swp1" In vxlan_bridge_1q.sh line 212: 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 vxlan_bridge_1q.sh line 213: 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 vxlan_bridge_1q.sh line 228: ip link set dev $rp1 down ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link set dev "$rp1" down In vxlan_bridge_1q.sh line 236: simple_if_init $rp2 192.0.2.18/28 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: simple_if_init "$rp2" 192.0.2.18/28 In vxlan_bridge_1q.sh line 237: __simple_if_init v1 v$rp2 192.0.2.33/28 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: __simple_if_init v1 v"$rp2" 192.0.2.33/28 In vxlan_bridge_1q.sh line 238: __simple_if_init v3 v$rp2 192.0.2.49/28 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: __simple_if_init v3 v"$rp2" 192.0.2.49/28 In vxlan_bridge_1q.sh line 247: simple_if_fini $rp2 192.0.2.18/28 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: simple_if_fini "$rp2" 192.0.2.18/28 In vxlan_bridge_1q.sh line 259: ip link set dev $in_if up ^----^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link set dev "$in_if" up In vxlan_bridge_1q.sh line 260: ip address add dev $in_if $in_addr/28 ^----^ SC2086 (info): Double quote to prevent globbing and word splitting. ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip address add dev "$in_if" "$in_addr"/28 In vxlan_bridge_1q.sh line 261: tc qdisc add dev $in_if clsact ^----^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc qdisc add dev "$in_if" clsact In vxlan_bridge_1q.sh line 274: ip link add name vx10 type vxlan id 1000 local $in_addr \ ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link add name vx10 type vxlan id 1000 local "$in_addr" \ In vxlan_bridge_1q.sh line 278: bridge fdb append dev vx10 00:00:00:00:00:00 dst $other_in_addr self ^------------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: bridge fdb append dev vx10 00:00:00:00:00:00 dst "$other_in_addr" self In vxlan_bridge_1q.sh line 285: ip link add name vx20 type vxlan id 2000 local $in_addr \ ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link add name vx20 type vxlan id 2000 local "$in_addr" \ In vxlan_bridge_1q.sh line 289: bridge fdb append dev vx20 00:00:00:00:00:00 dst $other_in_addr self ^------------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: bridge fdb append dev vx20 00:00:00:00:00:00 dst "$other_in_addr" self In vxlan_bridge_1q.sh line 297: vlan_create w2 10 vw2 $host_addr1/28 ^---------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: vlan_create w2 10 vw2 "$host_addr1"/28 In vxlan_bridge_1q.sh line 298: vlan_create w2 20 vw2 $host_addr2/24 ^---------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: vlan_create w2 20 vw2 "$host_addr2"/24 In vxlan_bridge_1q.sh line 300: ip route add 192.0.2.16/28 nexthop via $nh_addr ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip route add 192.0.2.16/28 nexthop via "$nh_addr" In vxlan_bridge_1q.sh line 301: ip route add $other_in_addr/32 nexthop via $nh_addr ^------------^ SC2086 (info): Double quote to prevent globbing and word splitting. ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip route add "$other_in_addr"/32 nexthop via "$nh_addr" In vxlan_bridge_1q.sh line 361: h2_mac=$(mac_get $h2) ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: h2_mac=$(mac_get "$h2") In vxlan_bridge_1q.sh line 420: ping_test $h1.10 192.0.2.2 ": local->local vid 10" ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ping_test "$h1".10 192.0.2.2 ": local->local vid 10" In vxlan_bridge_1q.sh line 421: ping_test $h1.20 198.51.100.2 ": local->local vid 20" ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ping_test "$h1".20 198.51.100.2 ": local->local vid 20" In vxlan_bridge_1q.sh line 422: ping_test $h1.10 192.0.2.3 ": local->remote 1 vid 10" ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ping_test "$h1".10 192.0.2.3 ": local->remote 1 vid 10" In vxlan_bridge_1q.sh line 423: ping_test $h1.10 192.0.2.4 ": local->remote 2 vid 10" ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ping_test "$h1".10 192.0.2.4 ": local->remote 2 vid 10" In vxlan_bridge_1q.sh line 424: ping_test $h1.20 198.51.100.3 ": local->remote 1 vid 20" ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ping_test "$h1".20 198.51.100.3 ": local->remote 1 vid 20" In vxlan_bridge_1q.sh line 425: ping_test $h1.20 198.51.100.4 ": local->remote 2 vid 20" ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ping_test "$h1".20 198.51.100.4 ": local->remote 2 vid 20" In vxlan_bridge_1q.sh line 430: echo ${1:+in_ns} $1 ^-- SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: echo ${1:+in_ns} "$1" In vxlan_bridge_1q.sh line 448: $(maybe_in_ns $ns) __icmp_capture_add_del \ ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: $(maybe_in_ns "$ns") __icmp_capture_add_del \ In vxlan_bridge_1q.sh line 449: $add_del 100 "" $dev skip_sw 2>/dev/null || \ ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: "$add_del" 100 "" "$dev" skip_sw 2>/dev/null || \ In vxlan_bridge_1q.sh line 450: $(maybe_in_ns $ns) __icmp_capture_add_del \ ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: $(maybe_in_ns "$ns") __icmp_capture_add_del \ In vxlan_bridge_1q.sh line 451: $add_del 100 "" $dev skip_hw ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: "$add_del" 100 "" "$dev" skip_hw In vxlan_bridge_1q.sh line 469: $(maybe_in_ns $ns) tc_rule_stats_get $dev 100 ingress ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: $(maybe_in_ns "$ns") tc_rule_stats_get "$dev" 100 ingress In vxlan_bridge_1q.sh line 478: flood_fetch_stat $counter ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: flood_fetch_stat "$counter" In vxlan_bridge_1q.sh line 489: local -a counters=($h2 "vx10 ns1" "vx20 ns1" "vx10 ns2" "vx20 ns2") ^-^ SC2206 (warning): Quote to prevent word splitting/globbing, or split robustly with mapfile or read -a. In vxlan_bridge_1q.sh line 497: bridge vlan add vid $vid dev $swp2 untagged ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: bridge vlan add vid "$vid" dev "$swp2" untagged In vxlan_bridge_1q.sh line 499: flood_counter_install $counter ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: flood_counter_install "$counter" In vxlan_bridge_1q.sh line 502: local -a t0s=($(flood_fetch_stats "${counters[@]}")) ^-- SC2207 (warning): Prefer mapfile or read -a to split command output (or quote to avoid splitting). In vxlan_bridge_1q.sh line 503: $MZ $h1 -Q $vid -c 10 -d 100msec -p 64 -b $mac -B $dst -t icmp -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" -Q "$vid" -c 10 -d 100msec -p 64 -b "$mac" -B "$dst" -t icmp -q In vxlan_bridge_1q.sh line 505: local -a t1s=($(flood_fetch_stats "${counters[@]}")) ^-- SC2207 (warning): Prefer mapfile or read -a to split command output (or quote to avoid splitting). In vxlan_bridge_1q.sh line 507: for key in ${!t0s[@]}; do ^--------^ SC2068 (error): Double quote array expansions to avoid re-splitting elements. In vxlan_bridge_1q.sh line 508: local delta=$((t1s[$key] - t0s[$key])) ^--^ SC2004 (style): $/${} is unnecessary on arithmetic variables. ^--^ SC2004 (style): $/${} is unnecessary on arithmetic variables. In vxlan_bridge_1q.sh line 516: flood_counter_uninstall $counter ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: flood_counter_uninstall "$counter" In vxlan_bridge_1q.sh line 518: bridge vlan add vid $vid dev $swp2 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: bridge vlan add vid "$vid" dev "$swp2" In vxlan_bridge_1q.sh line 531: vxlan_flood_test $mac $dst $vid "${expects[@]}" ^--^ 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: vxlan_flood_test "$mac" "$dst" "$vid" "${expects[@]}" In vxlan_bridge_1q.sh line 567: bridge fdb $add_del dev $dev $mac self static permanent \ ^------^ 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: bridge fdb "$add_del" dev "$dev" "$mac" self static permanent \ In vxlan_bridge_1q.sh line 568: ${dst:+dst} $dst 2>/dev/null ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ${dst:+dst} "$dst" 2>/dev/null In vxlan_bridge_1q.sh line 569: bridge fdb $add_del dev $dev $mac master static vlan $vid 2>/dev/null ^------^ 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: bridge fdb "$add_del" dev "$dev" "$mac" master static vlan "$vid" 2>/dev/null In vxlan_bridge_1q.sh line 583: expects[$hit_idx]=10 ^------^ SC2004 (style): $/${} is unnecessary on arithmetic variables. In vxlan_bridge_1q.sh line 585: vxlan_flood_test $mac $dst $vid "${expects[@]}" ^--^ 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: vxlan_flood_test "$mac" "$dst" "$vid" "${expects[@]}" In vxlan_bridge_1q.sh line 600: vxlan_fdb_add_del add 10 $target ^-----^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: vxlan_fdb_add_del add 10 "$target" In vxlan_bridge_1q.sh line 603: __test_unicast $h2_mac 192.0.2.2 0 10 "local MAC unicast" ^-----^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: __test_unicast "$h2_mac" 192.0.2.2 0 10 "local MAC unicast" In vxlan_bridge_1q.sh line 604: __test_unicast $r1_mac 192.0.2.3 1 10 "remote MAC 1 unicast" ^-----^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: __test_unicast "$r1_mac" 192.0.2.3 1 10 "remote MAC 1 unicast" In vxlan_bridge_1q.sh line 605: __test_unicast $r2_mac 192.0.2.4 3 10 "remote MAC 2 unicast" ^-----^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: __test_unicast "$r2_mac" 192.0.2.4 3 10 "remote MAC 2 unicast" In vxlan_bridge_1q.sh line 608: vxlan_fdb_add_del del 10 $target ^-----^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: vxlan_fdb_add_del del 10 "$target" In vxlan_bridge_1q.sh line 617: vxlan_fdb_add_del add 20 $target ^-----^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: vxlan_fdb_add_del add 20 "$target" In vxlan_bridge_1q.sh line 620: __test_unicast $h2_mac 198.51.100.2 0 20 "local MAC unicast" ^-----^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: __test_unicast "$h2_mac" 198.51.100.2 0 20 "local MAC unicast" In vxlan_bridge_1q.sh line 621: __test_unicast $r1_mac 198.51.100.3 2 20 "remote MAC 1 unicast" ^-----^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: __test_unicast "$r1_mac" 198.51.100.3 2 20 "remote MAC 1 unicast" In vxlan_bridge_1q.sh line 622: __test_unicast $r2_mac 198.51.100.4 4 20 "remote MAC 2 unicast" ^-----^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: __test_unicast "$r2_mac" 198.51.100.4 4 20 "remote MAC 2 unicast" In vxlan_bridge_1q.sh line 625: vxlan_fdb_add_del del 20 $target ^-----^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: vxlan_fdb_add_del del 20 "$target" In vxlan_bridge_1q.sh line 640: vxlan_flood_test $mac $dst $vid "${expects[@]}" ^--^ 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: vxlan_flood_test "$mac" "$dst" "$vid" "${expects[@]}" In vxlan_bridge_1q.sh line 650: vxlan_flood_test $mac $dst $vid "${expects[@]}" ^--^ 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: vxlan_flood_test "$mac" "$dst" "$vid" "${expects[@]}" In vxlan_bridge_1q.sh line 660: vxlan_flood_test $mac $dst $vid "${expects[@]}" ^--^ 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: vxlan_flood_test "$mac" "$dst" "$vid" "${expects[@]}" In vxlan_bridge_1q.sh line 670: vxlan_flood_test $mac $dst $vid "${expects[@]}" ^--^ 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: vxlan_flood_test "$mac" "$dst" "$vid" "${expects[@]}" In vxlan_bridge_1q.sh line 683: vxlan_flood_test $mac $dst $vid "${expects[@]}" ^--^ 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: vxlan_flood_test "$mac" "$dst" "$vid" "${expects[@]}" In vxlan_bridge_1q.sh line 693: vxlan_flood_test $mac $dst $vid "${expects[@]}" ^--^ 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: vxlan_flood_test "$mac" "$dst" "$vid" "${expects[@]}" In vxlan_bridge_1q.sh line 711: expects[0]=10; expects[$idx1]=10; expects[$idx2]=10 ^---^ SC2004 (style): $/${} is unnecessary on arithmetic variables. ^---^ SC2004 (style): $/${} is unnecessary on arithmetic variables. In vxlan_bridge_1q.sh line 712: vxlan_flood_test $mac $dst $vid "${expects[@]}" ^--^ 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: vxlan_flood_test "$mac" "$dst" "$vid" "${expects[@]}" In vxlan_bridge_1q.sh line 720: in_ns ns1 $MZ w2 -Q $vid -c 1 -p 64 -a $mac -b ff:ff:ff:ff:ff:ff \ ^-^ 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: in_ns ns1 "$MZ" w2 -Q "$vid" -c 1 -p 64 -a "$mac" -b ff:ff:ff:ff:ff:ff \ In vxlan_bridge_1q.sh line 721: -B $dst -t icmp -q ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: -B "$dst" -t icmp -q In vxlan_bridge_1q.sh line 724: bridge fdb show brport $vx | grep $mac | grep -q self ^-^ 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 show brport "$vx" | grep "$mac" | grep -q self In vxlan_bridge_1q.sh line 726: bridge fdb show brport $vx | grep $mac | grep "vlan $vid" \ ^-^ 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 show brport "$vx" | grep "$mac" | grep "vlan $vid" \ In vxlan_bridge_1q.sh line 735: expects[0]=0; expects[$idx1]=10; expects[$idx2]=0 ^---^ SC2004 (style): $/${} is unnecessary on arithmetic variables. ^---^ SC2004 (style): $/${} is unnecessary on arithmetic variables. In vxlan_bridge_1q.sh line 736: vxlan_flood_test $mac $dst $vid "${expects[@]}" ^--^ 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: vxlan_flood_test "$mac" "$dst" "$vid" "${expects[@]}" In vxlan_bridge_1q.sh line 744: bridge fdb del dev $vx $mac master self vlan $vid ^-^ 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: bridge fdb del dev "$vx" "$mac" master self vlan "$vid" In vxlan_bridge_1q.sh line 747: expects[0]=10; expects[$idx1]=10; expects[$idx2]=10 ^---^ SC2004 (style): $/${} is unnecessary on arithmetic variables. ^---^ SC2004 (style): $/${} is unnecessary on arithmetic variables. In vxlan_bridge_1q.sh line 748: vxlan_flood_test $mac $dst $vid "${expects[@]}" ^--^ 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: vxlan_flood_test "$mac" "$dst" "$vid" "${expects[@]}" In vxlan_bridge_1q.sh line 755: in_ns ns1 $MZ w2 -Q $vid -c 1 -p 64 -a $mac -b ff:ff:ff:ff:ff:ff \ ^-^ 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: in_ns ns1 "$MZ" w2 -Q "$vid" -c 1 -p 64 -a "$mac" -b ff:ff:ff:ff:ff:ff \ In vxlan_bridge_1q.sh line 756: -B $dst -t icmp -q ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: -B "$dst" -t icmp -q In vxlan_bridge_1q.sh line 759: bridge fdb show brport $vx | grep $mac | grep -q self ^-^ 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 show brport "$vx" | grep "$mac" | grep -q self In vxlan_bridge_1q.sh line 761: bridge fdb show brport $vx | grep $mac | grep "vlan $vid" \ ^-^ 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 show brport "$vx" | grep "$mac" | grep "vlan $vid" \ In vxlan_bridge_1q.sh line 765: expects[0]=0; expects[$idx1]=10; expects[$idx2]=0 ^---^ SC2004 (style): $/${} is unnecessary on arithmetic variables. ^---^ SC2004 (style): $/${} is unnecessary on arithmetic variables. In vxlan_bridge_1q.sh line 766: vxlan_flood_test $mac $dst $vid "${expects[@]}" ^--^ 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: vxlan_flood_test "$mac" "$dst" "$vid" "${expects[@]}" In vxlan_bridge_1q.sh line 770: bridge fdb show brport $vx | grep $mac | grep -q self ^-^ 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 show brport "$vx" | grep "$mac" | grep -q self In vxlan_bridge_1q.sh line 772: bridge fdb show brport $vx | grep $mac | grep "vlan $vid" \ ^-^ 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 show brport "$vx" | grep "$mac" | grep "vlan $vid" \ In vxlan_bridge_1q.sh line 776: expects[0]=10; expects[$idx1]=10; expects[$idx2]=10 ^---^ SC2004 (style): $/${} is unnecessary on arithmetic variables. ^---^ SC2004 (style): $/${} is unnecessary on arithmetic variables. In vxlan_bridge_1q.sh line 777: vxlan_flood_test $mac $dst $vid "${expects[@]}" ^--^ 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: vxlan_flood_test "$mac" "$dst" "$vid" "${expects[@]}" In vxlan_bridge_1q.sh line 785: ip link set dev $vx type bridge_slave learning off ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link set dev "$vx" type bridge_slave learning off In vxlan_bridge_1q.sh line 787: in_ns ns1 $MZ w2 -Q $vid -c 1 -p 64 -a $mac -b ff:ff:ff:ff:ff:ff \ ^-^ 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: in_ns ns1 "$MZ" w2 -Q "$vid" -c 1 -p 64 -a "$mac" -b ff:ff:ff:ff:ff:ff \ In vxlan_bridge_1q.sh line 788: -B $dst -t icmp -q ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: -B "$dst" -t icmp -q In vxlan_bridge_1q.sh line 791: bridge fdb show brport $vx | grep $mac | grep "vlan $vid" \ ^-^ 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 show brport "$vx" | grep "$mac" | grep "vlan $vid" \ In vxlan_bridge_1q.sh line 795: ip link set dev $vx type bridge_slave learning on ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link set dev "$vx" type bridge_slave learning on In vxlan_bridge_1q.sh line 797: in_ns ns1 $MZ w2 -Q $vid -c 1 -p 64 -a $mac -b ff:ff:ff:ff:ff:ff \ ^-^ 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: in_ns ns1 "$MZ" w2 -Q "$vid" -c 1 -p 64 -a "$mac" -b ff:ff:ff:ff:ff:ff \ In vxlan_bridge_1q.sh line 798: -B $dst -t icmp -q ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: -B "$dst" -t icmp -q In vxlan_bridge_1q.sh line 801: bridge fdb show brport $vx | grep $mac | grep "vlan $vid" \ ^-^ 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 show brport "$vx" | grep "$mac" | grep "vlan $vid" \ In vxlan_bridge_1q.sh line 824: __test_learning $mac $dst $vid 1 3 ^--^ 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_learning "$mac" "$dst" "$vid" 1 3 In vxlan_bridge_1q.sh line 832: __test_learning $mac $dst $vid 2 4 ^--^ 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_learning "$mac" "$dst" "$vid" 2 4 In vxlan_bridge_1q.sh line 855: 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/SC2068 -- Double quote array expansions to ... https://www.shellcheck.net/wiki/SC2046 -- Quote this to prevent word splitt... https://www.shellcheck.net/wiki/SC2206 -- Quote to prevent word splitting/g... Checking tools/testing/selftests/net/forwarding/vxlan_bridge_1q_ipv6.sh - 484c3d61ddf58c186b83e9f86970afc39ea4f3b78c14b39760ffaeaa49172193 In vxlan_bridge_1q_ipv6.sh line 93: : ${VXPORT:=4789} ^-------------^ SC2223 (info): This default assignment may cause DoS due to globbing. Quote it. In vxlan_bridge_1q_ipv6.sh line 96: : ${ALL_TESTS:=" ^-- SC2223 (info): This default assignment may cause DoS due to globbing. Quote it. In vxlan_bridge_1q_ipv6.sh line 119: simple_if_init $h1 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: simple_if_init "$h1" In vxlan_bridge_1q_ipv6.sh line 120: tc qdisc add dev $h1 clsact ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc qdisc add dev "$h1" clsact In vxlan_bridge_1q_ipv6.sh line 121: vlan_create $h1 10 v$h1 192.0.2.1/28 2001:db8:1::1/64 ^-^ 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 "$h1" 10 v"$h1" 192.0.2.1/28 2001:db8:1::1/64 In vxlan_bridge_1q_ipv6.sh line 122: vlan_create $h1 20 v$h1 198.51.100.1/24 2001:db8:2::1/64 ^-^ 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 "$h1" 20 v"$h1" 198.51.100.1/24 2001:db8:2::1/64 In vxlan_bridge_1q_ipv6.sh line 127: vlan_destroy $h1 20 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: vlan_destroy "$h1" 20 In vxlan_bridge_1q_ipv6.sh line 128: vlan_destroy $h1 10 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: vlan_destroy "$h1" 10 In vxlan_bridge_1q_ipv6.sh line 129: tc qdisc del dev $h1 clsact ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc qdisc del dev "$h1" clsact In vxlan_bridge_1q_ipv6.sh line 130: simple_if_fini $h1 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: simple_if_fini "$h1" In vxlan_bridge_1q_ipv6.sh line 135: simple_if_init $h2 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: simple_if_init "$h2" In vxlan_bridge_1q_ipv6.sh line 136: tc qdisc add dev $h2 clsact ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc qdisc add dev "$h2" clsact In vxlan_bridge_1q_ipv6.sh line 137: vlan_create $h2 10 v$h2 192.0.2.2/28 2001:db8:1::2/64 ^-^ 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 "$h2" 10 v"$h2" 192.0.2.2/28 2001:db8:1::2/64 In vxlan_bridge_1q_ipv6.sh line 138: vlan_create $h2 20 v$h2 198.51.100.2/24 2001:db8:2::2/64 ^-^ 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 "$h2" 20 v"$h2" 198.51.100.2/24 2001:db8:2::2/64 In vxlan_bridge_1q_ipv6.sh line 143: vlan_destroy $h2 20 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: vlan_destroy "$h2" 20 In vxlan_bridge_1q_ipv6.sh line 144: vlan_destroy $h2 10 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: vlan_destroy "$h2" 10 In vxlan_bridge_1q_ipv6.sh line 145: tc qdisc del dev $h2 clsact ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc qdisc del dev "$h2" clsact In vxlan_bridge_1q_ipv6.sh line 146: simple_if_fini $h2 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: simple_if_fini "$h2" In vxlan_bridge_1q_ipv6.sh line 151: ip address add dev $rp1 2001:db8:3::1/64 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip address add dev "$rp1" 2001:db8:3::1/64 In vxlan_bridge_1q_ipv6.sh line 162: ip address del dev $rp1 2001:db8:3::1/64 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip address del dev "$rp1" 2001:db8:3::1/64 In vxlan_bridge_1q_ipv6.sh line 171: ip link set dev br1 address $(mac_get $swp1) ^--------------^ SC2046 (warning): Quote this to prevent word splitting. ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link set dev br1 address $(mac_get "$swp1") In vxlan_bridge_1q_ipv6.sh line 174: ip link set dev $rp1 up ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link set dev "$rp1" up In vxlan_bridge_1q_ipv6.sh line 176: tc qdisc add dev $rp1 clsact ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc qdisc add dev "$rp1" clsact In vxlan_bridge_1q_ipv6.sh line 194: 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 vxlan_bridge_1q_ipv6.sh line 195: 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 vxlan_bridge_1q_ipv6.sh line 196: tc qdisc add dev $swp1 clsact ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc qdisc add dev "$swp1" clsact In vxlan_bridge_1q_ipv6.sh line 197: bridge vlan add vid 10 dev $swp1 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: bridge vlan add vid 10 dev "$swp1" In vxlan_bridge_1q_ipv6.sh line 198: bridge vlan add vid 20 dev $swp1 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: bridge vlan add vid 20 dev "$swp1" In vxlan_bridge_1q_ipv6.sh line 200: 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 vxlan_bridge_1q_ipv6.sh line 201: 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 vxlan_bridge_1q_ipv6.sh line 202: bridge vlan add vid 10 dev $swp2 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: bridge vlan add vid 10 dev "$swp2" In vxlan_bridge_1q_ipv6.sh line 203: bridge vlan add vid 20 dev $swp2 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: bridge vlan add vid 20 dev "$swp2" In vxlan_bridge_1q_ipv6.sh line 220: bridge vlan del vid 20 dev $swp2 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: bridge vlan del vid 20 dev "$swp2" In vxlan_bridge_1q_ipv6.sh line 221: bridge vlan del vid 10 dev $swp2 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: bridge vlan del vid 10 dev "$swp2" In vxlan_bridge_1q_ipv6.sh line 222: 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 vxlan_bridge_1q_ipv6.sh line 223: 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 vxlan_bridge_1q_ipv6.sh line 225: bridge vlan del vid 20 dev $swp1 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: bridge vlan del vid 20 dev "$swp1" In vxlan_bridge_1q_ipv6.sh line 226: bridge vlan del vid 10 dev $swp1 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: bridge vlan del vid 10 dev "$swp1" In vxlan_bridge_1q_ipv6.sh line 227: tc qdisc del dev $swp1 clsact ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc qdisc del dev "$swp1" clsact In vxlan_bridge_1q_ipv6.sh line 228: 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 vxlan_bridge_1q_ipv6.sh line 229: 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 vxlan_bridge_1q_ipv6.sh line 243: tc qdisc del dev $rp1 clsact ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc qdisc del dev "$rp1" clsact In vxlan_bridge_1q_ipv6.sh line 245: ip link set dev $rp1 down ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link set dev "$rp1" down In vxlan_bridge_1q_ipv6.sh line 253: simple_if_init $rp2 2001:db8:3::2/64 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: simple_if_init "$rp2" 2001:db8:3::2/64 In vxlan_bridge_1q_ipv6.sh line 254: __simple_if_init v1 v$rp2 2001:db8:4::2/64 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: __simple_if_init v1 v"$rp2" 2001:db8:4::2/64 In vxlan_bridge_1q_ipv6.sh line 255: __simple_if_init v3 v$rp2 2001:db8:5::2/64 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: __simple_if_init v3 v"$rp2" 2001:db8:5::2/64 In vxlan_bridge_1q_ipv6.sh line 264: simple_if_fini $rp2 2001:db8:3::2/64 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: simple_if_fini "$rp2" 2001:db8:3::2/64 In vxlan_bridge_1q_ipv6.sh line 278: ip link set dev $in_if up ^----^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link set dev "$in_if" up In vxlan_bridge_1q_ipv6.sh line 279: ip address add dev $in_if $in_addr/64 ^----^ SC2086 (info): Double quote to prevent globbing and word splitting. ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip address add dev "$in_if" "$in_addr"/64 In vxlan_bridge_1q_ipv6.sh line 280: tc qdisc add dev $in_if clsact ^----^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc qdisc add dev "$in_if" clsact In vxlan_bridge_1q_ipv6.sh line 293: ip link add name vx10 type vxlan id 1000 local $in_addr \ ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link add name vx10 type vxlan id 1000 local "$in_addr" \ In vxlan_bridge_1q_ipv6.sh line 297: bridge fdb append dev vx10 00:00:00:00:00:00 dst $other_in_addr self ^------------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: bridge fdb append dev vx10 00:00:00:00:00:00 dst "$other_in_addr" self In vxlan_bridge_1q_ipv6.sh line 304: ip link add name vx20 type vxlan id 2000 local $in_addr \ ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link add name vx20 type vxlan id 2000 local "$in_addr" \ In vxlan_bridge_1q_ipv6.sh line 308: bridge fdb append dev vx20 00:00:00:00:00:00 dst $other_in_addr self ^------------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: bridge fdb append dev vx20 00:00:00:00:00:00 dst "$other_in_addr" self In vxlan_bridge_1q_ipv6.sh line 316: vlan_create w2 10 vw2 $host_addr1_ipv4/28 $host_addr1_ipv6/64 ^--------------^ 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 w2 10 vw2 "$host_addr1_ipv4"/28 "$host_addr1_ipv6"/64 In vxlan_bridge_1q_ipv6.sh line 317: vlan_create w2 20 vw2 $host_addr2_ipv4/24 $host_addr2_ipv6/64 ^--------------^ 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 w2 20 vw2 "$host_addr2_ipv4"/24 "$host_addr2_ipv6"/64 In vxlan_bridge_1q_ipv6.sh line 319: ip route add 2001:db8:3::0/64 nexthop via $nh_addr ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip route add 2001:db8:3::0/64 nexthop via "$nh_addr" In vxlan_bridge_1q_ipv6.sh line 320: ip route add $other_in_addr/128 nexthop via $nh_addr ^------------^ SC2086 (info): Double quote to prevent globbing and word splitting. ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip route add "$other_in_addr"/128 nexthop via "$nh_addr" In vxlan_bridge_1q_ipv6.sh line 380: h2_mac=$(mac_get $h2) ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: h2_mac=$(mac_get "$h2") In vxlan_bridge_1q_ipv6.sh line 448: tc filter add dev $rp1 egress protocol ipv6 pref 1 handle 101 \ ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter add dev "$rp1" egress protocol ipv6 pref 1 handle 101 \ In vxlan_bridge_1q_ipv6.sh line 449: flower ip_proto udp src_ip $vxlan_local_ip \ ^-------------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: flower ip_proto udp src_ip "$vxlan_local_ip" \ In vxlan_bridge_1q_ipv6.sh line 450: dst_ip $vxlan_remote_ip dst_port $VXPORT $TC_FLAG action pass ^--------------^ 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: dst_ip "$vxlan_remote_ip" dst_port "$VXPORT" "$TC_FLAG" action pass In vxlan_bridge_1q_ipv6.sh line 454: tc filter add dev $swp1 egress protocol 802.1q pref 1 handle 101 \ ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter add dev "$swp1" egress protocol 802.1q pref 1 handle 101 \ In vxlan_bridge_1q_ipv6.sh line 455: flower vlan_ethtype ipv4 src_ip $dst_ip dst_ip $src_ip \ ^-----^ SC2086 (info): Double quote to prevent globbing and word splitting. ^-----^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: flower vlan_ethtype ipv4 src_ip "$dst_ip" dst_ip "$src_ip" \ In vxlan_bridge_1q_ipv6.sh line 456: $TC_FLAG action pass ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: "$TC_FLAG" action pass In vxlan_bridge_1q_ipv6.sh line 460: PING_COUNT=100 PING_TIMEOUT=20 ping_do $dev $dst_ip ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. ^-----^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: PING_COUNT=100 PING_TIMEOUT=20 ping_do "$dev" "$dst_ip" In vxlan_bridge_1q_ipv6.sh line 471: tc filter del dev $swp1 egress ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter del dev "$swp1" egress In vxlan_bridge_1q_ipv6.sh line 472: tc filter del dev $rp1 egress ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter del dev "$rp1" egress In vxlan_bridge_1q_ipv6.sh line 489: ping_test $h1.10 192.0.2.2 ": local->local vid 10" ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ping_test "$h1".10 192.0.2.2 ": local->local vid 10" In vxlan_bridge_1q_ipv6.sh line 490: ping_test $h1.20 198.51.100.2 ": local->local vid 20" ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ping_test "$h1".20 198.51.100.2 ": local->local vid 20" In vxlan_bridge_1q_ipv6.sh line 492: __ping_ipv4 $local_sw_ip $remote_ns1_ip $h1_10_ip $w2_10_ns1_ip $h1.10 \ ^----------^ 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: __ping_ipv4 "$local_sw_ip" "$remote_ns1_ip" "$h1_10_ip" "$w2_10_ns1_ip" "$h1".10 \ In vxlan_bridge_1q_ipv6.sh line 494: __ping_ipv4 $local_sw_ip $remote_ns2_ip $h1_10_ip $w2_10_ns2_ip $h1.10 \ ^----------^ 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: __ping_ipv4 "$local_sw_ip" "$remote_ns2_ip" "$h1_10_ip" "$w2_10_ns2_ip" "$h1".10 \ In vxlan_bridge_1q_ipv6.sh line 496: __ping_ipv4 $local_sw_ip $remote_ns1_ip $h1_20_ip $w2_20_ns1_ip $h1.20 \ ^----------^ 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: __ping_ipv4 "$local_sw_ip" "$remote_ns1_ip" "$h1_20_ip" "$w2_20_ns1_ip" "$h1".20 \ In vxlan_bridge_1q_ipv6.sh line 498: __ping_ipv4 $local_sw_ip $remote_ns2_ip $h1_20_ip $w2_20_ns2_ip $h1.20 \ ^----------^ 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: __ping_ipv4 "$local_sw_ip" "$remote_ns2_ip" "$h1_20_ip" "$w2_20_ns2_ip" "$h1".20 \ In vxlan_bridge_1q_ipv6.sh line 513: tc filter add dev $rp1 egress protocol ipv6 pref 1 handle 101 \ ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter add dev "$rp1" egress protocol ipv6 pref 1 handle 101 \ In vxlan_bridge_1q_ipv6.sh line 514: flower ip_proto udp src_ip $vxlan_local_ip \ ^-------------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: flower ip_proto udp src_ip "$vxlan_local_ip" \ In vxlan_bridge_1q_ipv6.sh line 515: dst_ip $vxlan_remote_ip dst_port $VXPORT $TC_FLAG action pass ^--------------^ 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: dst_ip "$vxlan_remote_ip" dst_port "$VXPORT" "$TC_FLAG" action pass In vxlan_bridge_1q_ipv6.sh line 519: tc filter add dev $swp1 egress protocol 802.1q pref 1 handle 101 \ ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter add dev "$swp1" egress protocol 802.1q pref 1 handle 101 \ In vxlan_bridge_1q_ipv6.sh line 520: flower vlan_ethtype ipv6 src_ip $dst_ip dst_ip $src_ip \ ^-----^ SC2086 (info): Double quote to prevent globbing and word splitting. ^-----^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: flower vlan_ethtype ipv6 src_ip "$dst_ip" dst_ip "$src_ip" \ In vxlan_bridge_1q_ipv6.sh line 521: $TC_FLAG action pass ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: "$TC_FLAG" action pass In vxlan_bridge_1q_ipv6.sh line 525: PING_COUNT=100 PING_TIMEOUT=20 ping6_do $dev $dst_ip ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. ^-----^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: PING_COUNT=100 PING_TIMEOUT=20 ping6_do "$dev" "$dst_ip" In vxlan_bridge_1q_ipv6.sh line 536: tc filter del dev $swp1 egress ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter del dev "$swp1" egress In vxlan_bridge_1q_ipv6.sh line 537: tc filter del dev $rp1 egress ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter del dev "$rp1" egress In vxlan_bridge_1q_ipv6.sh line 554: ping6_test $h1.10 2001:db8:1::2 ": local->local vid 10" ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ping6_test "$h1".10 2001:db8:1::2 ": local->local vid 10" In vxlan_bridge_1q_ipv6.sh line 555: ping6_test $h1.20 2001:db8:2::2 ": local->local vid 20" ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ping6_test "$h1".20 2001:db8:2::2 ": local->local vid 20" In vxlan_bridge_1q_ipv6.sh line 557: __ping_ipv6 $local_sw_ip $remote_ns1_ip $h1_10_ip $w2_10_ns1_ip $h1.10 \ ^----------^ 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: __ping_ipv6 "$local_sw_ip" "$remote_ns1_ip" "$h1_10_ip" "$w2_10_ns1_ip" "$h1".10 \ In vxlan_bridge_1q_ipv6.sh line 559: __ping_ipv6 $local_sw_ip $remote_ns2_ip $h1_10_ip $w2_10_ns2_ip $h1.10 \ ^----------^ 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: __ping_ipv6 "$local_sw_ip" "$remote_ns2_ip" "$h1_10_ip" "$w2_10_ns2_ip" "$h1".10 \ In vxlan_bridge_1q_ipv6.sh line 561: __ping_ipv6 $local_sw_ip $remote_ns1_ip $h1_20_ip $w2_20_ns1_ip $h1.20 \ ^----------^ 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: __ping_ipv6 "$local_sw_ip" "$remote_ns1_ip" "$h1_20_ip" "$w2_20_ns1_ip" "$h1".20 \ In vxlan_bridge_1q_ipv6.sh line 563: __ping_ipv6 $local_sw_ip $remote_ns2_ip $h1_20_ip $w2_20_ns2_ip $h1.20 \ ^----------^ 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: __ping_ipv6 "$local_sw_ip" "$remote_ns2_ip" "$h1_20_ip" "$w2_20_ns2_ip" "$h1".20 \ In vxlan_bridge_1q_ipv6.sh line 569: echo ${1:+in_ns} $1 ^-- SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: echo ${1:+in_ns} "$1" In vxlan_bridge_1q_ipv6.sh line 588: $(maybe_in_ns $ns) tc filter $add_del dev "$dev" ingress \ ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: $(maybe_in_ns "$ns") tc filter "$add_del" dev "$dev" ingress \ In vxlan_bridge_1q_ipv6.sh line 589: proto ipv6 pref 100 flower dst_ip $dst_ip ip_proto \ ^-----^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: proto ipv6 pref 100 flower dst_ip "$dst_ip" ip_proto \ In vxlan_bridge_1q_ipv6.sh line 591: $(maybe_in_ns $ns) tc filter $add_del dev "$dev" ingress \ ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: $(maybe_in_ns "$ns") tc filter "$add_del" dev "$dev" ingress \ In vxlan_bridge_1q_ipv6.sh line 592: proto ipv6 pref 100 flower dst_ip $dst_ip ip_proto \ ^-----^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: proto ipv6 pref 100 flower dst_ip "$dst_ip" ip_proto \ In vxlan_bridge_1q_ipv6.sh line 611: $(maybe_in_ns $ns) tc_rule_stats_get $dev 100 ingress ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: $(maybe_in_ns "$ns") tc_rule_stats_get "$dev" 100 ingress In vxlan_bridge_1q_ipv6.sh line 620: flood_fetch_stat $counter ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: flood_fetch_stat "$counter" In vxlan_bridge_1q_ipv6.sh line 631: local -a counters=($h2 "vx10 ns1" "vx20 ns1" "vx10 ns2" "vx20 ns2") ^-^ SC2206 (warning): Quote to prevent word splitting/globbing, or split robustly with mapfile or read -a. In vxlan_bridge_1q_ipv6.sh line 639: bridge vlan add vid $vid dev $swp2 untagged ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: bridge vlan add vid "$vid" dev "$swp2" untagged In vxlan_bridge_1q_ipv6.sh line 641: flood_counter_install $dst $counter ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: flood_counter_install "$dst" "$counter" In vxlan_bridge_1q_ipv6.sh line 644: local -a t0s=($(flood_fetch_stats "${counters[@]}")) ^-- SC2207 (warning): Prefer mapfile or read -a to split command output (or quote to avoid splitting). In vxlan_bridge_1q_ipv6.sh line 645: $MZ -6 $h1 -Q $vid -c 10 -d 100msec -p 64 -b $mac -B $dst -t icmp6 type=128 -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 -6 "$h1" -Q "$vid" -c 10 -d 100msec -p 64 -b "$mac" -B "$dst" -t icmp6 type=128 -q In vxlan_bridge_1q_ipv6.sh line 647: local -a t1s=($(flood_fetch_stats "${counters[@]}")) ^-- SC2207 (warning): Prefer mapfile or read -a to split command output (or quote to avoid splitting). In vxlan_bridge_1q_ipv6.sh line 649: for key in ${!t0s[@]}; do ^--------^ SC2068 (error): Double quote array expansions to avoid re-splitting elements. In vxlan_bridge_1q_ipv6.sh line 650: local delta=$((t1s[$key] - t0s[$key])) ^--^ SC2004 (style): $/${} is unnecessary on arithmetic variables. ^--^ SC2004 (style): $/${} is unnecessary on arithmetic variables. In vxlan_bridge_1q_ipv6.sh line 658: flood_counter_uninstall $dst $counter ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: flood_counter_uninstall "$dst" "$counter" In vxlan_bridge_1q_ipv6.sh line 660: bridge vlan add vid $vid dev $swp2 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: bridge vlan add vid "$vid" dev "$swp2" In vxlan_bridge_1q_ipv6.sh line 673: vxlan_flood_test $mac $dst $vid "${expects[@]}" ^--^ 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: vxlan_flood_test "$mac" "$dst" "$vid" "${expects[@]}" In vxlan_bridge_1q_ipv6.sh line 694: bridge fdb $add_del dev $dev $mac self static permanent \ ^------^ 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: bridge fdb "$add_del" dev "$dev" "$mac" self static permanent \ In vxlan_bridge_1q_ipv6.sh line 695: ${dst:+dst} $dst 2>/dev/null ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ${dst:+dst} "$dst" 2>/dev/null In vxlan_bridge_1q_ipv6.sh line 696: bridge fdb $add_del dev $dev $mac master static vlan $vid 2>/dev/null ^------^ 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: bridge fdb "$add_del" dev "$dev" "$mac" master static vlan "$vid" 2>/dev/null In vxlan_bridge_1q_ipv6.sh line 710: expects[$hit_idx]=10 ^------^ SC2004 (style): $/${} is unnecessary on arithmetic variables. In vxlan_bridge_1q_ipv6.sh line 712: vxlan_flood_test $mac $dst $vid "${expects[@]}" ^--^ 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: vxlan_flood_test "$mac" "$dst" "$vid" "${expects[@]}" In vxlan_bridge_1q_ipv6.sh line 727: vxlan_fdb_add_del add 10 $target ^-----^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: vxlan_fdb_add_del add 10 "$target" In vxlan_bridge_1q_ipv6.sh line 730: __test_unicast $h2_mac 2001:db8:1::2 0 10 "local MAC unicast" ^-----^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: __test_unicast "$h2_mac" 2001:db8:1::2 0 10 "local MAC unicast" In vxlan_bridge_1q_ipv6.sh line 731: __test_unicast $r1_mac 2001:db8:1::3 1 10 "remote MAC 1 unicast" ^-----^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: __test_unicast "$r1_mac" 2001:db8:1::3 1 10 "remote MAC 1 unicast" In vxlan_bridge_1q_ipv6.sh line 732: __test_unicast $r2_mac 2001:db8:1::4 3 10 "remote MAC 2 unicast" ^-----^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: __test_unicast "$r2_mac" 2001:db8:1::4 3 10 "remote MAC 2 unicast" In vxlan_bridge_1q_ipv6.sh line 735: vxlan_fdb_add_del del 10 $target ^-----^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: vxlan_fdb_add_del del 10 "$target" In vxlan_bridge_1q_ipv6.sh line 744: vxlan_fdb_add_del add 20 $target ^-----^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: vxlan_fdb_add_del add 20 "$target" In vxlan_bridge_1q_ipv6.sh line 747: __test_unicast $h2_mac 2001:db8:2::2 0 20 "local MAC unicast" ^-----^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: __test_unicast "$h2_mac" 2001:db8:2::2 0 20 "local MAC unicast" In vxlan_bridge_1q_ipv6.sh line 748: __test_unicast $r1_mac 2001:db8:2::3 2 20 "remote MAC 1 unicast" ^-----^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: __test_unicast "$r1_mac" 2001:db8:2::3 2 20 "remote MAC 1 unicast" In vxlan_bridge_1q_ipv6.sh line 749: __test_unicast $r2_mac 2001:db8:2::4 4 20 "remote MAC 2 unicast" ^-----^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: __test_unicast "$r2_mac" 2001:db8:2::4 4 20 "remote MAC 2 unicast" In vxlan_bridge_1q_ipv6.sh line 752: vxlan_fdb_add_del del 20 $target ^-----^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: vxlan_fdb_add_del del 20 "$target" In vxlan_bridge_1q_ipv6.sh line 767: vxlan_flood_test $mac $dst $vid "${expects[@]}" ^--^ 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: vxlan_flood_test "$mac" "$dst" "$vid" "${expects[@]}" In vxlan_bridge_1q_ipv6.sh line 777: vxlan_flood_test $mac $dst $vid "${expects[@]}" ^--^ 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: vxlan_flood_test "$mac" "$dst" "$vid" "${expects[@]}" In vxlan_bridge_1q_ipv6.sh line 787: vxlan_flood_test $mac $dst $vid "${expects[@]}" ^--^ 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: vxlan_flood_test "$mac" "$dst" "$vid" "${expects[@]}" In vxlan_bridge_1q_ipv6.sh line 797: vxlan_flood_test $mac $dst $vid "${expects[@]}" ^--^ 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: vxlan_flood_test "$mac" "$dst" "$vid" "${expects[@]}" In vxlan_bridge_1q_ipv6.sh line 810: vxlan_flood_test $mac $dst $vid "${expects[@]}" ^--^ 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: vxlan_flood_test "$mac" "$dst" "$vid" "${expects[@]}" In vxlan_bridge_1q_ipv6.sh line 820: vxlan_flood_test $mac $dst $vid "${expects[@]}" ^--^ 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: vxlan_flood_test "$mac" "$dst" "$vid" "${expects[@]}" In vxlan_bridge_1q_ipv6.sh line 837: 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/SC2068 -- Double quote array expansions to ... https://www.shellcheck.net/wiki/SC2046 -- Quote this to prevent word splitt... https://www.shellcheck.net/wiki/SC2206 -- Quote to prevent word splitting/g... Checking tools/testing/selftests/net/forwarding/vxlan_bridge_1q_mc_ul.sh - 55b8974b9512d983f0a799e4fd3181679e3083095be6248a3e44aae8bf92da20 Checking tools/testing/selftests/net/forwarding/vxlan_reserved.sh - e33a9ba82143df5f32f8b769667f1e5fcc5da104dc3f8741ba0113d3d0fc98f4 In vxlan_reserved.sh line 34: : ${VXPORT:=4789} ^-------------^ SC2223 (info): This default assignment may cause DoS due to globbing. Quote it. In vxlan_reserved.sh line 35: : ${ALL_TESTS:=" ^-- SC2223 (info): This default assignment may cause DoS due to globbing. Quote it. In vxlan_reserved.sh line 50: simple_if_init $h1 192.0.2.1/28 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: simple_if_init "$h1" 192.0.2.1/28 In vxlan_reserved.sh line 51: defer simple_if_fini $h1 192.0.2.1/28 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: defer simple_if_fini "$h1" 192.0.2.1/28 In vxlan_reserved.sh line 53: tc qdisc add dev $h1 clsact ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc qdisc add dev "$h1" clsact In vxlan_reserved.sh line 54: defer tc qdisc del dev $h1 clsact ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: defer tc qdisc del dev "$h1" clsact In vxlan_reserved.sh line 56: tc filter add dev $h1 ingress pref 77 \ ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter add dev "$h1" ingress pref 77 \ In vxlan_reserved.sh line 58: defer tc filter del dev $h1 ingress pref 77 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: defer tc filter del dev "$h1" ingress pref 77 In vxlan_reserved.sh line 66: ip_link_set_addr br1 $(mac_get $swp1) ^--------------^ SC2046 (warning): Quote this to prevent word splitting. ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip_link_set_addr br1 $(mac_get "$swp1") In vxlan_reserved.sh line 69: ip_link_set_up $rp1 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip_link_set_up "$rp1" In vxlan_reserved.sh line 70: ip_addr_add $rp1 192.0.2.17/28 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip_addr_add "$rp1" 192.0.2.17/28 In vxlan_reserved.sh line 73: ip_link_set_master $swp1 br1 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip_link_set_master "$swp1" br1 In vxlan_reserved.sh line 74: ip_link_set_up $swp1 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip_link_set_up "$swp1" In vxlan_reserved.sh line 79: simple_if_init $rp2 192.0.2.18/28 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: simple_if_init "$rp2" 192.0.2.18/28 In vxlan_reserved.sh line 80: defer simple_if_fini $rp2 192.0.2.18/28 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: defer simple_if_fini "$rp2" 192.0.2.18/28 In vxlan_reserved.sh line 117: for i in ${extra_bits[@]}; do ^--------------^ SC2068 (error): Double quote array expansions to avoid re-splitting elements. In vxlan_reserved.sh line 124: bits[$((i + 32))]=$(((vni & mask) != 0)) ^---------^ SC2321 (style): Array indices are already arithmetic contexts. Prefer removing the $(( and )). Did you mean: bits[i + 32]=$(((vni & mask) != 0)) In vxlan_reserved.sh line 136: bytes+=$(printf %02x $byte): ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: bytes+=$(printf %02x "$byte"): In vxlan_reserved.sh line 139: echo ${bytes%:} ^--------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: echo "${bytes%:}" In vxlan_reserved.sh line 155: echo $out ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: echo "$out" In vxlan_reserved.sh line 168: local vxlan_header=$(vxlan_header_bytes $vni $reserved_bits) ^----------^ SC2155 (warning): Declare and assign separately to avoid masking return values. ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. ^------------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: local vxlan_header=$(vxlan_header_bytes "$vni" "$reserved_bits") In vxlan_reserved.sh line 170: $MZ $dev -c $count -d 100msec -q \ ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. ^----^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: $MZ "$dev" -c "$count" -d 100msec -q \ In vxlan_reserved.sh line 171: -b $next_hop_mac -B $dest_ip \ ^-----------^ SC2086 (info): Double quote to prevent globbing and word splitting. ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: -b "$next_hop_mac" -B "$dest_ip" \ In vxlan_reserved.sh line 172: -t udp sp=23456,dp=$VXPORT,p=$(: ^-----^ SC2086 (info): Double quote to prevent globbing and word splitting. ^-- SC2046 (warning): Quote this to prevent word splitting. Did you mean: -t udp sp=23456,dp="$VXPORT",p=$(: In vxlan_reserved.sh line 173: )"$vxlan_header:"$( : VXLAN ^-- SC2027 (warning): The surrounding quotes actually unquote this. Remove or escape them. ^-- SC2046 (warning): Quote this to prevent word splitting. In vxlan_reserved.sh line 174: )"$dest_mac:"$( : ETH daddr ^-- SC2027 (warning): The surrounding quotes actually unquote this. Remove or escape them. ^-- SC2046 (warning): Quote this to prevent word splitting. In vxlan_reserved.sh line 175: )"00:11:22:33:44:55:"$( : ETH saddr ^-- SC2027 (warning): The surrounding quotes actually unquote this. Remove or escape them. ^-- SC2046 (warning): Quote this to prevent word splitting. In vxlan_reserved.sh line 176: )"08:00:"$( : ETH type ^-- SC2027 (warning): The surrounding quotes actually unquote this. Remove or escape them. ^-- SC2046 (warning): Quote this to prevent word splitting. In vxlan_reserved.sh line 177: )"45:"$( : IP version + IHL ^-- SC2027 (warning): The surrounding quotes actually unquote this. Remove or escape them. ^-- SC2046 (warning): Quote this to prevent word splitting. In vxlan_reserved.sh line 178: )"00:"$( : IP TOS ^-- SC2027 (warning): The surrounding quotes actually unquote this. Remove or escape them. ^-- SC2046 (warning): Quote this to prevent word splitting. In vxlan_reserved.sh line 179: )"00:54:"$( : IP total length ^-- SC2027 (warning): The surrounding quotes actually unquote this. Remove or escape them. ^-- SC2046 (warning): Quote this to prevent word splitting. In vxlan_reserved.sh line 180: )"99:83:"$( : IP identification ^-- SC2027 (warning): The surrounding quotes actually unquote this. Remove or escape them. ^-- SC2046 (warning): Quote this to prevent word splitting. In vxlan_reserved.sh line 181: )"40:00:"$( : IP flags + frag off ^-- SC2027 (warning): The surrounding quotes actually unquote this. Remove or escape them. ^-- SC2046 (warning): Quote this to prevent word splitting. In vxlan_reserved.sh line 182: )"40:"$( : IP TTL ^-- SC2027 (warning): The surrounding quotes actually unquote this. Remove or escape them. ^-- SC2046 (warning): Quote this to prevent word splitting. In vxlan_reserved.sh line 183: )"01:"$( : IP proto ^-- SC2027 (warning): The surrounding quotes actually unquote this. Remove or escape them. ^-- SC2046 (warning): Quote this to prevent word splitting. In vxlan_reserved.sh line 184: )"00:00:"$( : IP header csum ^-- SC2027 (warning): The surrounding quotes actually unquote this. Remove or escape them. ^-- SC2046 (warning): Quote this to prevent word splitting. In vxlan_reserved.sh line 185: )"$(ipv4_to_bytes 192.0.2.3):"$( : IP saddr ^-- SC2027 (warning): The surrounding quotes actually unquote this. Remove or escape them. ^-- SC2046 (warning): Quote this to prevent word splitting. In vxlan_reserved.sh line 186: )"$(ipv4_to_bytes 192.0.2.1):"$( : IP daddr ^-- SC2027 (warning): The surrounding quotes actually unquote this. Remove or escape them. ^-- SC2046 (warning): Quote this to prevent word splitting. In vxlan_reserved.sh line 187: )"08:"$( : ICMP type ^-- SC2027 (warning): The surrounding quotes actually unquote this. Remove or escape them. ^-- SC2046 (warning): Quote this to prevent word splitting. In vxlan_reserved.sh line 188: )"00:"$( : ICMP code ^-- SC2027 (warning): The surrounding quotes actually unquote this. Remove or escape them. ^-- SC2046 (warning): Quote this to prevent word splitting. In vxlan_reserved.sh line 189: )"8b:f2:"$( : ICMP csum ^-- SC2027 (warning): The surrounding quotes actually unquote this. Remove or escape them. ^-- SC2046 (warning): Quote this to prevent word splitting. In vxlan_reserved.sh line 190: )"1f:6a:"$( : ICMP request identifier ^-- SC2027 (warning): The surrounding quotes actually unquote this. Remove or escape them. ^-- SC2046 (warning): Quote this to prevent word splitting. In vxlan_reserved.sh line 191: )"00:01:"$( : ICMP request seq. number ^-- SC2027 (warning): The surrounding quotes actually unquote this. Remove or escape them. ^-- SC2046 (warning): Quote this to prevent word splitting. In vxlan_reserved.sh line 192: )"4f:ff:c5:5b:00:00:00:00:"$( : ICMP payload ^-- SC2027 (warning): The surrounding quotes actually unquote this. Remove or escape them. ^-- SC2046 (warning): Quote this to prevent word splitting. In vxlan_reserved.sh line 193: )"6d:74:0b:00:00:00:00:00:"$( : ^-- SC2027 (warning): The surrounding quotes actually unquote this. Remove or escape them. ^-- SC2046 (warning): Quote this to prevent word splitting. In vxlan_reserved.sh line 194: )"10:11:12:13:14:15:16:17:"$( : ^-- SC2027 (warning): The surrounding quotes actually unquote this. Remove or escape them. ^-- SC2046 (warning): Quote this to prevent word splitting. In vxlan_reserved.sh line 195: )"18:19:1a:1b:1c:1d:1e:1f:"$( : ^-- SC2027 (warning): The surrounding quotes actually unquote this. Remove or escape them. ^-- SC2046 (warning): Quote this to prevent word splitting. In vxlan_reserved.sh line 196: )"20:21:22:23:24:25:26:27:"$( : ^-- SC2027 (warning): The surrounding quotes actually unquote this. Remove or escape them. ^-- SC2046 (warning): Quote this to prevent word splitting. In vxlan_reserved.sh line 197: )"28:29:2a:2b:2c:2d:2e:2f:"$( : ^-- SC2027 (warning): The surrounding quotes actually unquote this. Remove or escape them. ^-- SC2046 (warning): Quote this to prevent word splitting. In vxlan_reserved.sh line 217: echo $i ^-- SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: echo "$i" In vxlan_reserved.sh line 223: vxlan_ping_do 10 $rp2 $(mac_get $rp1) 192.0.2.17 $(mac_get $h1) 1000 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. ^-------------^ SC2046 (warning): Quote this to prevent word splitting. ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. ^------------^ SC2046 (warning): Quote this to prevent word splitting. ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: vxlan_ping_do 10 "$rp2" $(mac_get "$rp1") 192.0.2.17 $(mac_get "$h1") 1000 In vxlan_reserved.sh line 229: vxlan_ping_do 1 $rp2 $(mac_get $rp1) \ ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. ^-------------^ SC2046 (warning): Quote this to prevent word splitting. ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: vxlan_ping_do 1 "$rp2" $(mac_get "$rp1") \ In vxlan_reserved.sh line 230: 192.0.2.17 $(mac_get $h1) 1000 "$bit" ^------------^ SC2046 (warning): Quote this to prevent word splitting. ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: 192.0.2.17 $(mac_get "$h1") 1000 "$bit" In vxlan_reserved.sh line 243: local t0=$($get_stat) ^-- SC2155 (warning): Declare and assign separately to avoid masking return values. In vxlan_reserved.sh line 246: check_err $? "Failure when running $@" ^-- SC2145 (error): Argument mixes string and array. Use * or separate argument. In vxlan_reserved.sh line 248: local t1=$($get_stat) ^-- SC2155 (warning): Declare and assign separately to avoid masking return values. In vxlan_reserved.sh line 266: local t0=$(link_stats_get vx1 rx errors) ^-- SC2155 (warning): Declare and assign separately to avoid masking return values. In vxlan_reserved.sh line 269: $n_allowed_bits vxlan_ping_reserved ^-------------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: "$n_allowed_bits" vxlan_ping_reserved In vxlan_reserved.sh line 270: local t1=$(link_stats_get vx1 rx errors) ^-- SC2155 (warning): Declare and assign separately to avoid masking return values. In vxlan_reserved.sh line 308: local allowed_bytes=$(vxlan_header_bytes 0xffffff $bit) ^-----------^ 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 allowed_bytes=$(vxlan_header_bytes 0xffffff "$bit") In vxlan_reserved.sh line 309: local reserved_bytes=$(neg_bytes $allowed_bytes) ^------------^ 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 reserved_bytes=$(neg_bytes "$allowed_bytes") In vxlan_reserved.sh line 312: vxlan_device_add reserved_bits 0x$reserved_bits ^------------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: vxlan_device_add reserved_bits 0x"$reserved_bits" In vxlan_reserved.sh line 352: 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/SC2068 -- Double quote array expansions to ... https://www.shellcheck.net/wiki/SC2145 -- Argument mixes string and array. ... https://www.shellcheck.net/wiki/SC2027 -- The surrounding quotes actually u... ====== Checking the tree with the patch ====== Checking tools/testing/selftests/net/forwarding/bridge_igmp.sh - 7f05e1ecbd63c4b5170ddfd2a347d3b84f3d3bec9951bb591e877de73485755f In bridge_igmp.sh line 53: simple_if_init $h1 192.0.2.1/24 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/24 2001:db8:1::1/64 In bridge_igmp.sh line 58: simple_if_fini $h1 192.0.2.1/24 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/24 2001:db8:1::1/64 In bridge_igmp.sh line 63: simple_if_init $h2 192.0.2.2/24 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/24 2001:db8:1::2/64 In bridge_igmp.sh line 68: simple_if_fini $h2 192.0.2.2/24 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/24 2001:db8:1::2/64 In bridge_igmp.sh line 75: ip link set dev $swp1 master br0 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link set dev "$swp1" master br0 In bridge_igmp.sh line 76: ip link set dev $swp2 master br0 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link set dev "$swp2" master br0 In bridge_igmp.sh line 79: 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 bridge_igmp.sh line 80: 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 bridge_igmp.sh line 85: 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 bridge_igmp.sh line 86: 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 bridge_igmp.sh line 122: ip address add dev $h2 $TEST_GROUP/32 autojoin ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. ^---------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip address add dev "$h2" "$TEST_GROUP"/32 autojoin In bridge_igmp.sh line 126: bridge mdb show dev br0 | grep $TEST_GROUP 1>/dev/null ^---------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: bridge mdb show dev br0 | grep "$TEST_GROUP" 1>/dev/null In bridge_igmp.sh line 129: mcast_packet_test $TEST_GROUP_MAC 192.0.2.1 $TEST_GROUP $h1 $h2 ^-------------^ 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: mcast_packet_test "$TEST_GROUP_MAC" 192.0.2.1 "$TEST_GROUP" "$h1" "$h2" In bridge_igmp.sh line 135: bridge mdb show dev br0 | grep $TEST_GROUP 1>/dev/null ^---------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: bridge mdb show dev br0 | grep "$TEST_GROUP" 1>/dev/null In bridge_igmp.sh line 138: ip address del dev $h2 $TEST_GROUP/32 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. ^---------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip address del dev "$h2" "$TEST_GROUP"/32 In bridge_igmp.sh line 142: bridge mdb show dev br0 | grep $TEST_GROUP 1>/dev/null ^---------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: bridge mdb show dev br0 | grep "$TEST_GROUP" 1>/dev/null In bridge_igmp.sh line 145: mcast_packet_test $TEST_GROUP_MAC 192.0.2.1 $TEST_GROUP $h1 $h2 ^-------------^ 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: mcast_packet_test "$TEST_GROUP_MAC" 192.0.2.1 "$TEST_GROUP" "$h1" "$h2" In bridge_igmp.sh line 161: $MZ -b $mac -c 1 -B $group -t ip "proto=2,p=$MZPKT_IS_INC" -q $host1_if ^--^ 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 -b "$mac" -c 1 -B "$group" -t ip "proto=2,p=$MZPKT_IS_INC" -q "$host1_if" In bridge_igmp.sh line 180: local pkt=$4 ^-^ SC2034 (warning): pkt appears unused. Verify use (or export if used externally). In bridge_igmp.sh line 184: v3include_prepare $host1_if $mac $group ^-------^ 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: v3include_prepare "$host1_if" "$mac" "$group" In bridge_igmp.sh line 186: $MZ -c 1 -b $mac -B $group -t ip "proto=2,p=$MZPKT_IS_EXC" -q $host1_if ^--^ 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 -c 1 -b "$mac" -B "$group" -t ip "proto=2,p=$MZPKT_IS_EXC" -q "$host1_if" In bridge_igmp.sh line 212: bridge mdb del dev br0 port $port grp $group ^---^ 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 br0 port "$port" grp "$group" In bridge_igmp.sh line 221: v3include_prepare $h1 $ALL_MAC $ALL_GROUP ^-^ 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: v3include_prepare "$h1" "$ALL_MAC" "$ALL_GROUP" In bridge_igmp.sh line 230: v3cleanup $swp1 $TEST_GROUP ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. ^---------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: v3cleanup "$swp1" "$TEST_GROUP" In bridge_igmp.sh line 238: v3include_prepare $h1 $ALL_MAC $ALL_GROUP ^-^ 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: v3include_prepare "$h1" "$ALL_MAC" "$ALL_GROUP" In bridge_igmp.sh line 240: $MZ -c 1 -b $ALL_MAC -B $ALL_GROUP -t ip "proto=2,p=$MZPKT_ALLOW" -q $h1 ^------^ 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 -c 1 -b "$ALL_MAC" -B "$ALL_GROUP" -t ip "proto=2,p=$MZPKT_ALLOW" -q "$h1" In bridge_igmp.sh line 251: v3cleanup $swp1 $TEST_GROUP ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. ^---------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: v3cleanup "$swp1" "$TEST_GROUP" In bridge_igmp.sh line 259: v3include_prepare $h1 $ALL_MAC $ALL_GROUP ^-^ 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: v3include_prepare "$h1" "$ALL_MAC" "$ALL_GROUP" In bridge_igmp.sh line 261: $MZ -c 1 -b $ALL_MAC -B $ALL_GROUP -t ip "proto=2,p=$MZPKT_IS_INC2" -q $h1 ^------^ 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 -c 1 -b "$ALL_MAC" -B "$ALL_GROUP" -t ip "proto=2,p=$MZPKT_IS_INC2" -q "$h1" In bridge_igmp.sh line 272: v3cleanup $swp1 $TEST_GROUP ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. ^---------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: v3cleanup "$swp1" "$TEST_GROUP" In bridge_igmp.sh line 279: v3exclude_prepare $h1 $ALL_MAC $ALL_GROUP ^-^ 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: v3exclude_prepare "$h1" "$ALL_MAC" "$ALL_GROUP" In bridge_igmp.sh line 286: v3cleanup $swp1 $TEST_GROUP ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. ^---------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: v3cleanup "$swp1" "$TEST_GROUP" In bridge_igmp.sh line 295: v3include_prepare $h1 $ALL_MAC $ALL_GROUP ^-^ 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: v3include_prepare "$h1" "$ALL_MAC" "$ALL_GROUP" In bridge_igmp.sh line 300: $MZ -c 1 -b $ALL_MAC -B $ALL_GROUP -t ip "proto=2,p=$MZPKT_TO_EXC" -q $h1 ^------^ 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 -c 1 -b "$ALL_MAC" -B "$ALL_GROUP" -t ip "proto=2,p=$MZPKT_TO_EXC" -q "$h1" In bridge_igmp.sh line 333: v3cleanup $swp1 $TEST_GROUP ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. ^---------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: v3cleanup "$swp1" "$TEST_GROUP" In bridge_igmp.sh line 342: v3exclude_prepare $h1 $ALL_MAC $ALL_GROUP ^-^ 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: v3exclude_prepare "$h1" "$ALL_MAC" "$ALL_GROUP" In bridge_igmp.sh line 344: $MZ -c 1 -b $ALL_MAC -B $ALL_GROUP -t ip "proto=2,p=$MZPKT_ALLOW2" -q $h1 ^------^ 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 -c 1 -b "$ALL_MAC" -B "$ALL_GROUP" -t ip "proto=2,p=$MZPKT_ALLOW2" -q "$h1" In bridge_igmp.sh line 356: v3cleanup $swp1 $TEST_GROUP ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. ^---------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: v3cleanup "$swp1" "$TEST_GROUP" In bridge_igmp.sh line 365: v3exclude_prepare $h1 $ALL_MAC $ALL_GROUP ^-^ 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: v3exclude_prepare "$h1" "$ALL_MAC" "$ALL_GROUP" In bridge_igmp.sh line 367: $MZ -c 1 -b $ALL_MAC -B $ALL_GROUP -t ip "proto=2,p=$MZPKT_IS_INC3" -q $h1 ^------^ 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 -c 1 -b "$ALL_MAC" -B "$ALL_GROUP" -t ip "proto=2,p=$MZPKT_IS_INC3" -q "$h1" In bridge_igmp.sh line 379: v3cleanup $swp1 $TEST_GROUP ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. ^---------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: v3cleanup "$swp1" "$TEST_GROUP" In bridge_igmp.sh line 388: v3exclude_prepare $h1 $ALL_MAC $ALL_GROUP ^-^ 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: v3exclude_prepare "$h1" "$ALL_MAC" "$ALL_GROUP" In bridge_igmp.sh line 390: $MZ -c 1 -b $ALL_MAC -B $ALL_GROUP -t ip "proto=2,p=$MZPKT_IS_EXC2" -q $h1 ^------^ 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 -c 1 -b "$ALL_MAC" -B "$ALL_GROUP" -t ip "proto=2,p=$MZPKT_IS_EXC2" -q "$h1" In bridge_igmp.sh line 402: v3cleanup $swp1 $TEST_GROUP ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. ^---------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: v3cleanup "$swp1" "$TEST_GROUP" In bridge_igmp.sh line 411: v3exclude_prepare $h1 $ALL_MAC $ALL_GROUP ^-^ 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: v3exclude_prepare "$h1" "$ALL_MAC" "$ALL_GROUP" In bridge_igmp.sh line 416: $MZ -c 1 -b $ALL_MAC -B $ALL_GROUP -t ip "proto=2,p=$MZPKT_TO_EXC" -q $h1 ^------^ 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 -c 1 -b "$ALL_MAC" -B "$ALL_GROUP" -t ip "proto=2,p=$MZPKT_TO_EXC" -q "$h1" In bridge_igmp.sh line 430: v3cleanup $swp1 $TEST_GROUP ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. ^---------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: v3cleanup "$swp1" "$TEST_GROUP" In bridge_igmp.sh line 438: v3include_prepare $h1 $ALL_MAC $ALL_GROUP ^-^ 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: v3include_prepare "$h1" "$ALL_MAC" "$ALL_GROUP" In bridge_igmp.sh line 440: $MZ -c 1 -b $ALL_MAC -B $ALL_GROUP -t ip "proto=2,p=$MZPKT_BLOCK" -q $h1 ^------^ 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 -c 1 -b "$ALL_MAC" -B "$ALL_GROUP" -t ip "proto=2,p=$MZPKT_BLOCK" -q "$h1" In bridge_igmp.sh line 459: v3cleanup $swp1 $TEST_GROUP ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. ^---------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: v3cleanup "$swp1" "$TEST_GROUP" In bridge_igmp.sh line 468: v3exclude_prepare $h1 $ALL_MAC $ALL_GROUP ^-^ 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: v3exclude_prepare "$h1" "$ALL_MAC" "$ALL_GROUP" In bridge_igmp.sh line 473: $MZ -c 1 -b $ALL_MAC -B $ALL_GROUP -t ip "proto=2,p=$MZPKT_BLOCK" -q $h1 ^------^ 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 -c 1 -b "$ALL_MAC" -B "$ALL_GROUP" -t ip "proto=2,p=$MZPKT_BLOCK" -q "$h1" In bridge_igmp.sh line 487: v3cleanup $swp1 $TEST_GROUP ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. ^---------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: v3cleanup "$swp1" "$TEST_GROUP" In bridge_igmp.sh line 500: v3exclude_prepare $h1 $ALL_MAC $ALL_GROUP ^-^ 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: v3exclude_prepare "$h1" "$ALL_MAC" "$ALL_GROUP" In bridge_igmp.sh line 505: $MZ -c 1 -b $ALL_MAC -B $ALL_GROUP -t ip "proto=2,p=$MZPKT_ALLOW2" -q $h1 ^------^ 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 -c 1 -b "$ALL_MAC" -B "$ALL_GROUP" -t ip "proto=2,p=$MZPKT_ALLOW2" -q "$h1" In bridge_igmp.sh line 539: v3cleanup $swp1 $TEST_GROUP ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. ^---------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: v3cleanup "$swp1" "$TEST_GROUP" In bridge_igmp.sh line 546: v3exclude_prepare $h1 $ALL_MAC $ALL_GROUP ^-^ 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: v3exclude_prepare "$h1" "$ALL_MAC" "$ALL_GROUP" In bridge_igmp.sh line 548: $MZ -c 1 -b $ALL_MAC -B $ALL_GROUP -t ip "proto=2,p=$MZPKT_IS_INC" -q $h2 ^------^ 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 -c 1 -b "$ALL_MAC" -B "$ALL_GROUP" -t ip "proto=2,p=$MZPKT_IS_INC" -q "$h2" In bridge_igmp.sh line 567: v3cleanup $swp1 $TEST_GROUP ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. ^---------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: v3cleanup "$swp1" "$TEST_GROUP" In bridge_igmp.sh line 568: v3cleanup $swp2 $TEST_GROUP ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. ^---------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: v3cleanup "$swp2" "$TEST_GROUP" In bridge_igmp.sh line 589: [[ $is_port -eq 1 ]] && bridge link set dev $swp1 state 0 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: [[ $is_port -eq 1 ]] && bridge link set dev "$swp1" state 0 In bridge_igmp.sh line 590: [[ $is_port -ne 1 ]] && bridge vlan set vid 1 dev $swp1 state 4 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: [[ $is_port -ne 1 ]] && bridge vlan set vid 1 dev "$swp1" state 4 In bridge_igmp.sh line 592: local tx_s=$(ip -j -p stats show dev $swp1 \ ^--^ 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 tx_s=$(ip -j -p stats show dev "$swp1" \ In bridge_igmp.sh line 596: [[ $is_port -eq 1 ]] && bridge link set dev $swp1 state 3 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: [[ $is_port -eq 1 ]] && bridge link set dev "$swp1" state 3 In bridge_igmp.sh line 597: [[ $is_port -ne 1 ]] && bridge vlan set vid 1 dev $swp1 state 3 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: [[ $is_port -ne 1 ]] && bridge vlan set vid 1 dev "$swp1" state 3 In bridge_igmp.sh line 599: local tx_e=$(ip -j -p stats show dev $swp1 \ ^--^ 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 tx_e=$(ip -j -p stats show dev "$swp1" \ In bridge_igmp.sh line 604: local tx=$(expr $tx_e - $tx_s) ^-- SC2155 (warning): Declare and assign separately to avoid masking return values. ^--^ SC2003 (style): expr is antiquated. Consider rewriting this using $((..)), ${} or [[ ]]. ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: local tx=$(expr "$tx_e" - "$tx_s") In bridge_igmp.sh line 605: test $tx -gt 0 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: test "$tx" -gt 0 In bridge_igmp.sh line 636: 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/SC2034 -- pkt appears unused. Verify use (o... https://www.shellcheck.net/wiki/SC2155 -- Declare and assign separately to ... https://www.shellcheck.net/wiki/SC2086 -- Double quote to prevent globbing ... Checking tools/testing/selftests/net/forwarding/bridge_locked_port.sh - 3e78946c07d764d0a926d5e0d4f7ba771b5bf1b6e1950e416e3e722889ba4bb9 In bridge_locked_port.sh line 21: simple_if_init $h1 192.0.2.1/24 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/24 2001:db8:1::1/64 In bridge_locked_port.sh line 22: vlan_create $h1 100 v$h1 198.51.100.1/24 ^-^ 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 "$h1" 100 v"$h1" 198.51.100.1/24 In bridge_locked_port.sh line 27: vlan_destroy $h1 100 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: vlan_destroy "$h1" 100 In bridge_locked_port.sh line 28: simple_if_fini $h1 192.0.2.1/24 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/24 2001:db8:1::1/64 In bridge_locked_port.sh line 33: simple_if_init $h2 192.0.2.2/24 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/24 2001:db8:1::2/64 In bridge_locked_port.sh line 34: vlan_create $h2 100 v$h2 198.51.100.2/24 ^-^ 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 "$h2" 100 v"$h2" 198.51.100.2/24 In bridge_locked_port.sh line 39: vlan_destroy $h2 100 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: vlan_destroy "$h2" 100 In bridge_locked_port.sh line 40: simple_if_fini $h2 192.0.2.2/24 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/24 2001:db8:1::2/64 In bridge_locked_port.sh line 47: ip link set dev $swp1 master br0 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link set dev "$swp1" master br0 In bridge_locked_port.sh line 48: ip link set dev $swp2 master br0 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link set dev "$swp2" master br0 In bridge_locked_port.sh line 50: bridge link set dev $swp1 learning off ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: bridge link set dev "$swp1" learning off In bridge_locked_port.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 bridge_locked_port.sh line 54: 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 bridge_locked_port.sh line 59: 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 bridge_locked_port.sh line 60: 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 bridge_locked_port.sh line 99: ping_do $h1 192.0.2.2 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ping_do "$h1" 192.0.2.2 In bridge_locked_port.sh line 102: bridge link set dev $swp1 locked on ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: bridge link set dev "$swp1" locked on In bridge_locked_port.sh line 104: ping_do $h1 192.0.2.2 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ping_do "$h1" 192.0.2.2 In bridge_locked_port.sh line 107: bridge fdb add `mac_get $h1` dev $swp1 master static ^-----------^ SC2046 (warning): Quote this to prevent word splitting. ^-----------^ SC2006 (style): Use $(...) notation instead of legacy backticks `...`. ^-^ 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 add $(mac_get "$h1") dev "$swp1" master static In bridge_locked_port.sh line 109: ping_do $h1 192.0.2.2 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ping_do "$h1" 192.0.2.2 In bridge_locked_port.sh line 112: bridge link set dev $swp1 locked off ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: bridge link set dev "$swp1" locked off In bridge_locked_port.sh line 113: bridge fdb del `mac_get $h1` dev $swp1 master static ^-----------^ SC2046 (warning): Quote this to prevent word splitting. ^-----------^ SC2006 (style): Use $(...) notation instead of legacy backticks `...`. ^-^ 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 $(mac_get "$h1") dev "$swp1" master static In bridge_locked_port.sh line 115: ping_do $h1 192.0.2.2 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ping_do "$h1" 192.0.2.2 In bridge_locked_port.sh line 127: bridge vlan add vid 100 dev $swp1 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: bridge vlan add vid 100 dev "$swp1" In bridge_locked_port.sh line 128: bridge vlan add vid 100 dev $swp2 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: bridge vlan add vid 100 dev "$swp2" In bridge_locked_port.sh line 130: ping_do $h1.100 198.51.100.2 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ping_do "$h1".100 198.51.100.2 In bridge_locked_port.sh line 133: bridge link set dev $swp1 locked on ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: bridge link set dev "$swp1" locked on In bridge_locked_port.sh line 134: ping_do $h1.100 198.51.100.2 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ping_do "$h1".100 198.51.100.2 In bridge_locked_port.sh line 137: bridge fdb add `mac_get $h1` dev $swp1 vlan 100 master static ^-----------^ SC2046 (warning): Quote this to prevent word splitting. ^-----------^ SC2006 (style): Use $(...) notation instead of legacy backticks `...`. ^-^ 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 add $(mac_get "$h1") dev "$swp1" vlan 100 master static In bridge_locked_port.sh line 139: ping_do $h1.100 198.51.100.2 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ping_do "$h1".100 198.51.100.2 In bridge_locked_port.sh line 142: bridge link set dev $swp1 locked off ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: bridge link set dev "$swp1" locked off In bridge_locked_port.sh line 143: bridge fdb del `mac_get $h1` dev $swp1 vlan 100 master static ^-----------^ SC2046 (warning): Quote this to prevent word splitting. ^-----------^ SC2006 (style): Use $(...) notation instead of legacy backticks `...`. ^-^ 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 $(mac_get "$h1") dev "$swp1" vlan 100 master static In bridge_locked_port.sh line 145: ping_do $h1.100 198.51.100.2 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ping_do "$h1".100 198.51.100.2 In bridge_locked_port.sh line 148: bridge vlan del vid 100 dev $swp1 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: bridge vlan del vid 100 dev "$swp1" In bridge_locked_port.sh line 149: bridge vlan del vid 100 dev $swp2 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: bridge vlan del vid 100 dev "$swp2" In bridge_locked_port.sh line 158: ping6_do $h1 2001:db8:1::2 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ping6_do "$h1" 2001:db8:1::2 In bridge_locked_port.sh line 161: bridge link set dev $swp1 locked on ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: bridge link set dev "$swp1" locked on In bridge_locked_port.sh line 163: ping6_do $h1 2001:db8:1::2 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ping6_do "$h1" 2001:db8:1::2 In bridge_locked_port.sh line 166: bridge fdb add `mac_get $h1` dev $swp1 master static ^-----------^ SC2046 (warning): Quote this to prevent word splitting. ^-----------^ SC2006 (style): Use $(...) notation instead of legacy backticks `...`. ^-^ 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 add $(mac_get "$h1") dev "$swp1" master static In bridge_locked_port.sh line 167: ping6_do $h1 2001:db8:1::2 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ping6_do "$h1" 2001:db8:1::2 In bridge_locked_port.sh line 170: bridge link set dev $swp1 locked off ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: bridge link set dev "$swp1" locked off In bridge_locked_port.sh line 171: bridge fdb del `mac_get $h1` dev $swp1 master static ^-----------^ SC2046 (warning): Quote this to prevent word splitting. ^-----------^ SC2006 (style): Use $(...) notation instead of legacy backticks `...`. ^-^ 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 $(mac_get "$h1") dev "$swp1" master static In bridge_locked_port.sh line 173: ping6_do $h1 2001:db8:1::2 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ping6_do "$h1" 2001:db8:1::2 In bridge_locked_port.sh line 184: ping_do $h1 192.0.2.2 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ping_do "$h1" 192.0.2.2 In bridge_locked_port.sh line 187: bridge link set dev $swp1 learning on locked on ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: bridge link set dev "$swp1" learning on locked on In bridge_locked_port.sh line 189: ping_do $h1 192.0.2.2 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ping_do "$h1" 192.0.2.2 In bridge_locked_port.sh line 192: bridge fdb get `mac_get $h1` br br0 vlan 1 &> /dev/null ^-----------^ SC2046 (warning): Quote this to prevent word splitting. ^-----------^ SC2006 (style): Use $(...) notation instead of legacy backticks `...`. ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: bridge fdb get $(mac_get "$h1") br br0 vlan 1 &> /dev/null In bridge_locked_port.sh line 195: bridge link set dev $swp1 learning on locked on mab on ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: bridge link set dev "$swp1" learning on locked on mab on In bridge_locked_port.sh line 197: ping_do $h1 192.0.2.2 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ping_do "$h1" 192.0.2.2 In bridge_locked_port.sh line 200: bridge fdb get `mac_get $h1` br br0 vlan 1 | grep "dev $swp1" | grep -q "locked" ^-----------^ SC2046 (warning): Quote this to prevent word splitting. ^-----------^ SC2006 (style): Use $(...) notation instead of legacy backticks `...`. ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: bridge fdb get $(mac_get "$h1") br br0 vlan 1 | grep "dev $swp1" | grep -q "locked" In bridge_locked_port.sh line 203: bridge fdb replace `mac_get $h1` dev $swp1 master static ^-----------^ SC2046 (warning): Quote this to prevent word splitting. ^-----------^ SC2006 (style): Use $(...) notation instead of legacy backticks `...`. ^-^ 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 $(mac_get "$h1") dev "$swp1" master static In bridge_locked_port.sh line 205: ping_do $h1 192.0.2.2 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ping_do "$h1" 192.0.2.2 In bridge_locked_port.sh line 208: bridge fdb get `mac_get $h1` br br0 vlan 1 | grep "dev $swp1" | grep -q "locked" ^-----------^ SC2046 (warning): Quote this to prevent word splitting. ^-----------^ SC2006 (style): Use $(...) notation instead of legacy backticks `...`. ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: bridge fdb get $(mac_get "$h1") br br0 vlan 1 | grep "dev $swp1" | grep -q "locked" In bridge_locked_port.sh line 211: bridge fdb del `mac_get $h1` dev $swp1 master ^-----------^ SC2046 (warning): Quote this to prevent word splitting. ^-----------^ SC2006 (style): Use $(...) notation instead of legacy backticks `...`. ^-^ 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 $(mac_get "$h1") dev "$swp1" master In bridge_locked_port.sh line 212: bridge link set dev $swp1 learning off locked off mab off ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: bridge link set dev "$swp1" learning off locked off mab off In bridge_locked_port.sh line 226: bridge link set dev $swp1 learning on locked on mab on ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: bridge link set dev "$swp1" learning on locked on mab on In bridge_locked_port.sh line 228: $MZ -q -c 5 -d 100msec -t udp -a $mac -b rand $h1 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: $MZ -q -c 5 -d 100msec -t udp -a "$mac" -b rand "$h1" In bridge_locked_port.sh line 229: bridge fdb get $mac br br0 vlan 1 | grep "dev $swp1" | grep -q "locked" ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: bridge fdb get "$mac" br br0 vlan 1 | grep "dev $swp1" | grep -q "locked" In bridge_locked_port.sh line 232: $MZ -q -c 5 -d 100msec -t udp -a $mac -b rand $h2 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: $MZ -q -c 5 -d 100msec -t udp -a "$mac" -b rand "$h2" In bridge_locked_port.sh line 233: bridge fdb get $mac br br0 vlan 1 | grep -q "dev $swp2" ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: bridge fdb get "$mac" br br0 vlan 1 | grep -q "dev $swp2" In bridge_locked_port.sh line 236: bridge fdb get $mac br br0 vlan 1 | grep -q "locked" ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: bridge fdb get "$mac" br br0 vlan 1 | grep -q "locked" In bridge_locked_port.sh line 239: $MZ -q -c 5 -d 100msec -t udp -a $mac -b rand $h1 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: $MZ -q -c 5 -d 100msec -t udp -a "$mac" -b rand "$h1" In bridge_locked_port.sh line 240: bridge fdb get $mac br br0 vlan 1 | grep -q "dev $swp1" ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: bridge fdb get "$mac" br br0 vlan 1 | grep -q "dev $swp1" In bridge_locked_port.sh line 243: bridge fdb del $mac vlan 1 dev $swp2 master ^--^ 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 "$mac" vlan 1 dev "$swp2" master In bridge_locked_port.sh line 244: bridge link set dev $swp1 learning off locked off mab off ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: bridge link set dev "$swp1" learning off locked off mab off In bridge_locked_port.sh line 256: bridge link set dev $swp1 learning on locked off mab on &> /dev/null ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: bridge link set dev "$swp1" learning on locked off mab on &> /dev/null In bridge_locked_port.sh line 259: bridge link set dev $swp1 learning off locked on mab on &> /dev/null ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: bridge link set dev "$swp1" learning off locked on mab on &> /dev/null In bridge_locked_port.sh line 262: bridge link set dev $swp1 learning on locked on mab on ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: bridge link set dev "$swp1" learning on locked on mab on In bridge_locked_port.sh line 265: bridge link set dev $swp1 learning off locked off mab off ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: bridge link set dev "$swp1" learning off locked off mab off In bridge_locked_port.sh line 281: bridge link set dev $swp1 learning on locked on mab on ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: bridge link set dev "$swp1" learning on locked on mab on In bridge_locked_port.sh line 282: bridge link set dev $swp2 learning on locked on mab on ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: bridge link set dev "$swp2" learning on locked on mab on In bridge_locked_port.sh line 285: bridge fdb add $unlocked_mac1 dev $swp1 vlan 1 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 add "$unlocked_mac1" dev "$swp1" vlan 1 master static In bridge_locked_port.sh line 286: bridge fdb add $unlocked_mac2 dev $swp2 vlan 1 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 add "$unlocked_mac2" dev "$swp2" vlan 1 master static In bridge_locked_port.sh line 288: $MZ -q -c 5 -d 100msec -t udp -a $locked_mac1 -b rand $h1 ^----------^ SC2086 (info): Double quote to prevent globbing and word splitting. ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: $MZ -q -c 5 -d 100msec -t udp -a "$locked_mac1" -b rand "$h1" In bridge_locked_port.sh line 289: bridge fdb get $locked_mac1 br br0 vlan 1 | grep "dev $swp1" | \ ^----------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: bridge fdb get "$locked_mac1" br br0 vlan 1 | grep "dev $swp1" | \ In bridge_locked_port.sh line 293: $MZ -q -c 5 -d 100msec -t udp -a $locked_mac2 -b rand $h2 ^----------^ SC2086 (info): Double quote to prevent globbing and word splitting. ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: $MZ -q -c 5 -d 100msec -t udp -a "$locked_mac2" -b rand "$h2" In bridge_locked_port.sh line 294: bridge fdb get $locked_mac2 br br0 vlan 1 | grep "dev $swp2" | \ ^----------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: bridge fdb get "$locked_mac2" br br0 vlan 1 | grep "dev $swp2" | \ In bridge_locked_port.sh line 300: bridge link set dev $swp1 mab off ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: bridge link set dev "$swp1" mab off In bridge_locked_port.sh line 302: bridge fdb get $unlocked_mac1 br br0 vlan 1 &> /dev/null ^------------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: bridge fdb get "$unlocked_mac1" br br0 vlan 1 &> /dev/null In bridge_locked_port.sh line 305: bridge fdb get $unlocked_mac2 br br0 vlan 1 &> /dev/null ^------------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: bridge fdb get "$unlocked_mac2" br br0 vlan 1 &> /dev/null In bridge_locked_port.sh line 308: bridge fdb get $locked_mac1 br br0 vlan 1 &> /dev/null ^----------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: bridge fdb get "$locked_mac1" br br0 vlan 1 &> /dev/null In bridge_locked_port.sh line 311: bridge fdb get $locked_mac2 br br0 vlan 1 &> /dev/null ^----------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: bridge fdb get "$locked_mac2" br br0 vlan 1 &> /dev/null In bridge_locked_port.sh line 314: bridge fdb del $unlocked_mac2 dev $swp2 vlan 1 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 "$unlocked_mac2" dev "$swp2" vlan 1 master static In bridge_locked_port.sh line 315: bridge fdb del $unlocked_mac1 dev $swp1 vlan 1 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 "$unlocked_mac1" dev "$swp1" vlan 1 master static In bridge_locked_port.sh line 317: bridge link set dev $swp2 learning on locked off mab off ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: bridge link set dev "$swp2" learning on locked off mab off In bridge_locked_port.sh line 318: bridge link set dev $swp1 learning off locked off mab off ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: bridge link set dev "$swp1" learning off locked off mab off In bridge_locked_port.sh line 330: tc qdisc add dev $swp1 clsact ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc qdisc add dev "$swp1" clsact In bridge_locked_port.sh line 331: tc filter add dev $swp1 ingress protocol all pref 1 handle 101 flower \ ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter add dev "$swp1" ingress protocol all pref 1 handle 101 flower \ In bridge_locked_port.sh line 332: action mirred egress redirect dev $swp2 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: action mirred egress redirect dev "$swp2" In bridge_locked_port.sh line 333: bridge link set dev $swp1 learning on locked on mab on ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: bridge link set dev "$swp1" learning on locked on mab on In bridge_locked_port.sh line 335: ping_do $h1 192.0.2.2 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ping_do "$h1" 192.0.2.2 In bridge_locked_port.sh line 338: bridge fdb get `mac_get $h1` br br0 vlan 1 2> /dev/null | \ ^-----------^ SC2046 (warning): Quote this to prevent word splitting. ^-----------^ SC2006 (style): Use $(...) notation instead of legacy backticks `...`. ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: bridge fdb get $(mac_get "$h1") br br0 vlan 1 2> /dev/null | \ In bridge_locked_port.sh line 342: tc filter del dev $swp1 ingress protocol all pref 1 handle 101 flower ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter del dev "$swp1" ingress protocol all pref 1 handle 101 flower In bridge_locked_port.sh line 344: ping_do $h1 192.0.2.2 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ping_do "$h1" 192.0.2.2 In bridge_locked_port.sh line 347: bridge fdb get `mac_get $h1` br br0 vlan 1 2> /dev/null | \ ^-----------^ SC2046 (warning): Quote this to prevent word splitting. ^-----------^ SC2006 (style): Use $(...) notation instead of legacy backticks `...`. ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: bridge fdb get $(mac_get "$h1") br br0 vlan 1 2> /dev/null | \ In bridge_locked_port.sh line 351: bridge fdb del `mac_get $h1` vlan 1 dev $swp1 master ^-----------^ SC2046 (warning): Quote this to prevent word splitting. ^-----------^ SC2006 (style): Use $(...) notation instead of legacy backticks `...`. ^-^ 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 $(mac_get "$h1") vlan 1 dev "$swp1" master In bridge_locked_port.sh line 352: bridge link set dev $swp1 learning off locked off mab off ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: bridge link set dev "$swp1" learning off locked off mab off In bridge_locked_port.sh line 353: tc qdisc del dev $swp1 clsact ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc qdisc del dev "$swp1" clsact In bridge_locked_port.sh line 365: 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/SC2046 -- Quote this to prevent word splitt... https://www.shellcheck.net/wiki/SC2086 -- Double quote to prevent globbing ... https://www.shellcheck.net/wiki/SC2006 -- Use $(...) notation instead of le... Checking tools/testing/selftests/net/forwarding/bridge_mdb.sh - 80187de15f22932021faa9e2faf46f77bb3721772de2eef7a7100a82babbb973 In bridge_mdb.sh line 39: simple_if_init $h1 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: simple_if_init "$h1" In bridge_mdb.sh line 40: vlan_create $h1 10 v$h1 192.0.2.1/28 2001:db8:1::1/64 ^-^ 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 "$h1" 10 v"$h1" 192.0.2.1/28 2001:db8:1::1/64 In bridge_mdb.sh line 41: vlan_create $h1 20 v$h1 198.51.100.1/24 2001:db8:2::1/64 ^-^ 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 "$h1" 20 v"$h1" 198.51.100.1/24 2001:db8:2::1/64 In bridge_mdb.sh line 46: vlan_destroy $h1 20 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: vlan_destroy "$h1" 20 In bridge_mdb.sh line 47: vlan_destroy $h1 10 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: vlan_destroy "$h1" 10 In bridge_mdb.sh line 48: simple_if_fini $h1 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: simple_if_fini "$h1" In bridge_mdb.sh line 53: simple_if_init $h2 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: simple_if_init "$h2" In bridge_mdb.sh line 54: vlan_create $h2 10 v$h2 192.0.2.2/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 "$h2" 10 v"$h2" 192.0.2.2/28 In bridge_mdb.sh line 55: vlan_create $h2 20 v$h2 198.51.100.2/24 ^-^ 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 "$h2" 20 v"$h2" 198.51.100.2/24 In bridge_mdb.sh line 60: vlan_destroy $h2 20 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: vlan_destroy "$h2" 20 In bridge_mdb.sh line 61: vlan_destroy $h2 10 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: vlan_destroy "$h2" 10 In bridge_mdb.sh line 62: simple_if_fini $h2 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: simple_if_fini "$h2" In bridge_mdb.sh line 73: ip link set dev $swp1 master br0 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link set dev "$swp1" master br0 In bridge_mdb.sh line 74: 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 bridge_mdb.sh line 75: bridge vlan add vid 10 dev $swp1 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: bridge vlan add vid 10 dev "$swp1" In bridge_mdb.sh line 76: bridge vlan add vid 20 dev $swp1 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: bridge vlan add vid 20 dev "$swp1" In bridge_mdb.sh line 78: ip link set dev $swp2 master br0 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link set dev "$swp2" master br0 In bridge_mdb.sh line 79: 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 bridge_mdb.sh line 80: bridge vlan add vid 10 dev $swp2 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: bridge vlan add vid 10 dev "$swp2" In bridge_mdb.sh line 81: bridge vlan add vid 20 dev $swp2 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: bridge vlan add vid 20 dev "$swp2" In bridge_mdb.sh line 84: tc qdisc add dev $h2 clsact ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc qdisc add dev "$h2" clsact In bridge_mdb.sh line 89: tc qdisc del dev $h2 clsact ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc qdisc del dev "$h2" clsact In bridge_mdb.sh line 92: bridge vlan del vid 20 dev $swp2 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: bridge vlan del vid 20 dev "$swp2" In bridge_mdb.sh line 93: bridge vlan del vid 10 dev $swp2 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: bridge vlan del vid 10 dev "$swp2" In bridge_mdb.sh line 94: 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 bridge_mdb.sh line 95: 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 bridge_mdb.sh line 97: bridge vlan del vid 20 dev $swp1 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: bridge vlan del vid 20 dev "$swp1" In bridge_mdb.sh line 98: bridge vlan del vid 10 dev $swp1 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: bridge vlan del vid 10 dev "$swp1" In bridge_mdb.sh line 99: 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 bridge_mdb.sh line 100: 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 bridge_mdb.sh line 147: bridge mdb add dev br0 port br0 grp $grp $state vid 10 ^--^ 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 add dev br0 port br0 grp "$grp" "$state" vid 10 In bridge_mdb.sh line 148: bridge mdb get dev br0 grp $grp vid 10 &> /dev/null ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: bridge mdb get dev br0 grp "$grp" vid 10 &> /dev/null In bridge_mdb.sh line 151: bridge mdb replace dev br0 port br0 grp $grp $state vid 10 &> /dev/null ^--^ 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 br0 port br0 grp "$grp" "$state" vid 10 &> /dev/null In bridge_mdb.sh line 154: bridge mdb del dev br0 port br0 grp $grp $state vid 10 ^--^ 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 br0 port br0 grp "$grp" "$state" vid 10 In bridge_mdb.sh line 155: bridge mdb get dev br0 grp $grp vid 10 &> /dev/null ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: bridge mdb get dev br0 grp "$grp" vid 10 &> /dev/null In bridge_mdb.sh line 159: bridge mdb add dev br0 port br0 grp $grp $invalid_state vid 10 \ ^--^ 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 add dev br0 port br0 grp "$grp" "$invalid_state" vid 10 \ In bridge_mdb.sh line 163: bridge mdb add dev br0 port br0 grp $grp src $src $state vid 10 \ ^--^ 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: bridge mdb add dev br0 port br0 grp "$grp" src "$src" "$state" vid 10 \ In bridge_mdb.sh line 167: bridge mdb add dev br0 port br0 grp $grp $state vid 10 \ ^--^ 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 add dev br0 port br0 grp "$grp" "$state" vid 10 \ In bridge_mdb.sh line 171: bridge mdb add dev br0 port br0 grp $grp $state vid 10 \ ^--^ 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 add dev br0 port br0 grp "$grp" "$state" vid 10 \ In bridge_mdb.sh line 172: source_list $src &> /dev/null ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: source_list "$src" &> /dev/null In bridge_mdb.sh line 175: bridge mdb add dev br0 port br0 grp $grp $state vid 10 \ ^--^ 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 add dev br0 port br0 grp "$grp" "$state" vid 10 \ In bridge_mdb.sh line 202: bridge mdb add dev br0 port $swp1 $grp_key permanent vid 10 ^---^ 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 add dev br0 port "$swp1" "$grp_key" permanent vid 10 In bridge_mdb.sh line 203: bridge mdb get dev br0 $grp_key vid 10 &> /dev/null ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: bridge mdb get dev br0 "$grp_key" vid 10 &> /dev/null In bridge_mdb.sh line 206: bridge mdb replace dev br0 port $swp1 $grp_key permanent vid 10 \ ^---^ 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 br0 port "$swp1" "$grp_key" permanent vid 10 \ In bridge_mdb.sh line 210: bridge mdb del dev br0 port $swp1 $grp_key permanent vid 10 ^---^ 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 br0 port "$swp1" "$grp_key" permanent vid 10 In bridge_mdb.sh line 211: bridge mdb get dev br0 $grp_key vid 10 &> /dev/null ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: bridge mdb get dev br0 "$grp_key" vid 10 &> /dev/null In bridge_mdb.sh line 215: bridge mdb add dev br0 port $swp1 $grp_key permanent vid 10 ^---^ 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 add dev br0 port "$swp1" "$grp_key" permanent vid 10 In bridge_mdb.sh line 216: bridge -d mdb get dev br0 $grp_key vid 10 | grep -q "static" ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: bridge -d mdb get dev br0 "$grp_key" vid 10 | grep -q "static" In bridge_mdb.sh line 219: bridge mdb replace dev br0 port $swp1 $grp_key permanent vid 10 \ ^---^ 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 br0 port "$swp1" "$grp_key" permanent vid 10 \ In bridge_mdb.sh line 221: bridge -d mdb get dev br0 $grp_key vid 10 | grep -q "123" ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: bridge -d mdb get dev br0 "$grp_key" vid 10 | grep -q "123" In bridge_mdb.sh line 223: bridge mdb del dev br0 port $swp1 $grp_key permanent vid 10 ^---^ 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 br0 port "$swp1" "$grp_key" permanent vid 10 In bridge_mdb.sh line 226: bridge mdb add dev br0 port $swp1 $grp_key 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 add dev br0 port "$swp1" "$grp_key" permanent In bridge_mdb.sh line 227: bridge mdb get dev br0 $grp_key vid 10 &> /dev/null ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: bridge mdb get dev br0 "$grp_key" vid 10 &> /dev/null In bridge_mdb.sh line 229: bridge mdb get dev br0 $grp_key vid 20 &> /dev/null ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: bridge mdb get dev br0 "$grp_key" vid 20 &> /dev/null In bridge_mdb.sh line 232: bridge mdb del dev br0 port $swp1 $grp_key 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 del dev br0 port "$swp1" "$grp_key" permanent In bridge_mdb.sh line 233: bridge mdb get dev br0 $grp_key vid 10 &> /dev/null ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: bridge mdb get dev br0 "$grp_key" vid 10 &> /dev/null In bridge_mdb.sh line 235: bridge mdb get dev br0 $grp_key vid 20 &> /dev/null ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: bridge mdb get dev br0 "$grp_key" vid 20 &> /dev/null In bridge_mdb.sh line 239: 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 bridge_mdb.sh line 241: bridge mdb add dev br0 port $swp1 $grp_key permanent vid 10 ^---^ 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 add dev br0 port "$swp1" "$grp_key" permanent vid 10 In bridge_mdb.sh line 244: bridge mdb del dev br0 port $swp1 $grp_key permanent vid 10 ^---^ 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 br0 port "$swp1" "$grp_key" permanent vid 10 In bridge_mdb.sh line 246: bridge mdb add dev br0 port $swp1 $grp_key temp vid 10 &> /dev/null ^---^ 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 add dev br0 port "$swp1" "$grp_key" temp vid 10 &> /dev/null In bridge_mdb.sh line 249: 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 bridge_mdb.sh line 250: setup_wait_dev $swp1 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: setup_wait_dev "$swp1" In bridge_mdb.sh line 254: bridge mdb add dev br0 port $swp1 $grp_key permanent vid 10 \ ^---^ 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 add dev br0 port "$swp1" "$grp_key" permanent vid 10 \ In bridge_mdb.sh line 260: bridge mdb add dev br0 port $swp1 $grp_key permanent vid \ ^---^ 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 add dev br0 port "$swp1" "$grp_key" permanent vid \ In bridge_mdb.sh line 265: bridge mdb add dev br0 port $swp1 $grp_key permanent vid 5000 \ ^---^ 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 add dev br0 port "$swp1" "$grp_key" permanent vid 5000 \ In bridge_mdb.sh line 279: for i in $(seq 1 $num_srcs); do ^-------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: for i in $(seq 1 "$num_srcs"); do In bridge_mdb.sh line 283: echo $src_list | cut -c 2- ^-------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: echo "$src_list" | cut -c 2- In bridge_mdb.sh line 300: bridge mdb add dev br0 port $swp1 grp $grp vid 10 ^---^ 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 add dev br0 port "$swp1" grp "$grp" vid 10 In bridge_mdb.sh line 301: bridge -d mdb get dev br0 grp $grp vid 10 | grep -q "exclude" ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: bridge -d mdb get dev br0 grp "$grp" vid 10 | grep -q "exclude" In bridge_mdb.sh line 303: bridge mdb del dev br0 port $swp1 grp $grp vid 10 ^---^ 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 br0 port "$swp1" grp "$grp" vid 10 In bridge_mdb.sh line 306: bridge mdb add dev br0 port $swp1 grp $grp vid 10 filter_mode exclude \ ^---^ 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 add dev br0 port "$swp1" grp "$grp" vid 10 filter_mode exclude \ In bridge_mdb.sh line 307: source_list $src1 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: source_list "$src1" In bridge_mdb.sh line 308: bridge -d mdb get dev br0 grp $grp vid 10 &> /dev/null ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: bridge -d mdb get dev br0 grp "$grp" vid 10 &> /dev/null In bridge_mdb.sh line 310: bridge -d mdb get dev br0 grp $grp src $src1 vid 10 &> /dev/null ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: bridge -d mdb get dev br0 grp "$grp" src "$src1" vid 10 &> /dev/null In bridge_mdb.sh line 312: bridge mdb del dev br0 port $swp1 grp $grp vid 10 ^---^ 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 br0 port "$swp1" grp "$grp" vid 10 In bridge_mdb.sh line 313: bridge -d mdb get dev br0 grp $grp vid 10 &> /dev/null ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: bridge -d mdb get dev br0 grp "$grp" vid 10 &> /dev/null In bridge_mdb.sh line 315: bridge -d mdb get dev br0 grp $grp src $src1 vid 10 &> /dev/null ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: bridge -d mdb get dev br0 grp "$grp" src "$src1" vid 10 &> /dev/null In bridge_mdb.sh line 321: bridge mdb add dev br0 port $swp1 grp $grp permanent vid 10 \ ^---^ 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 add dev br0 port "$swp1" grp "$grp" permanent vid 10 \ In bridge_mdb.sh line 322: filter_mode exclude source_list $src1 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: filter_mode exclude source_list "$src1" In bridge_mdb.sh line 324: bridge -d mdb get dev br0 grp $grp vid 10 | grep -q "permanent" ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: bridge -d mdb get dev br0 grp "$grp" vid 10 | grep -q "permanent" In bridge_mdb.sh line 326: bridge -d mdb get dev br0 grp $grp src $src1 vid 10 | \ ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: bridge -d mdb get dev br0 grp "$grp" src "$src1" vid 10 | \ In bridge_mdb.sh line 330: bridge -d -s mdb get dev br0 grp $grp vid 10 | grep -q " 0.00" ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: bridge -d -s mdb get dev br0 grp "$grp" vid 10 | grep -q " 0.00" In bridge_mdb.sh line 332: bridge -d -s mdb get dev br0 grp $grp vid 10 | grep -q "/0.00" ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: bridge -d -s mdb get dev br0 grp "$grp" vid 10 | grep -q "/0.00" In bridge_mdb.sh line 335: bridge mdb del dev br0 port $swp1 grp $grp vid 10 ^---^ 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 br0 port "$swp1" grp "$grp" vid 10 In bridge_mdb.sh line 339: bridge mdb add dev br0 port $swp1 grp $grp temp vid 10 \ ^---^ 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 add dev br0 port "$swp1" grp "$grp" temp vid 10 \ In bridge_mdb.sh line 340: filter_mode exclude source_list $src1 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: filter_mode exclude source_list "$src1" In bridge_mdb.sh line 342: bridge -d mdb get dev br0 grp $grp vid 10 | grep -q "temp" ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: bridge -d mdb get dev br0 grp "$grp" vid 10 | grep -q "temp" In bridge_mdb.sh line 344: bridge -d mdb get dev br0 grp $grp src $src1 vid 10 | grep -q "temp" ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: bridge -d mdb get dev br0 grp "$grp" src "$src1" vid 10 | grep -q "temp" In bridge_mdb.sh line 347: bridge -d -s mdb get dev br0 grp $grp vid 10 | grep -q " 0.00" ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: bridge -d -s mdb get dev br0 grp "$grp" vid 10 | grep -q " 0.00" In bridge_mdb.sh line 349: bridge -d -s mdb get dev br0 grp $grp vid 10 | grep -q "/0.00" ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: bridge -d -s mdb get dev br0 grp "$grp" vid 10 | grep -q "/0.00" In bridge_mdb.sh line 352: bridge mdb del dev br0 port $swp1 grp $grp vid 10 ^---^ 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 br0 port "$swp1" grp "$grp" vid 10 In bridge_mdb.sh line 356: bridge mdb add dev br0 port $swp1 grp $grp temp vid 10 \ ^---^ 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 add dev br0 port "$swp1" grp "$grp" temp vid 10 \ In bridge_mdb.sh line 357: filter_mode include source_list $src1 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: filter_mode include source_list "$src1" In bridge_mdb.sh line 359: bridge -d mdb get dev br0 grp $grp vid 10 | grep -q "temp" ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: bridge -d mdb get dev br0 grp "$grp" vid 10 | grep -q "temp" In bridge_mdb.sh line 361: bridge -d mdb get dev br0 grp $grp src $src1 vid 10 | grep -q "temp" ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: bridge -d mdb get dev br0 grp "$grp" src "$src1" vid 10 | grep -q "temp" In bridge_mdb.sh line 364: bridge -d -s mdb get dev br0 grp $grp vid 10 | grep -q " 0.00" ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: bridge -d -s mdb get dev br0 grp "$grp" vid 10 | grep -q " 0.00" In bridge_mdb.sh line 366: bridge -d -s mdb get dev br0 grp $grp vid 10 | grep -q "/0.00" ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: bridge -d -s mdb get dev br0 grp "$grp" vid 10 | grep -q "/0.00" In bridge_mdb.sh line 369: bridge mdb del dev br0 port $swp1 grp $grp vid 10 ^---^ 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 br0 port "$swp1" grp "$grp" vid 10 In bridge_mdb.sh line 372: bridge mdb add dev br0 port $swp1 grp $grp temp vid 10 \ ^---^ 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 add dev br0 port "$swp1" grp "$grp" temp vid 10 \ In bridge_mdb.sh line 373: filter_mode include source_list $src1 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: filter_mode include source_list "$src1" In bridge_mdb.sh line 375: bridge -d -s mdb get dev br0 grp $grp src $src1 vid 10 | grep -q " 0.00" ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: bridge -d -s mdb get dev br0 grp "$grp" src "$src1" vid 10 | grep -q " 0.00" In bridge_mdb.sh line 378: bridge mdb del dev br0 port $swp1 grp $grp vid 10 ^---^ 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 br0 port "$swp1" grp "$grp" vid 10 In bridge_mdb.sh line 384: bridge mdb add dev br0 port $swp1 grp $grp vid 10 \ ^---^ 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 add dev br0 port "$swp1" grp "$grp" vid 10 \ In bridge_mdb.sh line 385: filter_mode include source_list $src1 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: filter_mode include source_list "$src1" In bridge_mdb.sh line 387: bridge -d mdb get dev br0 grp $grp vid 10 | grep -q "include" ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: bridge -d mdb get dev br0 grp "$grp" vid 10 | grep -q "include" In bridge_mdb.sh line 389: bridge -d mdb get dev br0 grp $grp src $src1 vid 10 | grep -q "blocked" ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: bridge -d mdb get dev br0 grp "$grp" src "$src1" vid 10 | grep -q "blocked" In bridge_mdb.sh line 392: bridge mdb del dev br0 port $swp1 grp $grp vid 10 ^---^ 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 br0 port "$swp1" grp "$grp" vid 10 In bridge_mdb.sh line 396: bridge mdb add dev br0 port $swp1 grp $grp vid 10 \ ^---^ 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 add dev br0 port "$swp1" grp "$grp" vid 10 \ In bridge_mdb.sh line 397: filter_mode exclude source_list $src1 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: filter_mode exclude source_list "$src1" In bridge_mdb.sh line 399: bridge -d mdb get dev br0 grp $grp vid 10 | grep -q "exclude" ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: bridge -d mdb get dev br0 grp "$grp" vid 10 | grep -q "exclude" In bridge_mdb.sh line 401: bridge -d mdb get dev br0 grp $grp src $src1 vid 10 | grep -q "blocked" ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: bridge -d mdb get dev br0 grp "$grp" src "$src1" vid 10 | grep -q "blocked" In bridge_mdb.sh line 404: bridge mdb del dev br0 port $swp1 grp $grp vid 10 ^---^ 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 br0 port "$swp1" grp "$grp" vid 10 In bridge_mdb.sh line 410: bridge mdb add dev br0 port $swp1 grp $grp vid 10 \ ^---^ 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 add dev br0 port "$swp1" grp "$grp" vid 10 \ In bridge_mdb.sh line 411: filter_mode exclude source_list $src1 proto zebra ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: filter_mode exclude source_list "$src1" proto zebra In bridge_mdb.sh line 413: bridge -d mdb get dev br0 grp $grp vid 10 | grep -q "zebra" ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: bridge -d mdb get dev br0 grp "$grp" vid 10 | grep -q "zebra" In bridge_mdb.sh line 415: bridge -d mdb get dev br0 grp $grp src $src1 vid 10 | grep -q "zebra" ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: bridge -d mdb get dev br0 grp "$grp" src "$src1" vid 10 | grep -q "zebra" In bridge_mdb.sh line 418: bridge mdb del dev br0 port $swp1 grp $grp vid 10 ^---^ 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 br0 port "$swp1" grp "$grp" vid 10 In bridge_mdb.sh line 423: bridge mdb add dev br0 port $swp1 grp $grp temp vid 10 \ ^---^ 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 add dev br0 port "$swp1" grp "$grp" temp vid 10 \ In bridge_mdb.sh line 424: filter_mode exclude source_list $src1 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: filter_mode exclude source_list "$src1" In bridge_mdb.sh line 426: bridge mdb replace dev br0 port $swp1 grp $grp permanent vid 10 \ ^---^ 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 br0 port "$swp1" grp "$grp" permanent vid 10 \ In bridge_mdb.sh line 427: filter_mode exclude source_list $src1 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: filter_mode exclude source_list "$src1" In bridge_mdb.sh line 428: bridge -d mdb get dev br0 grp $grp vid 10 | grep -q "permanent" ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: bridge -d mdb get dev br0 grp "$grp" vid 10 | grep -q "permanent" In bridge_mdb.sh line 430: bridge -d mdb get dev br0 grp $grp src $src1 vid 10 | grep -q "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 -d mdb get dev br0 grp "$grp" src "$src1" vid 10 | grep -q "permanent" In bridge_mdb.sh line 433: bridge mdb replace dev br0 port $swp1 grp $grp temp vid 10 \ ^---^ 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 br0 port "$swp1" grp "$grp" temp vid 10 \ In bridge_mdb.sh line 434: filter_mode exclude source_list $src1 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: filter_mode exclude source_list "$src1" In bridge_mdb.sh line 435: bridge -d mdb get dev br0 grp $grp vid 10 | grep -q "temp" ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: bridge -d mdb get dev br0 grp "$grp" vid 10 | grep -q "temp" In bridge_mdb.sh line 437: bridge -d mdb get dev br0 grp $grp src $src1 vid 10 | grep -q "temp" ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: bridge -d mdb get dev br0 grp "$grp" src "$src1" vid 10 | grep -q "temp" In bridge_mdb.sh line 440: bridge mdb del dev br0 port $swp1 grp $grp vid 10 ^---^ 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 br0 port "$swp1" grp "$grp" vid 10 In bridge_mdb.sh line 443: bridge mdb add dev br0 port $swp1 grp $grp temp vid 10 \ ^---^ 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 add dev br0 port "$swp1" grp "$grp" temp vid 10 \ In bridge_mdb.sh line 444: filter_mode exclude source_list $src1 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: filter_mode exclude source_list "$src1" In bridge_mdb.sh line 446: bridge mdb replace dev br0 port $swp1 grp $grp temp vid 10 \ ^---^ 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 br0 port "$swp1" grp "$grp" temp vid 10 \ In bridge_mdb.sh line 447: filter_mode include source_list $src1 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: filter_mode include source_list "$src1" In bridge_mdb.sh line 448: bridge -d mdb get dev br0 grp $grp vid 10 | grep -q "include" ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: bridge -d mdb get dev br0 grp "$grp" vid 10 | grep -q "include" In bridge_mdb.sh line 450: bridge -d mdb get dev br0 grp $grp src $src1 vid 10 | grep -q "blocked" ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: bridge -d mdb get dev br0 grp "$grp" src "$src1" vid 10 | grep -q "blocked" In bridge_mdb.sh line 453: bridge mdb replace dev br0 port $swp1 grp $grp temp vid 10 \ ^---^ 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 br0 port "$swp1" grp "$grp" temp vid 10 \ In bridge_mdb.sh line 454: filter_mode exclude source_list $src1 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: filter_mode exclude source_list "$src1" In bridge_mdb.sh line 455: bridge -d mdb get dev br0 grp $grp vid 10 | grep -q "exclude" ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: bridge -d mdb get dev br0 grp "$grp" vid 10 | grep -q "exclude" In bridge_mdb.sh line 457: bridge -d mdb get dev br0 grp $grp src $src1 vid 10 | grep -q "blocked" ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: bridge -d mdb get dev br0 grp "$grp" src "$src1" vid 10 | grep -q "blocked" In bridge_mdb.sh line 460: bridge mdb del dev br0 port $swp1 grp $grp vid 10 ^---^ 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 br0 port "$swp1" grp "$grp" vid 10 In bridge_mdb.sh line 463: bridge mdb add dev br0 port $swp1 grp $grp temp vid 10 \ ^---^ 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 add dev br0 port "$swp1" grp "$grp" temp vid 10 \ In bridge_mdb.sh line 464: filter_mode exclude source_list $src1 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: filter_mode exclude source_list "$src1" In bridge_mdb.sh line 466: bridge mdb replace dev br0 port $swp1 grp $grp temp vid 10 \ ^---^ 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 br0 port "$swp1" grp "$grp" temp vid 10 \ In bridge_mdb.sh line 467: filter_mode exclude source_list $src1,$src2,$src3 ^---^ 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: filter_mode exclude source_list "$src1","$src2","$src3" In bridge_mdb.sh line 468: bridge -d mdb get dev br0 grp $grp src $src1 vid 10 &> /dev/null ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: bridge -d mdb get dev br0 grp "$grp" src "$src1" vid 10 &> /dev/null In bridge_mdb.sh line 470: bridge -d mdb get dev br0 grp $grp src $src2 vid 10 &> /dev/null ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: bridge -d mdb get dev br0 grp "$grp" src "$src2" vid 10 &> /dev/null In bridge_mdb.sh line 472: bridge -d mdb get dev br0 grp $grp src $src3 vid 10 &> /dev/null ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: bridge -d mdb get dev br0 grp "$grp" src "$src3" vid 10 &> /dev/null In bridge_mdb.sh line 475: bridge mdb replace dev br0 port $swp1 grp $grp temp vid 10 \ ^---^ 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 br0 port "$swp1" grp "$grp" temp vid 10 \ In bridge_mdb.sh line 476: filter_mode exclude source_list $src1,$src3 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: filter_mode exclude source_list "$src1","$src3" In bridge_mdb.sh line 477: bridge -d mdb get dev br0 grp $grp src $src1 vid 10 &> /dev/null ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: bridge -d mdb get dev br0 grp "$grp" src "$src1" vid 10 &> /dev/null In bridge_mdb.sh line 479: bridge -d mdb get dev br0 grp $grp src $src2 vid 10 &> /dev/null ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: bridge -d mdb get dev br0 grp "$grp" src "$src2" vid 10 &> /dev/null In bridge_mdb.sh line 481: bridge -d mdb get dev br0 grp $grp src $src3 vid 10 &> /dev/null ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: bridge -d mdb get dev br0 grp "$grp" src "$src3" vid 10 &> /dev/null In bridge_mdb.sh line 484: bridge mdb del dev br0 port $swp1 grp $grp vid 10 ^---^ 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 br0 port "$swp1" grp "$grp" vid 10 In bridge_mdb.sh line 487: bridge mdb add dev br0 port $swp1 grp $grp temp vid 10 \ ^---^ 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 add dev br0 port "$swp1" grp "$grp" temp vid 10 \ In bridge_mdb.sh line 488: filter_mode exclude source_list $src1 proto zebra ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: filter_mode exclude source_list "$src1" proto zebra In bridge_mdb.sh line 490: bridge mdb replace dev br0 port $swp1 grp $grp temp vid 10 \ ^---^ 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 br0 port "$swp1" grp "$grp" temp vid 10 \ In bridge_mdb.sh line 491: filter_mode exclude source_list $src1 proto bgp ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: filter_mode exclude source_list "$src1" proto bgp In bridge_mdb.sh line 492: bridge -d mdb get dev br0 grp $grp vid 10 | grep -q "bgp" ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: bridge -d mdb get dev br0 grp "$grp" vid 10 | grep -q "bgp" In bridge_mdb.sh line 494: bridge -d mdb get dev br0 grp $grp src $src1 vid 10 | grep -q "bgp" ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: bridge -d mdb get dev br0 grp "$grp" src "$src1" vid 10 | grep -q "bgp" In bridge_mdb.sh line 497: bridge mdb del dev br0 port $swp1 grp $grp vid 10 ^---^ 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 br0 port "$swp1" grp "$grp" vid 10 In bridge_mdb.sh line 504: bridge mdb add dev br0 port $swp2 grp $grp vid 10 \ ^---^ 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 add dev br0 port "$swp2" grp "$grp" vid 10 \ In bridge_mdb.sh line 505: filter_mode include source_list $src1 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: filter_mode include source_list "$src1" In bridge_mdb.sh line 506: bridge mdb add dev br0 port $swp1 grp $grp vid 10 ^---^ 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 add dev br0 port "$swp1" grp "$grp" vid 10 In bridge_mdb.sh line 507: bridge -d mdb get dev br0 grp $grp src $src1 vid 10 | grep "$swp1" | \ ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: bridge -d mdb get dev br0 grp "$grp" src "$src1" vid 10 | grep "$swp1" | \ In bridge_mdb.sh line 510: bridge mdb del dev br0 port $swp1 grp $grp vid 10 ^---^ 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 br0 port "$swp1" grp "$grp" vid 10 In bridge_mdb.sh line 511: bridge mdb del dev br0 port $swp2 grp $grp src $src1 vid 10 ^---^ 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: bridge mdb del dev br0 port "$swp2" grp "$grp" src "$src1" vid 10 In bridge_mdb.sh line 515: bridge mdb add dev br0 port $swp1 grp $invalid_grp vid 10 &> /dev/null ^---^ 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 add dev br0 port "$swp1" grp "$invalid_grp" vid 10 &> /dev/null In bridge_mdb.sh line 518: bridge mdb add dev br0 port $swp1 grp $grp vid 10 filter_mode include \ ^---^ 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 add dev br0 port "$swp1" grp "$grp" vid 10 filter_mode include \ In bridge_mdb.sh line 522: bridge mdb add dev br0 port $swp1 grp $grp vid 10 filter_mode include \ ^---^ 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 add dev br0 port "$swp1" grp "$grp" vid 10 filter_mode include \ In bridge_mdb.sh line 523: source_list $grp &> /dev/null ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: source_list "$grp" &> /dev/null In bridge_mdb.sh line 526: bridge mdb add dev br0 port $swp1 grp $grp vid 10 \ ^---^ 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 add dev br0 port "$swp1" grp "$grp" vid 10 \ In bridge_mdb.sh line 527: source_list $src &> /dev/null ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: source_list "$src" &> /dev/null In bridge_mdb.sh line 530: bridge mdb add dev br0 port $swp1 grp $grp vid 10 filter_mode include \ ^---^ 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 add dev br0 port "$swp1" grp "$grp" vid 10 filter_mode include \ In bridge_mdb.sh line 531: source_list $src1 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: source_list "$src1" In bridge_mdb.sh line 532: bridge mdb add dev br0 port $swp1 grp $grp vid 10 filter_mode exclude \ ^---^ 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 add dev br0 port "$swp1" grp "$grp" vid 10 filter_mode exclude \ In bridge_mdb.sh line 533: source_list $src1 &> /dev/null ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: source_list "$src1" &> /dev/null In bridge_mdb.sh line 535: bridge mdb del dev br0 port $swp1 grp $grp vid 10 ^---^ 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 br0 port "$swp1" grp "$grp" vid 10 In bridge_mdb.sh line 537: bridge mdb add dev br0 port $swp1 grp $grp src $src2 vid 10 ^---^ 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: bridge mdb add dev br0 port "$swp1" grp "$grp" src "$src2" vid 10 In bridge_mdb.sh line 538: bridge mdb add dev br0 port $swp1 grp $grp vid 10 filter_mode include \ ^---^ 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 add dev br0 port "$swp1" grp "$grp" vid 10 filter_mode include \ In bridge_mdb.sh line 539: source_list $src1,$src2,$src3 &> /dev/null ^---^ 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: source_list "$src1","$src2","$src3" &> /dev/null In bridge_mdb.sh line 541: bridge mdb del dev br0 port $swp1 grp $grp src $src2 vid 10 ^---^ 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: bridge mdb del dev br0 port "$swp1" grp "$grp" src "$src2" vid 10 In bridge_mdb.sh line 544: bridge mdb add dev br0 port $swp1 grp $grp vid 10 filter_mode exclude \ ^---^ 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 add dev br0 port "$swp1" grp "$grp" vid 10 filter_mode exclude \ In bridge_mdb.sh line 545: source_list $(src_list_create $src_prefix $max_srcs) ^-- SC2046 (warning): Quote this to prevent 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: source_list $(src_list_create "$src_prefix" "$max_srcs") In bridge_mdb.sh line 547: grep "src" | wc -l) ^--------^ SC2126 (style): Consider using 'grep -c' instead of 'grep|wc -l'. In bridge_mdb.sh line 550: bridge mdb del dev br0 port $swp1 grp $grp vid 10 ^---^ 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 br0 port "$swp1" grp "$grp" vid 10 In bridge_mdb.sh line 552: bridge mdb add dev br0 port $swp1 grp $grp vid 10 filter_mode exclude \ ^---^ 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 add dev br0 port "$swp1" grp "$grp" vid 10 filter_mode exclude \ In bridge_mdb.sh line 553: source_list $(src_list_create $src_prefix $((max_srcs + 1))) \ ^-- SC2046 (warning): Quote this to prevent word splitting. ^---------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: source_list $(src_list_create "$src_prefix" $((max_srcs + 1))) \ In bridge_mdb.sh line 580: bridge mdb add dev br0 port $swp1 $grp_key vid 10 ^---^ 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 add dev br0 port "$swp1" "$grp_key" vid 10 In bridge_mdb.sh line 581: bridge -d mdb get dev br0 $grp_key vid 10 | grep -q "include" ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: bridge -d mdb get dev br0 "$grp_key" vid 10 | grep -q "include" In bridge_mdb.sh line 583: bridge mdb del dev br0 port $swp1 $grp_key vid 10 ^---^ 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 br0 port "$swp1" "$grp_key" vid 10 In bridge_mdb.sh line 587: bridge mdb add dev br0 port $swp1 $grp_key permanent vid 10 ^---^ 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 add dev br0 port "$swp1" "$grp_key" permanent vid 10 In bridge_mdb.sh line 588: bridge -d mdb get dev br0 $grp_key vid 10 | grep -q "permanent" ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: bridge -d mdb get dev br0 "$grp_key" vid 10 | grep -q "permanent" In bridge_mdb.sh line 590: bridge -d -s mdb get dev br0 $grp_key vid 10 | grep -q " 0.00" ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: bridge -d -s mdb get dev br0 "$grp_key" vid 10 | grep -q " 0.00" In bridge_mdb.sh line 592: bridge mdb del dev br0 port $swp1 $grp_key vid 10 ^---^ 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 br0 port "$swp1" "$grp_key" vid 10 In bridge_mdb.sh line 594: bridge mdb add dev br0 port $swp1 $grp_key temp vid 10 ^---^ 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 add dev br0 port "$swp1" "$grp_key" temp vid 10 In bridge_mdb.sh line 595: bridge -d mdb get dev br0 $grp_key vid 10 | grep -q "temp" ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: bridge -d mdb get dev br0 "$grp_key" vid 10 | grep -q "temp" In bridge_mdb.sh line 597: bridge -d -s mdb get dev br0 $grp_key vid 10 | grep -q " 0.00" ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: bridge -d -s mdb get dev br0 "$grp_key" vid 10 | grep -q " 0.00" In bridge_mdb.sh line 599: bridge mdb del dev br0 port $swp1 $grp_key vid 10 ^---^ 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 br0 port "$swp1" "$grp_key" vid 10 In bridge_mdb.sh line 602: bridge mdb add dev br0 port $swp1 $grp_key vid 10 \ ^---^ 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 add dev br0 port "$swp1" "$grp_key" vid 10 \ In bridge_mdb.sh line 606: bridge mdb add dev br0 port $swp1 $grp_key vid 10 \ ^---^ 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 add dev br0 port "$swp1" "$grp_key" vid 10 \ In bridge_mdb.sh line 607: filter_mode include source_list $src &> /dev/null ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: filter_mode include source_list "$src" &> /dev/null In bridge_mdb.sh line 610: bridge mdb add dev br0 port $swp1 grp $grp src $grp vid 10 &> /dev/null ^---^ 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: bridge mdb add dev br0 port "$swp1" grp "$grp" src "$grp" vid 10 &> /dev/null In bridge_mdb.sh line 613: bridge mdb add dev br0 port $swp1 $grp_key vid 10 temp ^---^ 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 add dev br0 port "$swp1" "$grp_key" vid 10 temp In bridge_mdb.sh line 614: bridge mdb add dev br0 port $swp1 $grp_key vid 10 permanent &> /dev/null ^---^ 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 add dev br0 port "$swp1" "$grp_key" vid 10 permanent &> /dev/null In bridge_mdb.sh line 616: bridge mdb del dev br0 port $swp1 $grp_key vid 10 ^---^ 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 br0 port "$swp1" "$grp_key" vid 10 In bridge_mdb.sh line 619: bridge mdb add dev br0 port $swp1 $grp_key vid 10 proto 123 ^---^ 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 add dev br0 port "$swp1" "$grp_key" vid 10 proto 123 In bridge_mdb.sh line 620: bridge mdb replace dev br0 port $swp1 $grp_key vid 10 proto 111 ^---^ 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 br0 port "$swp1" "$grp_key" vid 10 proto 111 In bridge_mdb.sh line 621: bridge -d mdb get dev br0 $grp_key vid 10 | grep -q "111" ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: bridge -d mdb get dev br0 "$grp_key" vid 10 | grep -q "111" In bridge_mdb.sh line 624: bridge mdb replace dev br0 port $swp1 $grp_key vid 10 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 br0 port "$swp1" "$grp_key" vid 10 permanent In bridge_mdb.sh line 625: bridge -d mdb get dev br0 $grp_key vid 10 | grep -q "permanent" ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: bridge -d mdb get dev br0 "$grp_key" vid 10 | grep -q "permanent" In bridge_mdb.sh line 627: bridge -d -s mdb get dev br0 $grp_key vid 10 | grep -q " 0.00" ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: bridge -d -s mdb get dev br0 "$grp_key" vid 10 | grep -q " 0.00" In bridge_mdb.sh line 630: bridge mdb replace dev br0 port $swp1 $grp_key vid 10 temp ^---^ 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 br0 port "$swp1" "$grp_key" vid 10 temp In bridge_mdb.sh line 631: bridge -d mdb get dev br0 $grp_key vid 10 | grep -q "temp" ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: bridge -d mdb get dev br0 "$grp_key" vid 10 | grep -q "temp" In bridge_mdb.sh line 633: bridge -d -s mdb get dev br0 $grp_key vid 10 | grep -q " 0.00" ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: bridge -d -s mdb get dev br0 "$grp_key" vid 10 | grep -q " 0.00" In bridge_mdb.sh line 635: bridge mdb del dev br0 port $swp1 $grp_key vid 10 ^---^ 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 br0 port "$swp1" "$grp_key" vid 10 In bridge_mdb.sh line 639: bridge mdb add dev br0 port $swp2 grp $grp vid 10 ^---^ 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 add dev br0 port "$swp2" grp "$grp" vid 10 In bridge_mdb.sh line 640: bridge mdb add dev br0 port $swp1 $grp_key vid 10 ^---^ 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 add dev br0 port "$swp1" "$grp_key" vid 10 In bridge_mdb.sh line 641: bridge mdb get dev br0 $grp_key vid 10 | grep $swp2 | \ ^------^ 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 get dev br0 "$grp_key" vid 10 | grep "$swp2" | \ In bridge_mdb.sh line 644: bridge mdb del dev br0 port $swp1 $grp_key vid 10 ^---^ 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 br0 port "$swp1" "$grp_key" vid 10 In bridge_mdb.sh line 645: bridge mdb del dev br0 port $swp2 grp $grp vid 10 ^---^ 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 br0 port "$swp2" grp "$grp" vid 10 In bridge_mdb.sh line 673: bridge meb add dev br0 port $swp grp 00:01:02:03:04:05 \ ^--^ SC2154 (warning): swp is referenced but not assigned. ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: bridge meb add dev br0 port "$swp" grp 00:01:02:03:04:05 \ In bridge_mdb.sh line 677: bridge mdb add dev br0 port $swp grp $grp src 00:01:02:03:04:05 \ ^--^ 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 add dev br0 port "$swp" grp "$grp" src 00:01:02:03:04:05 \ In bridge_mdb.sh line 681: bridge mdb add dev br0 port $swp1 grp $grp permanent vid 10 \ ^---^ 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 add dev br0 port "$swp1" grp "$grp" permanent vid 10 \ In bridge_mdb.sh line 685: bridge mdb add dev br0 port $swp1 grp $grp permanent vid 10 \ ^---^ 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 add dev br0 port "$swp1" grp "$grp" permanent vid 10 \ In bridge_mdb.sh line 724: echo "ff0e::$(printf %x $i)" ^-- SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: echo "ff0e::$(printf %x "$i")" In bridge_mdb.sh line 734: echo "01:00:00:00:00:$(printf %02x $i)" ^-- SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: echo "01:00:00:00:00:$(printf %02x "$i")" In bridge_mdb.sh line 753: for i in $(seq 1 $max_bridges); do ^----------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: for i in $(seq 1 "$max_bridges"); do In bridge_mdb.sh line 754: ip link add name br-test${i} up type bridge vlan_filtering 1 \ ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link add name br-test"${i}" up type bridge vlan_filtering 1 \ In bridge_mdb.sh line 756: for j in $(seq 1 $max_ports); do ^--------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: for j in $(seq 1 "$max_ports"); do In bridge_mdb.sh line 757: ip link add name br-test${i}-du${j} up \ ^--^ 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 add name br-test"${i}"-du"${j}" up \ In bridge_mdb.sh line 758: master br-test${i} type dummy ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: master br-test"${i}" type dummy In bridge_mdb.sh line 764: for i in $(seq 1 $max_bridges); do ^----------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: for i in $(seq 1 "$max_bridges"); do In bridge_mdb.sh line 765: for j in $(seq 1 $max_ports); do ^--------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: for j in $(seq 1 "$max_ports"); do In bridge_mdb.sh line 766: for grp in $($fn $max_grps); do ^-------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: for grp in $($fn "$max_grps"); do In bridge_mdb.sh line 769: permanent vid 1" >> $batch_file ^---------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: permanent vid 1" >> "$batch_file" In bridge_mdb.sh line 775: bridge -b $batch_file ^---------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: bridge -b "$batch_file" In bridge_mdb.sh line 776: for i in $(seq 1 $max_bridges); do ^----------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: for i in $(seq 1 "$max_bridges"); do In bridge_mdb.sh line 777: num_entries=$(bridge mdb show dev br-test${i} | \ ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: num_entries=$(bridge mdb show dev br-test"${i}" | \ In bridge_mdb.sh line 778: grep "permanent" | wc -l) ^--------------^ SC2126 (style): Consider using 'grep -c' instead of 'grep|wc -l'. In bridge_mdb.sh line 784: rm $batch_file ^---------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: rm "$batch_file" In bridge_mdb.sh line 785: for i in $(seq 1 $max_bridges); do ^----------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: for i in $(seq 1 "$max_bridges"); do In bridge_mdb.sh line 786: ip link del dev br-test${i} ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link del dev br-test"${i}" In bridge_mdb.sh line 787: for j in $(seq $max_ports); do ^--------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: for j in $(seq "$max_ports"); do In bridge_mdb.sh line 788: ip link del dev br-test${i}-du${j} ^--^ 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 del dev br-test"${i}"-du"${j}" In bridge_mdb.sh line 815: bridge mdb add dev br0 port $swp1 grp 239.1.1.1 vid 10 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: bridge mdb add dev br0 port "$swp1" grp 239.1.1.1 vid 10 In bridge_mdb.sh line 816: bridge mdb add dev br0 port $swp2 grp 239.1.1.2 vid 10 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: bridge mdb add dev br0 port "$swp2" grp 239.1.1.2 vid 10 In bridge_mdb.sh line 819: bridge mdb add dev br0 port $swp1 grp 239.1.1.3 vid 10 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: bridge mdb add dev br0 port "$swp1" grp 239.1.1.3 vid 10 In bridge_mdb.sh line 820: bridge mdb add dev br0 port $swp1 grp 239.1.1.4 vid 20 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: bridge mdb add dev br0 port "$swp1" grp 239.1.1.4 vid 20 In bridge_mdb.sh line 823: bridge mdb add dev br0 port $swp1 grp 239.1.1.5 vid 10 proto bgp ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: bridge mdb add dev br0 port "$swp1" grp 239.1.1.5 vid 10 proto bgp In bridge_mdb.sh line 824: bridge mdb add dev br0 port $swp1 grp 239.1.1.6 vid 10 proto zebra ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: bridge mdb add dev br0 port "$swp1" grp 239.1.1.6 vid 10 proto zebra In bridge_mdb.sh line 827: bridge mdb add dev br0 port $swp1 grp 239.1.1.7 vid 10 permanent ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: bridge mdb add dev br0 port "$swp1" grp 239.1.1.7 vid 10 permanent In bridge_mdb.sh line 828: bridge mdb add dev br0 port $swp1 grp 239.1.1.8 vid 10 temp ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: bridge mdb add dev br0 port "$swp1" grp 239.1.1.8 vid 10 temp In bridge_mdb.sh line 838: bridge mdb add dev br0 port $swp1 grp 239.1.1.1 vid 10 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: bridge mdb add dev br0 port "$swp1" grp 239.1.1.1 vid 10 In bridge_mdb.sh line 839: bridge mdb add dev br0 port $swp2 grp 239.1.1.1 vid 10 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: bridge mdb add dev br0 port "$swp2" grp 239.1.1.1 vid 10 In bridge_mdb.sh line 842: bridge mdb flush dev br0 port $swp1 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: bridge mdb flush dev br0 port "$swp1" In bridge_mdb.sh line 861: bridge mdb add dev br0 port $swp1 grp 239.1.1.1 vid 10 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: bridge mdb add dev br0 port "$swp1" grp 239.1.1.1 vid 10 In bridge_mdb.sh line 862: bridge mdb add dev br0 port $swp2 grp 239.1.1.1 vid 10 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: bridge mdb add dev br0 port "$swp2" grp 239.1.1.1 vid 10 In bridge_mdb.sh line 863: bridge mdb add dev br0 port $swp1 grp 239.1.1.1 vid 20 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: bridge mdb add dev br0 port "$swp1" grp 239.1.1.1 vid 20 In bridge_mdb.sh line 864: bridge mdb add dev br0 port $swp2 grp 239.1.1.1 vid 20 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: bridge mdb add dev br0 port "$swp2" grp 239.1.1.1 vid 20 In bridge_mdb.sh line 878: bridge mdb add dev br0 port $swp1 grp 239.1.1.1 permanent vid 10 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: bridge mdb add dev br0 port "$swp1" grp 239.1.1.1 permanent vid 10 In bridge_mdb.sh line 879: bridge mdb add dev br0 port $swp2 grp 239.1.1.1 temp vid 10 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: bridge mdb add dev br0 port "$swp2" grp 239.1.1.1 temp vid 10 In bridge_mdb.sh line 893: bridge mdb add dev br0 port $swp1 grp 239.1.1.1 permanent vid 10 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: bridge mdb add dev br0 port "$swp1" grp 239.1.1.1 permanent vid 10 In bridge_mdb.sh line 894: bridge mdb add dev br0 port $swp2 grp 239.1.1.1 temp vid 10 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: bridge mdb add dev br0 port "$swp2" grp 239.1.1.1 temp vid 10 In bridge_mdb.sh line 959: bridge mdb add dev br0 port $swp1 grp 239.1.1.1 vid 10 proto bgp ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: bridge mdb add dev br0 port "$swp1" grp 239.1.1.1 vid 10 proto bgp In bridge_mdb.sh line 960: bridge mdb add dev br0 port $swp2 grp 239.1.1.1 vid 10 proto zebra ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: bridge mdb add dev br0 port "$swp2" grp 239.1.1.1 vid 10 proto zebra In bridge_mdb.sh line 1020: vlan_ethtype $eth_type vlan_id 10 dst_ip $grp src_ip $src \ ^-------^ 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: vlan_ethtype "$eth_type" vlan_id 10 dst_ip "$grp" src_ip "$src" \ In bridge_mdb.sh line 1026: $MZ $mode -a own -b $dmac -c 1 -p 128 -A $src -B $grp -t udp -q $h1.10 ^---^ 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" -a own -b "$dmac" -c 1 -p 128 -A "$src" -B "$grp" -t udp -q "$h1".10 In bridge_mdb.sh line 1032: bridge mdb add dev br0 port $swp2 grp $grp temp vid 10 ^---^ 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 add dev br0 port "$swp2" grp "$grp" temp vid 10 In bridge_mdb.sh line 1033: $MZ $mode -a own -b $dmac -c 1 -p 128 -A $src -B $grp -t udp -q $h1.10 ^---^ 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" -a own -b "$dmac" -c 1 -p 128 -A "$src" -B "$grp" -t udp -q "$h1".10 In bridge_mdb.sh line 1038: bridge mdb add dev br0 port br0 grp $grp temp vid 10 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: bridge mdb add dev br0 port br0 grp "$grp" temp vid 10 In bridge_mdb.sh line 1039: $MZ $mode -a own -b $dmac -c 1 -p 128 -A $src -B $grp -t udp -q $h1.10 ^---^ 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" -a own -b "$dmac" -c 1 -p 128 -A "$src" -B "$grp" -t udp -q "$h1".10 In bridge_mdb.sh line 1045: bridge mdb del dev br0 port br0 grp $grp vid 10 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: bridge mdb del dev br0 port br0 grp "$grp" vid 10 In bridge_mdb.sh line 1046: $MZ $mode -a own -b $dmac -c 1 -p 128 -A $src -B $grp -t udp -q $h1.10 ^---^ 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" -a own -b "$dmac" -c 1 -p 128 -A "$src" -B "$grp" -t udp -q "$h1".10 In bridge_mdb.sh line 1050: bridge mdb del dev br0 port $swp2 grp $grp vid 10 ^---^ 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 br0 port "$swp2" grp "$grp" vid 10 In bridge_mdb.sh line 1070: dst_mac $dmac action drop ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: dst_mac "$dmac" action drop In bridge_mdb.sh line 1074: $MZ -c 1 -p 128 -a own -b $dmac -q $h1.10 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: $MZ -c 1 -p 128 -a own -b "$dmac" -q "$h1".10 In bridge_mdb.sh line 1080: bridge mdb add dev br0 port $swp2 grp $dmac permanent vid 10 ^---^ 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 add dev br0 port "$swp2" grp "$dmac" permanent vid 10 In bridge_mdb.sh line 1081: $MZ -c 1 -p 128 -a own -b $dmac -q $h1.10 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: $MZ -c 1 -p 128 -a own -b "$dmac" -q "$h1".10 In bridge_mdb.sh line 1086: bridge mdb add dev br0 port br0 grp $dmac permanent vid 10 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: bridge mdb add dev br0 port br0 grp "$dmac" permanent vid 10 In bridge_mdb.sh line 1087: $MZ -c 1 -p 128 -a own -b $dmac -q $h1.10 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: $MZ -c 1 -p 128 -a own -b "$dmac" -q "$h1".10 In bridge_mdb.sh line 1093: bridge mdb del dev br0 port br0 grp $dmac permanent vid 10 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: bridge mdb del dev br0 port br0 grp "$dmac" permanent vid 10 In bridge_mdb.sh line 1094: $MZ -c 1 -p 128 -a own -b $dmac -q $h1.10 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: $MZ -c 1 -p 128 -a own -b "$dmac" -q "$h1".10 In bridge_mdb.sh line 1098: bridge mdb del dev br0 port $swp2 grp $dmac permanent vid 10 ^---^ 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 br0 port "$swp2" grp "$dmac" permanent vid 10 In bridge_mdb.sh line 1147: tc filter add dev $h2 ingress protocol 802.1q pref 1 handle 1 flower \ ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter add dev "$h2" ingress protocol 802.1q pref 1 handle 1 flower \ In bridge_mdb.sh line 1148: vlan_ethtype $eth_type vlan_id 10 dst_ip $grp \ ^-------^ SC2086 (info): Double quote to prevent globbing and word splitting. ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: vlan_ethtype "$eth_type" vlan_id 10 dst_ip "$grp" \ In bridge_mdb.sh line 1149: src_ip $valid_src action drop ^--------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: src_ip "$valid_src" action drop In bridge_mdb.sh line 1150: tc filter add dev $h2 ingress protocol 802.1q pref 1 handle 2 flower \ ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter add dev "$h2" ingress protocol 802.1q pref 1 handle 2 flower \ In bridge_mdb.sh line 1151: vlan_ethtype $eth_type vlan_id 10 dst_ip $grp \ ^-------^ SC2086 (info): Double quote to prevent globbing and word splitting. ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: vlan_ethtype "$eth_type" vlan_id 10 dst_ip "$grp" \ In bridge_mdb.sh line 1152: src_ip $invalid_src action drop ^----------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: src_ip "$invalid_src" action drop In bridge_mdb.sh line 1154: $MZ $mode -a own -b $dmac -c 1 -p 128 -A $valid_src -B $grp -t udp -q $h1.10 ^---^ 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" -a own -b "$dmac" -c 1 -p 128 -A "$valid_src" -B "$grp" -t udp -q "$h1".10 In bridge_mdb.sh line 1158: $MZ $mode -a own -b $dmac -c 1 -p 128 -A $invalid_src -B $grp -t udp -q $h1.10 ^---^ 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" -a own -b "$dmac" -c 1 -p 128 -A "$invalid_src" -B "$grp" -t udp -q "$h1".10 In bridge_mdb.sh line 1162: bridge mdb add dev br0 port $swp2 grp $grp vid 10 \ ^---^ 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 add dev br0 port "$swp2" grp "$grp" vid 10 \ In bridge_mdb.sh line 1163: filter_mode $filter_mode source_list $src_list ^----------^ SC2086 (info): Double quote to prevent globbing and word splitting. ^-------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: filter_mode "$filter_mode" source_list "$src_list" In bridge_mdb.sh line 1165: $MZ $mode -a own -b $dmac -c 1 -p 128 -A $valid_src -B $grp -t udp -q $h1.10 ^---^ 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" -a own -b "$dmac" -c 1 -p 128 -A "$valid_src" -B "$grp" -t udp -q "$h1".10 In bridge_mdb.sh line 1169: $MZ $mode -a own -b $dmac -c 1 -p 128 -A $invalid_src -B $grp -t udp -q $h1.10 ^---^ 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" -a own -b "$dmac" -c 1 -p 128 -A "$invalid_src" -B "$grp" -t udp -q "$h1".10 In bridge_mdb.sh line 1173: bridge mdb replace dev br0 port $swp2 grp $grp vid 10 \ ^---^ 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 br0 port "$swp2" grp "$grp" vid 10 \ In bridge_mdb.sh line 1176: $MZ $mode -a own -b $dmac -c 1 -p 128 -A $valid_src -B $grp -t udp -q $h1.10 ^---^ 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" -a own -b "$dmac" -c 1 -p 128 -A "$valid_src" -B "$grp" -t udp -q "$h1".10 In bridge_mdb.sh line 1180: $MZ $mode -a own -b $dmac -c 1 -p 128 -A $invalid_src -B $grp -t udp -q $h1.10 ^---^ 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" -a own -b "$dmac" -c 1 -p 128 -A "$invalid_src" -B "$grp" -t udp -q "$h1".10 In bridge_mdb.sh line 1184: bridge mdb del dev br0 port $swp2 grp $grp vid 10 ^---^ 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 br0 port "$swp2" grp "$grp" vid 10 In bridge_mdb.sh line 1186: $MZ $mode -a own -b $dmac -c 1 -p 128 -A $valid_src -B $grp -t udp -q $h1.10 ^---^ 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" -a own -b "$dmac" -c 1 -p 128 -A "$valid_src" -B "$grp" -t udp -q "$h1".10 In bridge_mdb.sh line 1190: $MZ $mode -a own -b $dmac -c 1 -p 128 -A $invalid_src -B $grp -t udp -q $h1.10 ^---^ 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" -a own -b "$dmac" -c 1 -p 128 -A "$invalid_src" -B "$grp" -t udp -q "$h1".10 In bridge_mdb.sh line 1194: tc filter del dev $h2 ingress protocol 802.1q pref 1 handle 2 flower ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter del dev "$h2" ingress protocol 802.1q pref 1 handle 2 flower In bridge_mdb.sh line 1195: tc filter del dev $h2 ingress protocol 802.1q pref 1 handle 1 flower ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter del dev "$h2" ingress protocol 802.1q pref 1 handle 1 flower In bridge_mdb.sh line 1216: tc filter add dev $h2 ingress protocol all pref 1 handle 1 flower \ ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter add dev "$h2" ingress protocol all pref 1 handle 1 flower \ In bridge_mdb.sh line 1217: dst_mac $dmac action drop ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: dst_mac "$dmac" action drop In bridge_mdb.sh line 1219: $MZ -c 1 -p 128 -a own -b $dmac -q $h1.10 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: $MZ -c 1 -p 128 -a own -b "$dmac" -q "$h1".10 In bridge_mdb.sh line 1223: bridge mdb add dev br0 port $swp2 grp $dmac permanent vid 10 ^---^ 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 add dev br0 port "$swp2" grp "$dmac" permanent vid 10 In bridge_mdb.sh line 1224: $MZ -c 1 -p 128 -a own -b $dmac -q $h1.10 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: $MZ -c 1 -p 128 -a own -b "$dmac" -q "$h1".10 In bridge_mdb.sh line 1228: bridge mdb del dev br0 port $swp2 grp $dmac permanent vid 10 ^---^ 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 br0 port "$swp2" grp "$dmac" permanent vid 10 In bridge_mdb.sh line 1229: $MZ -c 1 -p 128 -a own -b $dmac -q $h1.10 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: $MZ -c 1 -p 128 -a own -b "$dmac" -q "$h1".10 In bridge_mdb.sh line 1233: tc filter del dev $h2 ingress protocol all pref 1 handle 1 flower ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter del dev "$h2" ingress protocol all pref 1 handle 1 flower In bridge_mdb.sh line 1242: bridge link set dev $swp2 mcast_flood off ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: bridge link set dev "$swp2" mcast_flood off In bridge_mdb.sh line 1247: bridge link set dev $swp2 mcast_flood on ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: bridge link set dev "$swp2" mcast_flood on In bridge_mdb.sh line 1282: bridge mdb add dev br0 port $swp1 grp 239.1.1.1 permanent vid 10 \ ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: bridge mdb add dev br0 port "$swp1" grp 239.1.1.1 permanent vid 10 \ In bridge_mdb.sh line 1287: -t ip proto=2,p=$(igmpv3_is_in_get 239.1.1.1 192.0.2.2) -q $h1.10 ^-- SC2046 (warning): Quote this to prevent word splitting. ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: -t ip proto=2,p=$(igmpv3_is_in_get 239.1.1.1 192.0.2.2) -q "$h1".10 In bridge_mdb.sh line 1295: bridge mdb replace dev br0 port $swp1 grp 239.1.1.1 temp vid 10 \ ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: bridge mdb replace dev br0 port "$swp1" grp 239.1.1.1 temp vid 10 \ In bridge_mdb.sh line 1300: -t ip proto=2,p=$(igmpv3_is_in_get 239.1.1.1 192.0.2.2) -q $h1.10 ^-- SC2046 (warning): Quote this to prevent word splitting. ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: -t ip proto=2,p=$(igmpv3_is_in_get 239.1.1.1 192.0.2.2) -q "$h1".10 In bridge_mdb.sh line 1308: bridge mdb del dev br0 port $swp1 grp 239.1.1.1 vid 10 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: bridge mdb del dev br0 port "$swp1" grp 239.1.1.1 vid 10 In bridge_mdb.sh line 1319: bridge mdb add dev br0 port $swp1 grp ff0e::1 permanent vid 10 \ ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: bridge mdb add dev br0 port "$swp1" grp ff0e::1 permanent vid 10 \ In bridge_mdb.sh line 1323: local p=$(mldv2_is_in_get fe80::1 ff0e::1 2001:db8:1::2) ^-- SC2155 (warning): Declare and assign separately to avoid masking return values. In bridge_mdb.sh line 1325: -t ip hop=1,next=0,p="$p" -q $h1.10 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: -t ip hop=1,next=0,p="$p" -q "$h1".10 In bridge_mdb.sh line 1333: bridge mdb replace dev br0 port $swp1 grp ff0e::1 temp vid 10 \ ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: bridge mdb replace dev br0 port "$swp1" grp ff0e::1 temp vid 10 \ In bridge_mdb.sh line 1338: -t ip hop=1,next=0,p="$p" -q $h1.10 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: -t ip hop=1,next=0,p="$p" -q "$h1".10 In bridge_mdb.sh line 1346: bridge mdb del dev br0 port $swp1 grp ff0e::1 vid 10 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: bridge mdb del dev br0 port "$swp1" grp ff0e::1 vid 10 In bridge_mdb.sh line 1371: 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/SC2046 -- Quote this to prevent word splitt... https://www.shellcheck.net/wiki/SC2154 -- swp is referenced but not assigned. https://www.shellcheck.net/wiki/SC2155 -- Declare and assign separately to ... Checking tools/testing/selftests/net/forwarding/bridge_mdb_max.sh - 78065bf01e7a3a3d7f5c9f696cd51ff3e2329fb34600d66c28331c1ab155aca6 In bridge_mdb_max.sh line 39: simple_if_init $h1 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: simple_if_init "$h1" In bridge_mdb_max.sh line 40: vlan_create $h1 10 v$h1 192.0.2.1/28 2001:db8:1::1/64 ^-^ 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 "$h1" 10 v"$h1" 192.0.2.1/28 2001:db8:1::1/64 In bridge_mdb_max.sh line 41: vlan_create $h1 20 v$h1 198.51.100.1/24 2001:db8:2::1/64 ^-^ 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 "$h1" 20 v"$h1" 198.51.100.1/24 2001:db8:2::1/64 In bridge_mdb_max.sh line 46: vlan_destroy $h1 20 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: vlan_destroy "$h1" 20 In bridge_mdb_max.sh line 47: vlan_destroy $h1 10 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: vlan_destroy "$h1" 10 In bridge_mdb_max.sh line 48: simple_if_fini $h1 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: simple_if_fini "$h1" In bridge_mdb_max.sh line 53: simple_if_init $h2 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: simple_if_init "$h2" In bridge_mdb_max.sh line 54: vlan_create $h2 10 v$h2 192.0.2.2/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 "$h2" 10 v"$h2" 192.0.2.2/28 In bridge_mdb_max.sh line 55: vlan_create $h2 20 v$h2 198.51.100.2/24 ^-^ 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 "$h2" 20 v"$h2" 198.51.100.2/24 In bridge_mdb_max.sh line 60: vlan_destroy $h2 20 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: vlan_destroy "$h2" 20 In bridge_mdb_max.sh line 61: vlan_destroy $h2 10 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: vlan_destroy "$h2" 10 In bridge_mdb_max.sh line 62: simple_if_fini $h2 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: simple_if_fini "$h2" In bridge_mdb_max.sh line 74: ip link set dev $swp1 master br0 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link set dev "$swp1" master br0 In bridge_mdb_max.sh line 75: 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 bridge_mdb_max.sh line 76: bridge link set dev $swp1 fastleave on ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: bridge link set dev "$swp1" fastleave on In bridge_mdb_max.sh line 78: ip link set dev $swp2 master br0 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link set dev "$swp2" master br0 In bridge_mdb_max.sh line 79: 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 bridge_mdb_max.sh line 89: mcast_snooping 1 $br_flags \ ^-------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: mcast_snooping 1 "$br_flags" \ In bridge_mdb_max.sh line 95: ip link set dev $swp1 master br0 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link set dev "$swp1" master br0 In bridge_mdb_max.sh line 96: 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 bridge_mdb_max.sh line 97: bridge link set dev $swp1 fastleave on ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: bridge link set dev "$swp1" fastleave on In bridge_mdb_max.sh line 98: bridge vlan add vid 10 dev $swp1 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: bridge vlan add vid 10 dev "$swp1" In bridge_mdb_max.sh line 99: bridge vlan add vid 20 dev $swp1 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: bridge vlan add vid 20 dev "$swp1" In bridge_mdb_max.sh line 101: ip link set dev $swp2 master br0 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link set dev "$swp2" master br0 In bridge_mdb_max.sh line 102: 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 bridge_mdb_max.sh line 103: bridge vlan add vid 10 dev $swp2 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: bridge vlan add vid 10 dev "$swp2" In bridge_mdb_max.sh line 104: bridge vlan add vid 20 dev $swp2 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: bridge vlan add vid 20 dev "$swp2" In bridge_mdb_max.sh line 118: 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 bridge_mdb_max.sh line 119: 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 bridge_mdb_max.sh line 121: 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 bridge_mdb_max.sh line 122: 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 bridge_mdb_max.sh line 158: local IPstr=$(echo ${IPs[@]} | tr '[:space:]' , | sed 's/,$//') ^---^ SC2155 (warning): Declare and assign separately to avoid masking return values. ^-------^ SC2068 (error): Double quote array expansions to avoid re-splitting elements. In bridge_mdb_max.sh line 160: echo ${IPstr:+source_list }${IPstr} ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: echo ${IPstr:+source_list }"${IPstr}" In bridge_mdb_max.sh line 171: local source_list=$(cfg_src_list ${IPs[@]}) ^---------^ SC2155 (warning): Declare and assign separately to avoid masking return values. ^-------^ SC2068 (error): Double quote array expansions to avoid re-splitting elements. In bridge_mdb_max.sh line 175: local br_locus=$(echo "$locus" | sed 's/^dev /port /') ^------^ SC2155 (warning): Declare and assign separately to avoid masking return values. ^-- SC2001 (style): See if you can use ${variable//search/replace} instead. In bridge_mdb_max.sh line 177: bridge mdb $op dev br0 $br_locus grp $GRP $state \ ^-^ 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: bridge mdb "$op" dev br0 "$br_locus" grp "$GRP" "$state" \ In bridge_mdb_max.sh line 178: filter_mode include $source_list ^----------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: filter_mode include "$source_list" In bridge_mdb_max.sh line 190: local IPs=$(seq -f 192.0.2.%g 1 $((n - 1))) ^-^ SC2155 (warning): Declare and assign separately to avoid masking return values. ^-^ SC2178 (warning): Variable was used as an array but is now assigned a string. In bridge_mdb_max.sh line 191: cfg_group_op "$op" "$locus" "$GRP" "$state" ${IPs[@]} ^-------^ SC2068 (error): Double quote array expansions to avoid re-splitting elements. In bridge_mdb_max.sh line 213: local IPs=$(printf "2001:db8:1::%x\n" $(seq 1 $((n - 1)))) ^-^ SC2155 (warning): Declare and assign separately to avoid masking return values. ^-^ SC2178 (warning): Variable was used as an array but is now assigned a string. In bridge_mdb_max.sh line 214: cfg_group_op "$op" "$locus" "$GRP" "$state" ${IPs[@]} ^-------^ SC2068 (error): Double quote array expansions to avoid re-splitting elements. In bridge_mdb_max.sh line 231: local vid_kw=$1; shift ^----^ SC2034 (warning): vid_kw appears unused. Verify use (or export if used externally). In bridge_mdb_max.sh line 239: local dev_kw=$1; shift ^----^ SC2034 (warning): dev_kw appears unused. Verify use (or export if used externally). In bridge_mdb_max.sh line 242: echo $dev ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: echo "$dev" In bridge_mdb_max.sh line 252: local IPs=$(seq -f 192.0.2.%g 1 $((n - 1))) ^-^ SC2155 (warning): Declare and assign separately to avoid masking return values. ^-^ SC2178 (warning): Variable was used as an array but is now assigned a string. In bridge_mdb_max.sh line 253: local peer=$(locus_dev_peer $locus) ^--^ 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 peer=$(locus_dev_peer "$locus") In bridge_mdb_max.sh line 255: local dmac=01:00:5e:01:01:$(printf "%02x" $grp) ^--^ 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 dmac=01:00:5e:01:01:$(printf "%02x" "$grp") In bridge_mdb_max.sh line 256: $MZ -a own -b $dmac -c 1 -A 192.0.2.1 -B $GRP \ ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: $MZ -a own -b "$dmac" -c 1 -A 192.0.2.1 -B "$GRP" \ In bridge_mdb_max.sh line 257: -t ip proto=2,p=$(igmpv3_is_in_get $GRP $IPs) -q $peer ^---------------------------^ SC2046 (warning): Quote this to prevent word splitting. ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. ^--^ SC2128 (warning): Expanding an array without an index only gives the first element. ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: -t ip proto=2,p=$(igmpv3_is_in_get "$GRP" "$IPs") -q "$peer" In bridge_mdb_max.sh line 260: local nn=$(bridge mdb show dev br0 | grep $GRP | wc -l) ^-- SC2155 (warning): Declare and assign separately to avoid masking return values. ^-------^ SC2126 (style): Consider using 'grep -c' instead of 'grep|wc -l'. ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: local nn=$(bridge mdb show dev br0 | grep "$GRP" | wc -l) In bridge_mdb_max.sh line 274: local peer=$(locus_dev_peer $locus) ^--^ 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 peer=$(locus_dev_peer "$locus") In bridge_mdb_max.sh line 277: $MZ -a own -b $dmac -c 1 -A 192.0.2.1 -B 224.0.0.2 \ ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: $MZ -a own -b "$dmac" -c 1 -A 192.0.2.1 -B 224.0.0.2 \ In bridge_mdb_max.sh line 278: -t ip proto=2,p=$(igmpv2_leave_get $GRP) -q $peer ^----------------------^ SC2046 (warning): Quote this to prevent 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: -t ip proto=2,p=$(igmpv2_leave_get "$GRP") -q "$peer" In bridge_mdb_max.sh line 280: ! bridge mdb show dev br0 | grep -q $GRP ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ! bridge mdb show dev br0 | grep -q "$GRP" In bridge_mdb_max.sh line 290: local IPs=$(printf "2001:db8:1::%x\n" $(seq 1 $((n - 1)))) ^-^ SC2155 (warning): Declare and assign separately to avoid masking return values. ^-^ SC2178 (warning): Variable was used as an array but is now assigned a string. In bridge_mdb_max.sh line 291: local peer=$(locus_dev_peer $locus) ^--^ 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 peer=$(locus_dev_peer "$locus") In bridge_mdb_max.sh line 294: local dmac=33:33:00:00:00:$(printf "%02x" $grp) ^--^ 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 dmac=33:33:00:00:00:$(printf "%02x" "$grp") In bridge_mdb_max.sh line 295: local p=$(mldv2_is_in_get $SIP $GRP $IPs) ^-- SC2155 (warning): Declare and assign separately to avoid masking return values. ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. ^--^ SC2128 (warning): Expanding an array without an index only gives the first element. ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: local p=$(mldv2_is_in_get "$SIP" "$GRP" "$IPs") In bridge_mdb_max.sh line 296: $MZ -6 -a own -b $dmac -c 1 -A $SIP -B $GRP \ ^---^ 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 -6 -a own -b "$dmac" -c 1 -A "$SIP" -B "$GRP" \ In bridge_mdb_max.sh line 297: -t ip hop=1,next=0,p="$p" -q $peer ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: -t ip hop=1,next=0,p="$p" -q "$peer" In bridge_mdb_max.sh line 300: local nn=$(bridge mdb show dev br0 | grep $GRP | wc -l) ^-- SC2155 (warning): Declare and assign separately to avoid masking return values. ^-------^ SC2126 (style): Consider using 'grep -c' instead of 'grep|wc -l'. ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: local nn=$(bridge mdb show dev br0 | grep "$GRP" | wc -l) In bridge_mdb_max.sh line 314: local peer=$(locus_dev_peer $locus) ^--^ 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 peer=$(locus_dev_peer "$locus") In bridge_mdb_max.sh line 317: local dmac=33:33:00:00:00:$(printf "%02x" $grp) ^--^ 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 dmac=33:33:00:00:00:$(printf "%02x" "$grp") In bridge_mdb_max.sh line 318: local p=$(mldv1_done_get $SIP $GRP) ^-- SC2155 (warning): Declare and assign separately to avoid masking return values. ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: local p=$(mldv1_done_get "$SIP" "$GRP") In bridge_mdb_max.sh line 319: $MZ -6 -a own -b $dmac -c 1 -A $SIP -B $GRP \ ^---^ 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 -6 -a own -b "$dmac" -c 1 -A "$SIP" -B "$GRP" \ In bridge_mdb_max.sh line 320: -t ip hop=1,next=0,p="$p" -q $peer ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: -t ip hop=1,next=0,p="$p" -q "$peer" In bridge_mdb_max.sh line 322: ! bridge mdb show dev br0 | grep -q $GRP ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ! bridge mdb show dev br0 | grep -q "$GRP" In bridge_mdb_max.sh line 328: local needle=$1; shift ^----^ SC2034 (warning): needle appears unused. Verify use (or export if used externally). In bridge_mdb_max.sh line 358: bridge -j -d link show $locus | ^----^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: bridge -j -d link show "$locus" | In bridge_mdb_max.sh line 366: bridge -j -d link show $locus | ^----^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: bridge -j -d link show "$locus" | In bridge_mdb_max.sh line 375: bridge link set dev $(locus_dev $locus) mcast_max_groups $max ^-----------------^ SC2046 (warning): Quote this to prevent 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: bridge link set dev $(locus_dev "$locus") mcast_max_groups "$max" In bridge_mdb_max.sh line 382: bridge -j -d vlan show $locus | ^----^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: bridge -j -d vlan show "$locus" | In bridge_mdb_max.sh line 390: bridge -j -d vlan show $locus | ^----^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: bridge -j -d vlan show "$locus" | In bridge_mdb_max.sh line 399: bridge vlan set $locus mcast_max_groups $max ^----^ SC2086 (info): Double quote to prevent globbing and word splitting. ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: bridge vlan set "$locus" mcast_max_groups "$max" In bridge_mdb_max.sh line 410: local n0=$(bridge_${context}_ngroups_get "$locus") ^-- 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 n0=$(bridge_"${context}"_ngroups_get "$locus") In bridge_mdb_max.sh line 411: ${CFG}_entries_add "$locus" temp 5 ^----^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: "${CFG}"_entries_add "$locus" temp 5 In bridge_mdb_max.sh line 413: local n1=$(bridge_${context}_ngroups_get "$locus") ^-- 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 n1=$(bridge_"${context}"_ngroups_get "$locus") In bridge_mdb_max.sh line 418: ${CFG}_entries_del "$locus" temp 5 ^----^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: "${CFG}"_entries_del "$locus" temp 5 In bridge_mdb_max.sh line 420: local n2=$(bridge_${context}_ngroups_get "$locus") ^-- 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 n2=$(bridge_"${context}"_ngroups_get "$locus") In bridge_mdb_max.sh line 497: local n10=$(bridge_port_vlan_ngroups_get "$locus1") ^-^ SC2155 (warning): Declare and assign separately to avoid masking return values. In bridge_mdb_max.sh line 498: local n20=$(bridge_port_vlan_ngroups_get "$locus2") ^-^ SC2155 (warning): Declare and assign separately to avoid masking return values. In bridge_mdb_max.sh line 499: ${CFG}_entries_add "$locus1" temp 5 111 ^----^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: "${CFG}"_entries_add "$locus1" temp 5 111 In bridge_mdb_max.sh line 501: local n11=$(bridge_port_vlan_ngroups_get "$locus1") ^-^ SC2155 (warning): Declare and assign separately to avoid masking return values. In bridge_mdb_max.sh line 502: local n21=$(bridge_port_vlan_ngroups_get "$locus2") ^-^ SC2155 (warning): Declare and assign separately to avoid masking return values. In bridge_mdb_max.sh line 510: ${CFG}_entries_add "$locus2" temp 5 112 ^----^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: "${CFG}"_entries_add "$locus2" temp 5 112 In bridge_mdb_max.sh line 512: local n12=$(bridge_port_vlan_ngroups_get "$locus1") ^-^ SC2155 (warning): Declare and assign separately to avoid masking return values. In bridge_mdb_max.sh line 513: local n22=$(bridge_port_vlan_ngroups_get "$locus2") ^-^ SC2155 (warning): Declare and assign separately to avoid masking return values. In bridge_mdb_max.sh line 521: ${CFG}_entries_del "$locus1" temp 5 111 ^----^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: "${CFG}"_entries_del "$locus1" temp 5 111 In bridge_mdb_max.sh line 523: ${CFG}_entries_del "$locus2" temp 5 112 ^----^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: "${CFG}"_entries_del "$locus2" temp 5 112 In bridge_mdb_max.sh line 525: local n13=$(bridge_port_vlan_ngroups_get "$locus1") ^-^ SC2155 (warning): Declare and assign separately to avoid masking return values. In bridge_mdb_max.sh line 526: local n23=$(bridge_port_vlan_ngroups_get "$locus2") ^-^ SC2155 (warning): Declare and assign separately to avoid masking return values. In bridge_mdb_max.sh line 566: max=$(bridge_${context}_maxgroups_get "$locus") ^--------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: max=$(bridge_"${context}"_maxgroups_get "$locus") In bridge_mdb_max.sh line 570: bridge_${context}_maxgroups_set "$locus" 100 ^--------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: bridge_"${context}"_maxgroups_set "$locus" 100 In bridge_mdb_max.sh line 572: max=$(bridge_${context}_maxgroups_get "$locus") ^--------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: max=$(bridge_"${context}"_maxgroups_get "$locus") In bridge_mdb_max.sh line 576: bridge_${context}_maxgroups_set "$locus" 0 ^--------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: bridge_"${context}"_maxgroups_set "$locus" 0 In bridge_mdb_max.sh line 580: ${CFG}_entries_add "$locus" temp 5 ^----^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: "${CFG}"_entries_add "$locus" temp 5 In bridge_mdb_max.sh line 582: ${CFG}_entries_del "$locus" temp 5 ^----^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: "${CFG}"_entries_del "$locus" temp 5 In bridge_mdb_max.sh line 756: local n=$(bridge_${context}_ngroups_get "$locus") ^-- 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 n=$(bridge_"${context}"_ngroups_get "$locus") In bridge_mdb_max.sh line 759: ${CFG}_entries_add "$locus" temp 5 111 ^----^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: "${CFG}"_entries_add "$locus" temp 5 111 In bridge_mdb_max.sh line 762: bridge_${context}_maxgroups_set "$locus" $((n+2)) ^--------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: bridge_"${context}"_maxgroups_set "$locus" $((n+2)) In bridge_mdb_max.sh line 765: msg=$(${CFG}_entries_add "$locus" temp 2 112 2>&1) ^----^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: msg=$("${CFG}"_entries_add "$locus" temp 2 112 2>&1) In bridge_mdb_max.sh line 769: ${CFG}_entries_del "$locus" temp 5 111 ^----^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: "${CFG}"_entries_del "$locus" temp 5 111 In bridge_mdb_max.sh line 772: ${CFG}_entries_add "$locus" temp 2 112 ^----^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: "${CFG}"_entries_add "$locus" temp 2 112 In bridge_mdb_max.sh line 775: ${CFG}_entries_del "$locus" temp 2 112 ^----^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: "${CFG}"_entries_del "$locus" temp 2 112 In bridge_mdb_max.sh line 778: bridge_${context}_maxgroups_set "$locus" 0 ^--------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: bridge_"${context}"_maxgroups_set "$locus" 0 In bridge_mdb_max.sh line 852: local n=$(bridge_${context}_ngroups_get "$locus") ^-- 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 n=$(bridge_"${context}"_ngroups_get "$locus") In bridge_mdb_max.sh line 856: bridge_${context}_maxgroups_set "$locus" $((n+1)) ^--------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: bridge_"${context}"_maxgroups_set "$locus" $((n+1)) In bridge_mdb_max.sh line 860: msg=$(${CFG}_entries_add "$locus" temp 5 2>&1) ^----^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: msg=$("${CFG}"_entries_add "$locus" temp 5 2>&1) In bridge_mdb_max.sh line 862: bridge_maxgroups_errmsg_check_${CFG} "$msg" ^----^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: bridge_maxgroups_errmsg_check_"${CFG}" "$msg" In bridge_mdb_max.sh line 868: ${CFG}_entries_del "$locus" temp 17 2>&1 ^----^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: "${CFG}"_entries_del "$locus" temp 17 2>&1 In bridge_mdb_max.sh line 871: local n2=$(bridge_${context}_ngroups_get "$locus") ^-- 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 n2=$(bridge_"${context}"_ngroups_get "$locus") In bridge_mdb_max.sh line 875: bridge_${context}_maxgroups_set "$locus" 0 ^--------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: bridge_"${context}"_maxgroups_set "$locus" 0 In bridge_mdb_max.sh line 950: local n1=$(bridge_port_vlan_ngroups_get "$locus1") ^-- SC2155 (warning): Declare and assign separately to avoid masking return values. In bridge_mdb_max.sh line 951: local n2=$(bridge_port_vlan_ngroups_get "$locus2") ^-- SC2155 (warning): Declare and assign separately to avoid masking return values. In bridge_mdb_max.sh line 965: ${CFG}_entries_add "$locus2" temp 5 112 ^----^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: "${CFG}"_entries_add "$locus2" temp 5 112 In bridge_mdb_max.sh line 979: msg=$(${CFG}_entries_add "$locus1" temp $n2 111 2>&1) ^----^ SC2086 (info): Double quote to prevent globbing and word splitting. ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: msg=$("${CFG}"_entries_add "$locus1" temp "$n2" 111 2>&1) In bridge_mdb_max.sh line 981: bridge_maxgroups_errmsg_check_${CFG} "$msg" ^----^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: bridge_maxgroups_errmsg_check_"${CFG}" "$msg" In bridge_mdb_max.sh line 986: msg=$(${CFG}_entries_add "$locus1" temp 5 111 2>&1) ^----^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: msg=$("${CFG}"_entries_add "$locus1" temp 5 111 2>&1) In bridge_mdb_max.sh line 988: bridge_maxgroups_errmsg_check_${CFG} "$msg" ^----^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: bridge_maxgroups_errmsg_check_"${CFG}" "$msg" In bridge_mdb_max.sh line 993: ${CFG}_entries_del "$locus1" temp 5 111 2>/dev/null ^----^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: "${CFG}"_entries_del "$locus1" temp 5 111 2>/dev/null In bridge_mdb_max.sh line 995: ${CFG}_entries_add "$locus1" temp 2 111 ^----^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: "${CFG}"_entries_add "$locus1" temp 2 111 In bridge_mdb_max.sh line 998: ${CFG}_entries_del "$locus1" temp 2 111 ^----^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: "${CFG}"_entries_del "$locus1" temp 2 111 In bridge_mdb_max.sh line 1001: ${CFG}_entries_del "$locus2" temp 5 112 ^----^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: "${CFG}"_entries_del "$locus2" temp 5 112 In bridge_mdb_max.sh line 1040: local max=$(bridge_port_vlan_maxgroups_get "$locus") ^-^ SC2155 (warning): Declare and assign separately to avoid masking return values. In bridge_mdb_max.sh line 1041: local n=$(bridge_port_vlan_ngroups_get "$locus") ^-- SC2155 (warning): Declare and assign separately to avoid masking return values. In bridge_mdb_max.sh line 1072: ${CFG}_entries_add "$locus" $mode 5 ^----^ SC2086 (info): Double quote to prevent globbing and word splitting. ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: "${CFG}"_entries_add "$locus" "$mode" 5 In bridge_mdb_max.sh line 1075: bridge_${context}_maxgroups_set "$locus" 100 ^--------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: bridge_"${context}"_maxgroups_set "$locus" 100 In bridge_mdb_max.sh line 1082: local n=$(bridge_${context}_ngroups_get "$locus") ^-- 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 n=$(bridge_"${context}"_ngroups_get "$locus") In bridge_mdb_max.sh line 1083: local nn=$(bridge mdb show dev br0 | grep $swp1 | wc -l) ^-- SC2155 (warning): Declare and assign separately to avoid masking return values. ^--------^ SC2126 (style): Consider using 'grep -c' instead of 'grep|wc -l'. ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: local nn=$(bridge mdb show dev br0 | grep "$swp1" | wc -l) In bridge_mdb_max.sh line 1087: local max=$(bridge_${context}_maxgroups_get "$locus") ^-^ 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 max=$(bridge_"${context}"_maxgroups_get "$locus") In bridge_mdb_max.sh line 1091: bridge_${context}_maxgroups_set "$locus" 0 ^--------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: bridge_"${context}"_maxgroups_set "$locus" 0 In bridge_mdb_max.sh line 1347: 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/SC2068 -- Double quote array expansions to ... https://www.shellcheck.net/wiki/SC2034 -- dev_kw appears unused. Verify use... https://www.shellcheck.net/wiki/SC2046 -- Quote this to prevent word splitt... Checking tools/testing/selftests/net/forwarding/bridge_mld.sh - c9cf8245407d8eef297e4cc2d38035137cbef0ce084f1d5fe176f1cb71d76761 In bridge_mld.sh line 82: simple_if_init $h1 2001:db8:1::1/64 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: simple_if_init "$h1" 2001:db8:1::1/64 In bridge_mld.sh line 87: simple_if_fini $h1 2001:db8:1::1/64 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: simple_if_fini "$h1" 2001:db8:1::1/64 In bridge_mld.sh line 92: simple_if_init $h2 2001:db8:1::2/64 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: simple_if_init "$h2" 2001:db8:1::2/64 In bridge_mld.sh line 97: simple_if_fini $h2 2001:db8:1::2/64 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: simple_if_fini "$h2" 2001:db8:1::2/64 In bridge_mld.sh line 106: ip link set dev $swp1 master br0 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link set dev "$swp1" master br0 In bridge_mld.sh line 107: ip link set dev $swp2 master br0 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link set dev "$swp2" master br0 In bridge_mld.sh line 110: 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 bridge_mld.sh line 111: 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 bridge_mld.sh line 119: 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 bridge_mld.sh line 120: 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 bridge_mld.sh line 161: $MZ -q $host1_if $MZPKT_IS_INC ^-------^ SC2086 (info): Double quote to prevent globbing and word splitting. ^-----------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: $MZ -q "$host1_if" "$MZPKT_IS_INC" In bridge_mld.sh line 180: local pkt=$4 ^-^ SC2034 (warning): pkt appears unused. Verify use (or export if used externally). In bridge_mld.sh line 184: mldv2include_prepare $h1 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: mldv2include_prepare "$h1" In bridge_mld.sh line 186: $MZ -c 1 -q $host1_if $MZPKT_IS_EXC ^-------^ SC2086 (info): Double quote to prevent globbing and word splitting. ^-----------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: $MZ -c 1 -q "$host1_if" "$MZPKT_IS_EXC" In bridge_mld.sh line 211: bridge mdb del dev br0 port $port grp $TEST_GROUP ^---^ 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 br0 port "$port" grp "$TEST_GROUP" In bridge_mld.sh line 220: mldv2include_prepare $h1 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: mldv2include_prepare "$h1" In bridge_mld.sh line 229: mldv2cleanup $swp1 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: mldv2cleanup "$swp1" In bridge_mld.sh line 237: mldv2include_prepare $h1 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: mldv2include_prepare "$h1" In bridge_mld.sh line 239: $MZ -c 1 -q $h1 $MZPKT_ALLOW ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. ^----------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: $MZ -c 1 -q "$h1" "$MZPKT_ALLOW" In bridge_mld.sh line 250: mldv2cleanup $swp1 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: mldv2cleanup "$swp1" In bridge_mld.sh line 258: mldv2include_prepare $h1 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: mldv2include_prepare "$h1" In bridge_mld.sh line 260: $MZ -c 1 -q $h1 $MZPKT_IS_INC2 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. ^------------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: $MZ -c 1 -q "$h1" "$MZPKT_IS_INC2" In bridge_mld.sh line 271: mldv2cleanup $swp1 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: mldv2cleanup "$swp1" In bridge_mld.sh line 278: mldv2exclude_prepare $h1 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: mldv2exclude_prepare "$h1" In bridge_mld.sh line 285: mldv2cleanup $swp1 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: mldv2cleanup "$swp1" In bridge_mld.sh line 294: mldv2include_prepare $h1 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: mldv2include_prepare "$h1" In bridge_mld.sh line 299: $MZ -c 1 -q $h1 $MZPKT_TO_EXC ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. ^-----------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: $MZ -c 1 -q "$h1" "$MZPKT_TO_EXC" In bridge_mld.sh line 332: mldv2cleanup $swp1 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: mldv2cleanup "$swp1" In bridge_mld.sh line 341: mldv2exclude_prepare $h1 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: mldv2exclude_prepare "$h1" In bridge_mld.sh line 343: $MZ -c 1 -q $h1 $MZPKT_ALLOW2 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. ^-----------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: $MZ -c 1 -q "$h1" "$MZPKT_ALLOW2" In bridge_mld.sh line 355: mldv2cleanup $swp1 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: mldv2cleanup "$swp1" In bridge_mld.sh line 364: mldv2exclude_prepare $h1 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: mldv2exclude_prepare "$h1" In bridge_mld.sh line 366: $MZ -c 1 -q $h1 $MZPKT_IS_INC3 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. ^------------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: $MZ -c 1 -q "$h1" "$MZPKT_IS_INC3" In bridge_mld.sh line 378: mldv2cleanup $swp1 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: mldv2cleanup "$swp1" In bridge_mld.sh line 387: mldv2exclude_prepare $h1 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: mldv2exclude_prepare "$h1" In bridge_mld.sh line 389: $MZ -c 1 -q $h1 $MZPKT_IS_EXC2 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. ^------------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: $MZ -c 1 -q "$h1" "$MZPKT_IS_EXC2" In bridge_mld.sh line 401: mldv2cleanup $swp1 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: mldv2cleanup "$swp1" In bridge_mld.sh line 410: mldv2exclude_prepare $h1 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: mldv2exclude_prepare "$h1" In bridge_mld.sh line 415: $MZ -c 1 -q $h1 $MZPKT_TO_EXC ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. ^-----------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: $MZ -c 1 -q "$h1" "$MZPKT_TO_EXC" In bridge_mld.sh line 429: mldv2cleanup $swp1 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: mldv2cleanup "$swp1" In bridge_mld.sh line 437: mldv2include_prepare $h1 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: mldv2include_prepare "$h1" In bridge_mld.sh line 439: $MZ -c 1 -q $h1 $MZPKT_BLOCK ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. ^----------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: $MZ -c 1 -q "$h1" "$MZPKT_BLOCK" In bridge_mld.sh line 458: mldv2cleanup $swp1 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: mldv2cleanup "$swp1" In bridge_mld.sh line 467: mldv2exclude_prepare $h1 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: mldv2exclude_prepare "$h1" In bridge_mld.sh line 472: $MZ -c 1 -q $h1 $MZPKT_BLOCK ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. ^----------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: $MZ -c 1 -q "$h1" "$MZPKT_BLOCK" In bridge_mld.sh line 486: mldv2cleanup $swp1 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: mldv2cleanup "$swp1" In bridge_mld.sh line 499: mldv2exclude_prepare $h1 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: mldv2exclude_prepare "$h1" In bridge_mld.sh line 504: $MZ -c 1 -q $h1 $MZPKT_ALLOW2 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. ^-----------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: $MZ -c 1 -q "$h1" "$MZPKT_ALLOW2" In bridge_mld.sh line 538: mldv2cleanup $swp1 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: mldv2cleanup "$swp1" In bridge_mld.sh line 545: mldv2exclude_prepare $h1 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: mldv2exclude_prepare "$h1" In bridge_mld.sh line 547: $MZ -c 1 -q $h2 $MZPKT_IS_INC ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. ^-----------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: $MZ -c 1 -q "$h2" "$MZPKT_IS_INC" In bridge_mld.sh line 566: mldv2cleanup $swp1 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: mldv2cleanup "$swp1" In bridge_mld.sh line 567: mldv2cleanup $swp2 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: mldv2cleanup "$swp2" In bridge_mld.sh line 590: [[ $is_port -eq 1 ]] && bridge link set dev $swp1 state 0 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: [[ $is_port -eq 1 ]] && bridge link set dev "$swp1" state 0 In bridge_mld.sh line 591: [[ $is_port -ne 1 ]] && bridge vlan set vid 1 dev $swp1 state 4 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: [[ $is_port -ne 1 ]] && bridge vlan set vid 1 dev "$swp1" state 4 In bridge_mld.sh line 593: local tx_s=$(ip -j -p stats show dev $swp1 \ ^--^ 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 tx_s=$(ip -j -p stats show dev "$swp1" \ In bridge_mld.sh line 596: [[ $is_port -eq 1 ]] && bridge link set dev $swp1 state 3 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: [[ $is_port -eq 1 ]] && bridge link set dev "$swp1" state 3 In bridge_mld.sh line 597: [[ $is_port -ne 1 ]] && bridge vlan set vid 1 dev $swp1 state 3 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: [[ $is_port -ne 1 ]] && bridge vlan set vid 1 dev "$swp1" state 3 In bridge_mld.sh line 599: local tx_e=$(ip -j -p stats show dev $swp1 \ ^--^ 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 tx_e=$(ip -j -p stats show dev "$swp1" \ In bridge_mld.sh line 604: local tx=$(expr $tx_e - $tx_s) ^-- SC2155 (warning): Declare and assign separately to avoid masking return values. ^--^ SC2003 (style): expr is antiquated. Consider rewriting this using $((..)), ${} or [[ ]]. ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: local tx=$(expr "$tx_e" - "$tx_s") In bridge_mld.sh line 605: test $tx -gt 0 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: test "$tx" -gt 0 In bridge_mld.sh line 637: 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/SC2034 -- pkt appears unused. Verify use (o... https://www.shellcheck.net/wiki/SC2155 -- Declare and assign separately to ... https://www.shellcheck.net/wiki/SC2086 -- Double quote to prevent globbing ... Checking tools/testing/selftests/net/forwarding/bridge_sticky_fdb.sh - a8cd9b13a1e3d04359e2623811a65ad2a1547446e463cdae91638a35fcc35033 In bridge_sticky_fdb.sh line 13: ip link set dev $swp1 master br0 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link set dev "$swp1" master br0 In bridge_sticky_fdb.sh line 14: ip link set dev $swp2 master br0 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link set dev "$swp2" master br0 In bridge_sticky_fdb.sh line 17: ip link set dev $h1 up ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link set dev "$h1" up In bridge_sticky_fdb.sh line 18: 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 bridge_sticky_fdb.sh line 19: ip link set dev $h2 up ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link set dev "$h2" up In bridge_sticky_fdb.sh line 20: 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 bridge_sticky_fdb.sh line 25: 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 bridge_sticky_fdb.sh line 26: ip link set dev $h2 down ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link set dev "$h2" down In bridge_sticky_fdb.sh line 27: 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 bridge_sticky_fdb.sh line 28: ip link set dev $h1 down ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link set dev "$h1" down In bridge_sticky_fdb.sh line 51: bridge fdb add $TEST_MAC dev $swp1 master static sticky ^-------^ 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 add "$TEST_MAC" dev "$swp1" master static sticky In bridge_sticky_fdb.sh line 53: bridge fdb del $TEST_MAC dev $swp1 vlan 1 master static sticky ^-------^ 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 "$TEST_MAC" dev "$swp1" vlan 1 master static sticky In bridge_sticky_fdb.sh line 54: $MZ -c 1 -a $TEST_MAC -t arp -q $h2 "request" ^-------^ SC2086 (info): Double quote to prevent globbing and word splitting. ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: $MZ -c 1 -a "$TEST_MAC" -t arp -q "$h2" "request" In bridge_sticky_fdb.sh line 55: bridge -j fdb show br br0 brport $swp1\ ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: bridge -j fdb show br br0 brport "$swp1"\ In bridge_sticky_fdb.sh line 69: 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 ... Checking tools/testing/selftests/net/forwarding/bridge_vlan_aware.sh - beafe7452ff1ade48f8acaf495810ddb4ba99619f955d6430de614fdce26f1f2 In bridge_vlan_aware.sh line 11: simple_if_init $h1 192.0.2.1/24 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/24 2001:db8:1::1/64 In bridge_vlan_aware.sh line 16: simple_if_fini $h1 192.0.2.1/24 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/24 2001:db8:1::1/64 In bridge_vlan_aware.sh line 21: simple_if_init $h2 192.0.2.2/24 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/24 2001:db8:1::2/64 In bridge_vlan_aware.sh line 26: simple_if_fini $h2 192.0.2.2/24 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/24 2001:db8:1::2/64 In bridge_vlan_aware.sh line 33: ageing_time $LOW_AGEING_TIME \ ^--------------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ageing_time "$LOW_AGEING_TIME" \ In bridge_vlan_aware.sh line 36: ip link set dev $swp1 master br0 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link set dev "$swp1" master br0 In bridge_vlan_aware.sh line 37: ip link set dev $swp2 master br0 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link set dev "$swp2" master br0 In bridge_vlan_aware.sh line 40: 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 bridge_vlan_aware.sh line 41: 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 bridge_vlan_aware.sh line 46: 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 bridge_vlan_aware.sh line 47: 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 bridge_vlan_aware.sh line 82: ping_test $h1 192.0.2.2 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ping_test "$h1" 192.0.2.2 In bridge_vlan_aware.sh line 87: ping6_test $h1 2001:db8:1::2 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ping6_test "$h1" 2001:db8:1::2 In bridge_vlan_aware.sh line 92: learning_test "br0" $swp1 $h1 $h2 ^---^ 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: learning_test "br0" "$swp1" "$h1" "$h2" In bridge_vlan_aware.sh line 97: flood_test $swp2 $h1 $h2 ^---^ 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: flood_test "$swp2" "$h1" "$h2" In bridge_vlan_aware.sh line 106: bridge vlan add vid 10 dev $swp1 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: bridge vlan add vid 10 dev "$swp1" In bridge_vlan_aware.sh line 107: bridge vlan del vid 10 dev $swp1 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: bridge vlan del vid 10 dev "$swp1" In bridge_vlan_aware.sh line 121: bridge fdb add de:ad:be:ef:13:37 dev $swp1 master extern_learn vlan 1 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: bridge fdb add de:ad:be:ef:13:37 dev "$swp1" master extern_learn vlan 1 In bridge_vlan_aware.sh line 123: bridge fdb show brport $swp1 | grep -q de:ad:be:ef:13:37 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: bridge fdb show brport "$swp1" | grep -q de:ad:be:ef:13:37 In bridge_vlan_aware.sh line 131: bridge fdb show brport $swp1 | grep -q de:ad:be:ef:13:37 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: bridge fdb show brport "$swp1" | grep -q de:ad:be:ef:13:37 In bridge_vlan_aware.sh line 134: $MZ -c 1 -p 64 -a $mac -t ip -q $h2 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: $MZ -c 1 -p 64 -a "$mac" -t ip -q "$h2" In bridge_vlan_aware.sh line 136: bridge fdb show brport $swp2 | grep -q de:ad:be:ef:13:37 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: bridge fdb show brport "$swp2" | grep -q de:ad:be:ef:13:37 In bridge_vlan_aware.sh line 141: bridge fdb del de:ad:be:ef:13:37 dev $swp2 master vlan 1 &> /dev/null ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: bridge fdb del de:ad:be:ef:13:37 dev "$swp2" master vlan 1 &> /dev/null In bridge_vlan_aware.sh line 142: bridge fdb del de:ad:be:ef:13:37 dev $swp1 master vlan 1 &> /dev/null ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: bridge fdb del de:ad:be:ef:13:37 dev "$swp1" master vlan 1 &> /dev/null In bridge_vlan_aware.sh line 155: tc qdisc add dev $h2 clsact ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc qdisc add dev "$h2" clsact In bridge_vlan_aware.sh line 156: tc filter add dev $h2 ingress protocol all pref 1 handle 101 \ ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter add dev "$h2" ingress protocol all pref 1 handle 101 \ In bridge_vlan_aware.sh line 157: flower dst_mac $mac action drop ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: flower dst_mac "$mac" action drop In bridge_vlan_aware.sh line 158: ip link set $h2 promisc on ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link set "$h2" promisc on In bridge_vlan_aware.sh line 159: ethtool -K $h2 rx-vlan-filter off rx-vlan-stag-filter off ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ethtool -K "$h2" rx-vlan-filter off rx-vlan-stag-filter off In bridge_vlan_aware.sh line 161: $MZ -q -c 1 -b $mac -a own $h1 "88:a8 00:03 81:00 00:05 08:00 aa-aa-aa-aa-aa-aa-aa-aa-aa" ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: $MZ -q -c 1 -b "$mac" -a own "$h1" "88:a8 00:03 81:00 00:05 08:00 aa-aa-aa-aa-aa-aa-aa-aa-aa" In bridge_vlan_aware.sh line 167: bridge -j fdb show $swp1 | \ ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: bridge -j fdb show "$swp1" | \ In bridge_vlan_aware.sh line 168: jq -e ".[] | select(.mac == \"$(mac_get $h1)\") | select(.vlan == 1)" &> /dev/null ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: jq -e ".[] | select(.mac == \"$(mac_get "$h1")\") | select(.vlan == 1)" &> /dev/null In bridge_vlan_aware.sh line 174: tc -j -s filter show dev $h2 ingress \ ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc -j -s filter show dev "$h2" ingress \ In bridge_vlan_aware.sh line 180: bridge vlan del dev $swp1 vid 1 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: bridge vlan del dev "$swp1" vid 1 In bridge_vlan_aware.sh line 182: $MZ -q -c 1 -b $mac -a own $h1 "88:a8 00:03 81:00 00:05 08:00 aa-aa-aa-aa-aa-aa-aa-aa-aa" ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: $MZ -q -c 1 -b "$mac" -a own "$h1" "88:a8 00:03 81:00 00:05 08:00 aa-aa-aa-aa-aa-aa-aa-aa-aa" In bridge_vlan_aware.sh line 186: tc -j -s filter show dev $h2 ingress \ ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc -j -s filter show dev "$h2" ingress \ In bridge_vlan_aware.sh line 192: bridge vlan add dev $swp1 vid 1 pvid untagged ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: bridge vlan add dev "$swp1" vid 1 pvid untagged In bridge_vlan_aware.sh line 193: ip link set $h2 promisc off ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link set "$h2" promisc off In bridge_vlan_aware.sh line 194: tc qdisc del dev $h2 clsact ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc qdisc del dev "$h2" clsact In bridge_vlan_aware.sh line 202: tc filter add dev $h2 ingress protocol all pref 1 handle 101 \ ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter add dev "$h2" ingress protocol all pref 1 handle 101 \ In bridge_vlan_aware.sh line 203: flower dst_mac $mac action drop ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: flower dst_mac "$mac" action drop In bridge_vlan_aware.sh line 205: $MZ -q -c 1 -b $mac -a own $h1 "81:00 00:00 08:00 aa-aa-aa-aa-aa-aa-aa-aa-aa" ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: $MZ -q -c 1 -b "$mac" -a own "$h1" "81:00 00:00 08:00 aa-aa-aa-aa-aa-aa-aa-aa-aa" In bridge_vlan_aware.sh line 208: tc -j -s filter show dev $h2 ingress \ ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc -j -s filter show dev "$h2" ingress \ In bridge_vlan_aware.sh line 211: check_err_fail $should_fail $? "802.1p-tagged reception" ^----------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: check_err_fail "$should_fail" $? "802.1p-tagged reception" In bridge_vlan_aware.sh line 213: tc filter del dev $h2 ingress pref 1 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter del dev "$h2" ingress pref 1 In bridge_vlan_aware.sh line 220: tc qdisc add dev $h2 clsact ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc qdisc add dev "$h2" clsact In bridge_vlan_aware.sh line 221: ip link set $h2 promisc on ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link set "$h2" promisc on In bridge_vlan_aware.sh line 234: ip link set $h2 promisc off ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link set "$h2" promisc off In bridge_vlan_aware.sh line 235: tc qdisc del dev $h2 clsact ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc qdisc del dev "$h2" clsact In bridge_vlan_aware.sh line 240: ping_do $h1 192.0.2.2 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ping_do "$h1" 192.0.2.2 In bridge_vlan_aware.sh line 250: tc qdisc add dev $h2 clsact ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc qdisc add dev "$h2" clsact In bridge_vlan_aware.sh line 251: ip link set $h2 promisc on ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link set "$h2" promisc on In bridge_vlan_aware.sh line 258: bridge vlan add dev $swp1 vid 1 untagged ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: bridge vlan add dev "$swp1" vid 1 untagged In bridge_vlan_aware.sh line 260: bridge vlan add dev $swp1 vid 1 pvid untagged ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: bridge vlan add dev "$swp1" vid 1 pvid untagged In bridge_vlan_aware.sh line 263: bridge vlan del dev $swp1 vid 1 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: bridge vlan del dev "$swp1" vid 1 In bridge_vlan_aware.sh line 265: bridge vlan add dev $swp1 vid 1 pvid untagged ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: bridge vlan add dev "$swp1" vid 1 pvid untagged In bridge_vlan_aware.sh line 271: ip link set $swp1 down ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link set "$swp1" down In bridge_vlan_aware.sh line 272: ip link set $swp1 up ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link set "$swp1" up In bridge_vlan_aware.sh line 278: ip link set $swp1 nomaster ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link set "$swp1" nomaster In bridge_vlan_aware.sh line 279: ip link set $swp1 master br0 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link set "$swp1" master br0 In bridge_vlan_aware.sh line 287: ip link set $h2 promisc off ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link set "$h2" promisc off In bridge_vlan_aware.sh line 288: tc qdisc del dev $h2 clsact ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc qdisc del dev "$h2" clsact In bridge_vlan_aware.sh line 298: 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 ... Checking tools/testing/selftests/net/forwarding/custom_multipath_hash.sh - feef75360916395bb50579a2362a27bb961763cb35917e4c01701137e61cacd9 In custom_multipath_hash.sh line 56: simple_if_init $h1 198.51.100.2/24 2001:db8:1::2/64 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: simple_if_init "$h1" 198.51.100.2/24 2001:db8:1::2/64 In custom_multipath_hash.sh line 57: ip route add vrf v$h1 default via 198.51.100.1 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 route add vrf v"$h1" default via 198.51.100.1 dev "$h1" In custom_multipath_hash.sh line 58: ip -6 route add vrf v$h1 default via 2001:db8:1::1 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 -6 route add vrf v"$h1" default via 2001:db8:1::1 dev "$h1" In custom_multipath_hash.sh line 63: ip -6 route del vrf v$h1 default ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip -6 route del vrf v"$h1" default In custom_multipath_hash.sh line 64: ip route del vrf v$h1 default ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip route del vrf v"$h1" default In custom_multipath_hash.sh line 65: simple_if_fini $h1 198.51.100.2/24 2001:db8:1::2/64 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: simple_if_fini "$h1" 198.51.100.2/24 2001:db8:1::2/64 In custom_multipath_hash.sh line 70: simple_if_init $rp1 198.51.100.1/24 2001:db8:1::1/64 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: simple_if_init "$rp1" 198.51.100.1/24 2001:db8:1::1/64 In custom_multipath_hash.sh line 71: __simple_if_init $rp11 v$rp1 192.0.2.1/28 2001:db8:2::1/64 ^---^ 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 "$rp11" v"$rp1" 192.0.2.1/28 2001:db8:2::1/64 In custom_multipath_hash.sh line 72: __simple_if_init $rp12 v$rp1 192.0.2.17/28 2001:db8:3::1/64 ^---^ 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 "$rp12" v"$rp1" 192.0.2.17/28 2001:db8:3::1/64 In custom_multipath_hash.sh line 74: ip route add vrf v$rp1 203.0.113.0/24 \ ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip route add vrf v"$rp1" 203.0.113.0/24 \ In custom_multipath_hash.sh line 75: nexthop via 192.0.2.2 dev $rp11 \ ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: nexthop via 192.0.2.2 dev "$rp11" \ In custom_multipath_hash.sh line 76: nexthop via 192.0.2.18 dev $rp12 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: nexthop via 192.0.2.18 dev "$rp12" In custom_multipath_hash.sh line 78: ip -6 route add vrf v$rp1 2001:db8:4::/64 \ ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip -6 route add vrf v"$rp1" 2001:db8:4::/64 \ In custom_multipath_hash.sh line 79: nexthop via 2001:db8:2::2 dev $rp11 \ ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: nexthop via 2001:db8:2::2 dev "$rp11" \ In custom_multipath_hash.sh line 80: nexthop via 2001:db8:3::2 dev $rp12 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: nexthop via 2001:db8:3::2 dev "$rp12" In custom_multipath_hash.sh line 85: ip -6 route del vrf v$rp1 2001:db8:4::/64 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip -6 route del vrf v"$rp1" 2001:db8:4::/64 In custom_multipath_hash.sh line 87: ip route del vrf v$rp1 203.0.113.0/24 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip route del vrf v"$rp1" 203.0.113.0/24 In custom_multipath_hash.sh line 89: __simple_if_fini $rp12 192.0.2.17/28 2001:db8:3::1/64 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: __simple_if_fini "$rp12" 192.0.2.17/28 2001:db8:3::1/64 In custom_multipath_hash.sh line 90: __simple_if_fini $rp11 192.0.2.1/28 2001:db8:2::1/64 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: __simple_if_fini "$rp11" 192.0.2.1/28 2001:db8:2::1/64 In custom_multipath_hash.sh line 91: simple_if_fini $rp1 198.51.100.1/24 2001:db8:1::1/64 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: simple_if_fini "$rp1" 198.51.100.1/24 2001:db8:1::1/64 In custom_multipath_hash.sh line 96: simple_if_init $rp2 203.0.113.1/24 2001:db8:4::1/64 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: simple_if_init "$rp2" 203.0.113.1/24 2001:db8:4::1/64 In custom_multipath_hash.sh line 97: __simple_if_init $rp21 v$rp2 192.0.2.2/28 2001:db8:2::2/64 ^---^ 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 "$rp21" v"$rp2" 192.0.2.2/28 2001:db8:2::2/64 In custom_multipath_hash.sh line 98: __simple_if_init $rp22 v$rp2 192.0.2.18/28 2001:db8:3::2/64 ^---^ 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 "$rp22" v"$rp2" 192.0.2.18/28 2001:db8:3::2/64 In custom_multipath_hash.sh line 100: ip route add vrf v$rp2 198.51.100.0/24 \ ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip route add vrf v"$rp2" 198.51.100.0/24 \ In custom_multipath_hash.sh line 101: nexthop via 192.0.2.1 dev $rp21 \ ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: nexthop via 192.0.2.1 dev "$rp21" \ In custom_multipath_hash.sh line 102: nexthop via 192.0.2.17 dev $rp22 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: nexthop via 192.0.2.17 dev "$rp22" In custom_multipath_hash.sh line 104: ip -6 route add vrf v$rp2 2001:db8:1::/64 \ ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip -6 route add vrf v"$rp2" 2001:db8:1::/64 \ In custom_multipath_hash.sh line 105: nexthop via 2001:db8:2::1 dev $rp21 \ ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: nexthop via 2001:db8:2::1 dev "$rp21" \ In custom_multipath_hash.sh line 106: nexthop via 2001:db8:3::1 dev $rp22 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: nexthop via 2001:db8:3::1 dev "$rp22" In custom_multipath_hash.sh line 111: ip -6 route del vrf v$rp2 2001:db8:1::/64 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip -6 route del vrf v"$rp2" 2001:db8:1::/64 In custom_multipath_hash.sh line 113: ip route del vrf v$rp2 198.51.100.0/24 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip route del vrf v"$rp2" 198.51.100.0/24 In custom_multipath_hash.sh line 115: __simple_if_fini $rp22 192.0.2.18/28 2001:db8:3::2/64 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: __simple_if_fini "$rp22" 192.0.2.18/28 2001:db8:3::2/64 In custom_multipath_hash.sh line 116: __simple_if_fini $rp21 192.0.2.2/28 2001:db8:2::2/64 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: __simple_if_fini "$rp21" 192.0.2.2/28 2001:db8:2::2/64 In custom_multipath_hash.sh line 117: simple_if_fini $rp2 203.0.113.1/24 2001:db8:4::1/64 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: simple_if_fini "$rp2" 203.0.113.1/24 2001:db8:4::1/64 In custom_multipath_hash.sh line 122: simple_if_init $h2 203.0.113.2/24 2001:db8:4::2/64 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: simple_if_init "$h2" 203.0.113.2/24 2001:db8:4::2/64 In custom_multipath_hash.sh line 123: ip route add vrf v$h2 default via 203.0.113.1 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 route add vrf v"$h2" default via 203.0.113.1 dev "$h2" In custom_multipath_hash.sh line 124: ip -6 route add vrf v$h2 default via 2001:db8:4::1 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 -6 route add vrf v"$h2" default via 2001:db8:4::1 dev "$h2" In custom_multipath_hash.sh line 129: ip -6 route del vrf v$h2 default ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip -6 route del vrf v"$h2" default In custom_multipath_hash.sh line 130: ip route del vrf v$h2 default ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip route del vrf v"$h2" default In custom_multipath_hash.sh line 131: simple_if_fini $h2 203.0.113.2/24 2001:db8:4::2/64 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: simple_if_fini "$h2" 203.0.113.2/24 2001:db8:4::2/64 In custom_multipath_hash.sh line 174: ping_test $h1 203.0.113.2 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ping_test "$h1" 203.0.113.2 In custom_multipath_hash.sh line 179: ping6_test $h1 2001:db8:4::2 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ping6_test "$h1" 2001:db8:4::2 In custom_multipath_hash.sh line 184: ip vrf exec v$h1 $MZ -q -p 64 \ ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip vrf exec v"$h1" "$MZ" -q -p 64 \ In custom_multipath_hash.sh line 186: -d $MZ_DELAY -c 50 -t udp $h1 "sp=20000,dp=30000" ^-------^ SC2086 (info): Double quote to prevent globbing and word splitting. ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: -d "$MZ_DELAY" -c 50 -t udp "$h1" "sp=20000,dp=30000" In custom_multipath_hash.sh line 191: ip vrf exec v$h1 $MZ -q -p 64 \ ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip vrf exec v"$h1" "$MZ" -q -p 64 \ In custom_multipath_hash.sh line 193: -d $MZ_DELAY -c 50 -t udp $h1 "sp=20000,dp=30000" ^-------^ SC2086 (info): Double quote to prevent globbing and word splitting. ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: -d "$MZ_DELAY" -c 50 -t udp "$h1" "sp=20000,dp=30000" In custom_multipath_hash.sh line 198: ip vrf exec v$h1 $MZ -q -p 64 \ ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip vrf exec v"$h1" "$MZ" -q -p 64 \ In custom_multipath_hash.sh line 200: -d $MZ_DELAY -t udp $h1 "sp=0-32768,dp=30000" ^-------^ SC2086 (info): Double quote to prevent globbing and word splitting. ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: -d "$MZ_DELAY" -t udp "$h1" "sp=0-32768,dp=30000" In custom_multipath_hash.sh line 205: ip vrf exec v$h1 $MZ -q -p 64 \ ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip vrf exec v"$h1" "$MZ" -q -p 64 \ In custom_multipath_hash.sh line 207: -d $MZ_DELAY -t udp $h1 "sp=20000,dp=0-32768" ^-------^ SC2086 (info): Double quote to prevent globbing and word splitting. ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: -d "$MZ_DELAY" -t udp "$h1" "sp=20000,dp=0-32768" In custom_multipath_hash.sh line 212: ip vrf exec v$h1 $MZ -6 -q -p 64 \ ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip vrf exec v"$h1" "$MZ" -6 -q -p 64 \ In custom_multipath_hash.sh line 214: -d $MZ_DELAY -c 50 -t udp $h1 "sp=20000,dp=30000" ^-------^ SC2086 (info): Double quote to prevent globbing and word splitting. ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: -d "$MZ_DELAY" -c 50 -t udp "$h1" "sp=20000,dp=30000" In custom_multipath_hash.sh line 219: ip vrf exec v$h1 $MZ -6 -q -p 64 \ ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip vrf exec v"$h1" "$MZ" -6 -q -p 64 \ In custom_multipath_hash.sh line 221: -d $MZ_DELAY -c 50 -t udp $h1 "sp=20000,dp=30000" ^-------^ SC2086 (info): Double quote to prevent globbing and word splitting. ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: -d "$MZ_DELAY" -c 50 -t udp "$h1" "sp=20000,dp=30000" In custom_multipath_hash.sh line 227: ip vrf exec v$h1 sh -c \ ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip vrf exec v"$h1" sh -c \ In custom_multipath_hash.sh line 235: ip vrf exec v$h1 $MZ -6 -q -p 64 \ ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip vrf exec v"$h1" "$MZ" -6 -q -p 64 \ In custom_multipath_hash.sh line 237: -d $MZ_DELAY -t udp $h1 "sp=0-32768,dp=30000" ^-------^ SC2086 (info): Double quote to prevent globbing and word splitting. ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: -d "$MZ_DELAY" -t udp "$h1" "sp=0-32768,dp=30000" In custom_multipath_hash.sh line 242: ip vrf exec v$h1 $MZ -6 -q -p 64 \ ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip vrf exec v"$h1" "$MZ" -6 -q -p 64 \ In custom_multipath_hash.sh line 244: -d $MZ_DELAY -t udp $h1 "sp=20000,dp=0-32768" ^-------^ SC2086 (info): Double quote to prevent globbing and word splitting. ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: -d "$MZ_DELAY" -t udp "$h1" "sp=20000,dp=0-32768" In custom_multipath_hash.sh line 251: local send_flows="$@" ^--^ SC2124 (warning): Assigning an array to a string! Assign as array, or use * instead of @ to concatenate. In custom_multipath_hash.sh line 255: local t0_rp11=$(link_stats_tx_packets_get $rp11) ^-----^ 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_rp11=$(link_stats_tx_packets_get "$rp11") In custom_multipath_hash.sh line 256: local t0_rp12=$(link_stats_tx_packets_get $rp12) ^-----^ 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_rp12=$(link_stats_tx_packets_get "$rp12") In custom_multipath_hash.sh line 260: local t1_rp11=$(link_stats_tx_packets_get $rp11) ^-----^ 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_rp11=$(link_stats_tx_packets_get "$rp11") In custom_multipath_hash.sh line 261: local t1_rp12=$(link_stats_tx_packets_get $rp12) ^-----^ 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_rp12=$(link_stats_tx_packets_get "$rp12") In custom_multipath_hash.sh line 269: local pct=$(echo "$diff / $sum * 100" | bc -l) ^-^ SC2155 (warning): Declare and assign separately to avoid masking return values. In custom_multipath_hash.sh line 270: local is_balanced=$(echo "-20 <= $pct && $pct <= 20" | bc) ^---------^ SC2155 (warning): Declare and assign separately to avoid masking return values. In custom_multipath_hash.sh line 372: 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/SC2124 -- Assigning an array to a string! A... https://www.shellcheck.net/wiki/SC2155 -- Declare and assign separately to ... https://www.shellcheck.net/wiki/SC2086 -- Double quote to prevent globbing ... Checking tools/testing/selftests/net/forwarding/gre_custom_multipath_hash.sh - 445306b7293eb5abcc5103adcd817f49fc36f06a5909e8bc59e17582e8a25de0 In gre_custom_multipath_hash.sh line 89: simple_if_init $h1 198.51.100.2/24 2001:db8:1::2/64 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: simple_if_init "$h1" 198.51.100.2/24 2001:db8:1::2/64 In gre_custom_multipath_hash.sh line 90: ip route add vrf v$h1 default via 198.51.100.1 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 route add vrf v"$h1" default via 198.51.100.1 dev "$h1" In gre_custom_multipath_hash.sh line 91: ip -6 route add vrf v$h1 default via 2001:db8:1::1 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 -6 route add vrf v"$h1" default via 2001:db8:1::1 dev "$h1" In gre_custom_multipath_hash.sh line 96: ip -6 route del vrf v$h1 default ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip -6 route del vrf v"$h1" default In gre_custom_multipath_hash.sh line 97: ip route del vrf v$h1 default ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip route del vrf v"$h1" default In gre_custom_multipath_hash.sh line 98: simple_if_fini $h1 198.51.100.2/24 2001:db8:1::2/64 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: simple_if_fini "$h1" 198.51.100.2/24 2001:db8:1::2/64 In gre_custom_multipath_hash.sh line 103: simple_if_init $ol1 198.51.100.1/24 2001:db8:1::1/64 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: simple_if_init "$ol1" 198.51.100.1/24 2001:db8:1::1/64 In gre_custom_multipath_hash.sh line 104: __simple_if_init $ul1 v$ol1 192.0.2.17/28 ^--^ 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" 192.0.2.17/28 In gre_custom_multipath_hash.sh line 106: tunnel_create g1 gre 192.0.2.1 192.0.2.2 tos inherit dev v$ol1 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tunnel_create g1 gre 192.0.2.1 192.0.2.2 tos inherit dev v"$ol1" In gre_custom_multipath_hash.sh line 107: __simple_if_init g1 v$ol1 192.0.2.1/32 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: __simple_if_init g1 v"$ol1" 192.0.2.1/32 In gre_custom_multipath_hash.sh line 108: ip route add vrf v$ol1 192.0.2.2/32 via 192.0.2.18 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip route add vrf v"$ol1" 192.0.2.2/32 via 192.0.2.18 In gre_custom_multipath_hash.sh line 110: ip route add vrf v$ol1 203.0.113.0/24 dev g1 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip route add vrf v"$ol1" 203.0.113.0/24 dev g1 In gre_custom_multipath_hash.sh line 111: ip -6 route add vrf v$ol1 2001:db8:2::/64 dev g1 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip -6 route add vrf v"$ol1" 2001:db8:2::/64 dev g1 In gre_custom_multipath_hash.sh line 116: ip -6 route del vrf v$ol1 2001:db8:2::/64 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip -6 route del vrf v"$ol1" 2001:db8:2::/64 In gre_custom_multipath_hash.sh line 117: ip route del vrf v$ol1 203.0.113.0/24 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip route del vrf v"$ol1" 203.0.113.0/24 In gre_custom_multipath_hash.sh line 119: ip route del vrf v$ol1 192.0.2.2/32 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip route del vrf v"$ol1" 192.0.2.2/32 In gre_custom_multipath_hash.sh line 123: __simple_if_fini $ul1 192.0.2.17/28 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: __simple_if_fini "$ul1" 192.0.2.17/28 In gre_custom_multipath_hash.sh line 124: simple_if_fini $ol1 198.51.100.1/24 2001:db8:1::1/64 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: simple_if_fini "$ol1" 198.51.100.1/24 2001:db8:1::1/64 In gre_custom_multipath_hash.sh line 129: simple_if_init $ul21 192.0.2.18/28 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: simple_if_init "$ul21" 192.0.2.18/28 In gre_custom_multipath_hash.sh line 130: __simple_if_init $ul22 v$ul21 ^---^ 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 "$ul22" v"$ul21" In gre_custom_multipath_hash.sh line 131: vlan_create $ul22 111 v$ul21 192.0.2.33/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 "$ul22" 111 v"$ul21" 192.0.2.33/28 In gre_custom_multipath_hash.sh line 132: vlan_create $ul22 222 v$ul21 192.0.2.49/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 "$ul22" 222 v"$ul21" 192.0.2.49/28 In gre_custom_multipath_hash.sh line 134: ip route add vrf v$ul21 192.0.2.1/32 via 192.0.2.17 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip route add vrf v"$ul21" 192.0.2.1/32 via 192.0.2.17 In gre_custom_multipath_hash.sh line 135: ip route add vrf v$ul21 192.0.2.2/32 \ ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip route add vrf v"$ul21" 192.0.2.2/32 \ In gre_custom_multipath_hash.sh line 142: ip route del vrf v$ul21 192.0.2.2/32 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip route del vrf v"$ul21" 192.0.2.2/32 In gre_custom_multipath_hash.sh line 143: ip route del vrf v$ul21 192.0.2.1/32 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip route del vrf v"$ul21" 192.0.2.1/32 In gre_custom_multipath_hash.sh line 145: vlan_destroy $ul22 222 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: vlan_destroy "$ul22" 222 In gre_custom_multipath_hash.sh line 146: vlan_destroy $ul22 111 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: vlan_destroy "$ul22" 111 In gre_custom_multipath_hash.sh line 147: __simple_if_fini $ul22 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: __simple_if_fini "$ul22" In gre_custom_multipath_hash.sh line 148: simple_if_fini $ul21 192.0.2.18/28 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: simple_if_fini "$ul21" 192.0.2.18/28 In gre_custom_multipath_hash.sh line 153: simple_if_init $ul31 192.0.2.65/28 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: simple_if_init "$ul31" 192.0.2.65/28 In gre_custom_multipath_hash.sh line 154: __simple_if_init $ul32 v$ul31 ^---^ 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 "$ul32" v"$ul31" In gre_custom_multipath_hash.sh line 155: vlan_create $ul32 111 v$ul31 192.0.2.34/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 "$ul32" 111 v"$ul31" 192.0.2.34/28 In gre_custom_multipath_hash.sh line 156: vlan_create $ul32 222 v$ul31 192.0.2.50/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 "$ul32" 222 v"$ul31" 192.0.2.50/28 In gre_custom_multipath_hash.sh line 158: ip route add vrf v$ul31 192.0.2.2/32 via 192.0.2.66 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip route add vrf v"$ul31" 192.0.2.2/32 via 192.0.2.66 In gre_custom_multipath_hash.sh line 159: ip route add vrf v$ul31 192.0.2.1/32 \ ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip route add vrf v"$ul31" 192.0.2.1/32 \ In gre_custom_multipath_hash.sh line 163: tc qdisc add dev $ul32 clsact ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc qdisc add dev "$ul32" clsact In gre_custom_multipath_hash.sh line 164: tc filter add dev $ul32 ingress pref 111 prot 802.1Q \ ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter add dev "$ul32" ingress pref 111 prot 802.1Q \ In gre_custom_multipath_hash.sh line 166: tc filter add dev $ul32 ingress pref 222 prot 802.1Q \ ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter add dev "$ul32" ingress pref 222 prot 802.1Q \ In gre_custom_multipath_hash.sh line 172: tc qdisc del dev $ul32 clsact ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc qdisc del dev "$ul32" clsact In gre_custom_multipath_hash.sh line 174: ip route del vrf v$ul31 192.0.2.1/32 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip route del vrf v"$ul31" 192.0.2.1/32 In gre_custom_multipath_hash.sh line 175: ip route del vrf v$ul31 192.0.2.2/32 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip route del vrf v"$ul31" 192.0.2.2/32 In gre_custom_multipath_hash.sh line 177: vlan_destroy $ul32 222 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: vlan_destroy "$ul32" 222 In gre_custom_multipath_hash.sh line 178: vlan_destroy $ul32 111 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: vlan_destroy "$ul32" 111 In gre_custom_multipath_hash.sh line 179: __simple_if_fini $ul32 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: __simple_if_fini "$ul32" In gre_custom_multipath_hash.sh line 180: simple_if_fini $ul31 192.0.2.65/28 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: simple_if_fini "$ul31" 192.0.2.65/28 In gre_custom_multipath_hash.sh line 185: simple_if_init $ol4 203.0.113.1/24 2001:db8:2::1/64 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: simple_if_init "$ol4" 203.0.113.1/24 2001:db8:2::1/64 In gre_custom_multipath_hash.sh line 186: __simple_if_init $ul4 v$ol4 192.0.2.66/28 ^--^ 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 "$ul4" v"$ol4" 192.0.2.66/28 In gre_custom_multipath_hash.sh line 188: tunnel_create g2 gre 192.0.2.2 192.0.2.1 tos inherit dev v$ol4 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tunnel_create g2 gre 192.0.2.2 192.0.2.1 tos inherit dev v"$ol4" In gre_custom_multipath_hash.sh line 189: __simple_if_init g2 v$ol4 192.0.2.2/32 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: __simple_if_init g2 v"$ol4" 192.0.2.2/32 In gre_custom_multipath_hash.sh line 190: ip route add vrf v$ol4 192.0.2.1/32 via 192.0.2.65 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip route add vrf v"$ol4" 192.0.2.1/32 via 192.0.2.65 In gre_custom_multipath_hash.sh line 192: ip route add vrf v$ol4 198.51.100.0/24 dev g2 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip route add vrf v"$ol4" 198.51.100.0/24 dev g2 In gre_custom_multipath_hash.sh line 193: ip -6 route add vrf v$ol4 2001:db8:1::/64 dev g2 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip -6 route add vrf v"$ol4" 2001:db8:1::/64 dev g2 In gre_custom_multipath_hash.sh line 198: ip -6 route del vrf v$ol4 2001:db8:1::/64 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip -6 route del vrf v"$ol4" 2001:db8:1::/64 In gre_custom_multipath_hash.sh line 199: ip route del vrf v$ol4 198.51.100.0/24 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip route del vrf v"$ol4" 198.51.100.0/24 In gre_custom_multipath_hash.sh line 201: ip route del vrf v$ol4 192.0.2.1/32 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip route del vrf v"$ol4" 192.0.2.1/32 In gre_custom_multipath_hash.sh line 205: __simple_if_fini $ul4 192.0.2.66/28 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: __simple_if_fini "$ul4" 192.0.2.66/28 In gre_custom_multipath_hash.sh line 206: simple_if_fini $ol4 203.0.113.1/24 2001:db8:2::1/64 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: simple_if_fini "$ol4" 203.0.113.1/24 2001:db8:2::1/64 In gre_custom_multipath_hash.sh line 211: simple_if_init $h2 203.0.113.2/24 2001:db8:2::2/64 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: simple_if_init "$h2" 203.0.113.2/24 2001:db8:2::2/64 In gre_custom_multipath_hash.sh line 212: ip route add vrf v$h2 default via 203.0.113.1 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 route add vrf v"$h2" default via 203.0.113.1 dev "$h2" In gre_custom_multipath_hash.sh line 213: ip -6 route add vrf v$h2 default via 2001:db8:2::1 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 -6 route add vrf v"$h2" default via 2001:db8:2::1 dev "$h2" In gre_custom_multipath_hash.sh line 218: ip -6 route del vrf v$h2 default ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip -6 route del vrf v"$h2" default In gre_custom_multipath_hash.sh line 219: ip route del vrf v$h2 default ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip route del vrf v"$h2" default In gre_custom_multipath_hash.sh line 220: simple_if_fini $h2 203.0.113.2/24 2001:db8:2::2/64 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: simple_if_fini "$h2" 203.0.113.2/24 2001:db8:2::2/64 In gre_custom_multipath_hash.sh line 269: ping_test $h1 203.0.113.2 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ping_test "$h1" 203.0.113.2 In gre_custom_multipath_hash.sh line 274: 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_custom_multipath_hash.sh line 279: ip vrf exec v$h1 $MZ -q -p 64 \ ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip vrf exec v"$h1" "$MZ" -q -p 64 \ In gre_custom_multipath_hash.sh line 281: -d $MZ_DELAY -c 50 -t udp $h1 "sp=20000,dp=30000" ^-------^ SC2086 (info): Double quote to prevent globbing and word splitting. ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: -d "$MZ_DELAY" -c 50 -t udp "$h1" "sp=20000,dp=30000" In gre_custom_multipath_hash.sh line 286: ip vrf exec v$h1 $MZ -q -p 64 \ ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip vrf exec v"$h1" "$MZ" -q -p 64 \ In gre_custom_multipath_hash.sh line 288: -d $MZ_DELAY -c 50 -t udp $h1 "sp=20000,dp=30000" ^-------^ SC2086 (info): Double quote to prevent globbing and word splitting. ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: -d "$MZ_DELAY" -c 50 -t udp "$h1" "sp=20000,dp=30000" In gre_custom_multipath_hash.sh line 293: ip vrf exec v$h1 $MZ -q -p 64 \ ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip vrf exec v"$h1" "$MZ" -q -p 64 \ In gre_custom_multipath_hash.sh line 295: -d $MZ_DELAY -t udp $h1 "sp=0-32768,dp=30000" ^-------^ SC2086 (info): Double quote to prevent globbing and word splitting. ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: -d "$MZ_DELAY" -t udp "$h1" "sp=0-32768,dp=30000" In gre_custom_multipath_hash.sh line 300: ip vrf exec v$h1 $MZ -q -p 64 \ ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip vrf exec v"$h1" "$MZ" -q -p 64 \ In gre_custom_multipath_hash.sh line 302: -d $MZ_DELAY -t udp $h1 "sp=20000,dp=0-32768" ^-------^ SC2086 (info): Double quote to prevent globbing and word splitting. ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: -d "$MZ_DELAY" -t udp "$h1" "sp=20000,dp=0-32768" In gre_custom_multipath_hash.sh line 307: ip vrf exec v$h1 $MZ -6 -q -p 64 \ ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip vrf exec v"$h1" "$MZ" -6 -q -p 64 \ In gre_custom_multipath_hash.sh line 309: -d $MZ_DELAY -c 50 -t udp $h1 "sp=20000,dp=30000" ^-------^ SC2086 (info): Double quote to prevent globbing and word splitting. ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: -d "$MZ_DELAY" -c 50 -t udp "$h1" "sp=20000,dp=30000" In gre_custom_multipath_hash.sh line 314: ip vrf exec v$h1 $MZ -6 -q -p 64 \ ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip vrf exec v"$h1" "$MZ" -6 -q -p 64 \ In gre_custom_multipath_hash.sh line 316: -d $MZ_DELAY -c 50 -t udp $h1 "sp=20000,dp=30000" ^-------^ SC2086 (info): Double quote to prevent globbing and word splitting. ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: -d "$MZ_DELAY" -c 50 -t udp "$h1" "sp=20000,dp=30000" In gre_custom_multipath_hash.sh line 322: ip vrf exec v$h1 sh -c \ ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip vrf exec v"$h1" sh -c \ In gre_custom_multipath_hash.sh line 330: ip vrf exec v$h1 $MZ -6 -q -p 64 \ ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip vrf exec v"$h1" "$MZ" -6 -q -p 64 \ In gre_custom_multipath_hash.sh line 332: -d $MZ_DELAY -t udp $h1 "sp=0-32768,dp=30000" ^-------^ SC2086 (info): Double quote to prevent globbing and word splitting. ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: -d "$MZ_DELAY" -t udp "$h1" "sp=0-32768,dp=30000" In gre_custom_multipath_hash.sh line 337: ip vrf exec v$h1 $MZ -6 -q -p 64 \ ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip vrf exec v"$h1" "$MZ" -6 -q -p 64 \ In gre_custom_multipath_hash.sh line 339: -d $MZ_DELAY -t udp $h1 "sp=20000,dp=0-32768" ^-------^ SC2086 (info): Double quote to prevent globbing and word splitting. ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: -d "$MZ_DELAY" -t udp "$h1" "sp=20000,dp=0-32768" In gre_custom_multipath_hash.sh line 346: local send_flows="$@" ^--^ SC2124 (warning): Assigning an array to a string! Assign as array, or use * instead of @ to concatenate. In gre_custom_multipath_hash.sh line 350: local t0_111=$(tc_rule_stats_get $ul32 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 "$ul32" 111 ingress) In gre_custom_multipath_hash.sh line 351: local t0_222=$(tc_rule_stats_get $ul32 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 "$ul32" 222 ingress) In gre_custom_multipath_hash.sh line 355: local t1_111=$(tc_rule_stats_get $ul32 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 "$ul32" 111 ingress) In gre_custom_multipath_hash.sh line 356: local t1_222=$(tc_rule_stats_get $ul32 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 "$ul32" 222 ingress) In gre_custom_multipath_hash.sh line 364: local pct=$(echo "$diff / $sum * 100" | bc -l) ^-^ SC2155 (warning): Declare and assign separately to avoid masking return values. In gre_custom_multipath_hash.sh line 365: local is_balanced=$(echo "-20 <= $pct && $pct <= 20" | bc) ^---------^ SC2155 (warning): Declare and assign separately to avoid masking return values. In gre_custom_multipath_hash.sh line 464: 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/SC2124 -- Assigning an array to a string! A... https://www.shellcheck.net/wiki/SC2155 -- Declare and assign separately to ... https://www.shellcheck.net/wiki/SC2086 -- Double quote to prevent globbing ... Checking tools/testing/selftests/net/forwarding/gre_inner_v4_multipath.sh - 3ead183821db9db3533b97727f7fca803933162bb3e749252c5fd52b9a9f9378 In gre_inner_v4_multipath.sh line 84: simple_if_init $h1 192.0.3.2/24 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: simple_if_init "$h1" 192.0.3.2/24 In gre_inner_v4_multipath.sh line 85: ip route add vrf v$h1 192.0.4.0/24 via 192.0.3.1 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip route add vrf v"$h1" 192.0.4.0/24 via 192.0.3.1 In gre_inner_v4_multipath.sh line 90: ip route del vrf v$h1 192.0.4.0/24 via 192.0.3.1 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip route del vrf v"$h1" 192.0.4.0/24 via 192.0.3.1 In gre_inner_v4_multipath.sh line 91: simple_if_fini $h1 192.0.3.2/24 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: simple_if_fini "$h1" 192.0.3.2/24 In gre_inner_v4_multipath.sh line 96: simple_if_init $ol1 192.0.3.1/24 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: simple_if_init "$ol1" 192.0.3.1/24 In gre_inner_v4_multipath.sh line 97: __simple_if_init $ul1 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: __simple_if_init "$ul1" v"$ol1" 192.0.2.129/28 In gre_inner_v4_multipath.sh line 99: tunnel_create g1 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 g1 gre 192.0.2.65 192.0.2.66 tos inherit dev v"$ol1" In gre_inner_v4_multipath.sh line 100: __simple_if_init g1 v$ol1 192.0.2.65/32 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: __simple_if_init g1 v"$ol1" 192.0.2.65/32 In gre_inner_v4_multipath.sh line 101: 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_inner_v4_multipath.sh line 103: ip route add vrf v$ol1 192.0.4.0/24 nexthop dev g1 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip route add vrf v"$ol1" 192.0.4.0/24 nexthop dev g1 In gre_inner_v4_multipath.sh line 108: ip route del vrf v$ol1 192.0.4.0/24 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip route del vrf v"$ol1" 192.0.4.0/24 In gre_inner_v4_multipath.sh line 110: ip route del vrf v$ol1 192.0.2.66/32 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip route del vrf v"$ol1" 192.0.2.66/32 In gre_inner_v4_multipath.sh line 114: __simple_if_fini $ul1 192.0.2.129/28 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: __simple_if_fini "$ul1" 192.0.2.129/28 In gre_inner_v4_multipath.sh line 115: simple_if_fini $ol1 192.0.3.1/24 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: simple_if_fini "$ol1" 192.0.3.1/24 In gre_inner_v4_multipath.sh line 120: simple_if_init $ul21 192.0.2.130/28 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: simple_if_init "$ul21" 192.0.2.130/28 In gre_inner_v4_multipath.sh line 121: __simple_if_init $ul22 v$ul21 ^---^ 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 "$ul22" v"$ul21" In gre_inner_v4_multipath.sh line 122: vlan_create $ul22 111 v$ul21 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 "$ul22" 111 v"$ul21" 192.0.2.145/28 In gre_inner_v4_multipath.sh line 123: vlan_create $ul22 222 v$ul21 192.0.2.161/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 "$ul22" 222 v"$ul21" 192.0.2.161/28 In gre_inner_v4_multipath.sh line 125: ip route add vrf v$ul21 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"$ul21" 192.0.2.65/32 via 192.0.2.129 In gre_inner_v4_multipath.sh line 126: ip route add vrf v$ul21 192.0.2.66/32 \ ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip route add vrf v"$ul21" 192.0.2.66/32 \ In gre_inner_v4_multipath.sh line 133: ip route del vrf v$ul21 192.0.2.66/32 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip route del vrf v"$ul21" 192.0.2.66/32 In gre_inner_v4_multipath.sh line 134: ip route del vrf v$ul21 192.0.2.65/32 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip route del vrf v"$ul21" 192.0.2.65/32 In gre_inner_v4_multipath.sh line 136: vlan_destroy $ul22 222 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: vlan_destroy "$ul22" 222 In gre_inner_v4_multipath.sh line 137: vlan_destroy $ul22 111 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: vlan_destroy "$ul22" 111 In gre_inner_v4_multipath.sh line 138: __simple_if_fini $ul22 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: __simple_if_fini "$ul22" In gre_inner_v4_multipath.sh line 139: simple_if_fini $ul21 192.0.2.130/28 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: simple_if_fini "$ul21" 192.0.2.130/28 In gre_inner_v4_multipath.sh line 144: simple_if_init $ul31 192.0.2.177/28 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: simple_if_init "$ul31" 192.0.2.177/28 In gre_inner_v4_multipath.sh line 145: __simple_if_init $ul32 v$ul31 ^---^ 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 "$ul32" v"$ul31" In gre_inner_v4_multipath.sh line 146: vlan_create $ul32 111 v$ul31 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 "$ul32" 111 v"$ul31" 192.0.2.146/28 In gre_inner_v4_multipath.sh line 147: vlan_create $ul32 222 v$ul31 192.0.2.162/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 "$ul32" 222 v"$ul31" 192.0.2.162/28 In gre_inner_v4_multipath.sh line 149: ip route add vrf v$ul31 192.0.2.66/32 via 192.0.2.178 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip route add vrf v"$ul31" 192.0.2.66/32 via 192.0.2.178 In gre_inner_v4_multipath.sh line 150: ip route add vrf v$ul31 192.0.2.65/32 \ ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip route add vrf v"$ul31" 192.0.2.65/32 \ In gre_inner_v4_multipath.sh line 154: tc qdisc add dev $ul32 clsact ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc qdisc add dev "$ul32" clsact In gre_inner_v4_multipath.sh line 155: tc filter add dev $ul32 ingress pref 111 prot 802.1Q \ ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter add dev "$ul32" ingress pref 111 prot 802.1Q \ In gre_inner_v4_multipath.sh line 157: tc filter add dev $ul32 ingress pref 222 prot 802.1Q \ ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter add dev "$ul32" ingress pref 222 prot 802.1Q \ In gre_inner_v4_multipath.sh line 163: tc qdisc del dev $ul32 clsact ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc qdisc del dev "$ul32" clsact In gre_inner_v4_multipath.sh line 165: ip route del vrf v$ul31 192.0.2.65/32 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip route del vrf v"$ul31" 192.0.2.65/32 In gre_inner_v4_multipath.sh line 166: ip route del vrf v$ul31 192.0.2.66/32 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip route del vrf v"$ul31" 192.0.2.66/32 In gre_inner_v4_multipath.sh line 168: vlan_destroy $ul32 222 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: vlan_destroy "$ul32" 222 In gre_inner_v4_multipath.sh line 169: vlan_destroy $ul32 111 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: vlan_destroy "$ul32" 111 In gre_inner_v4_multipath.sh line 170: __simple_if_fini $ul32 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: __simple_if_fini "$ul32" In gre_inner_v4_multipath.sh line 171: simple_if_fini $ul31 192.0.2.177/28 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: simple_if_fini "$ul31" 192.0.2.177/28 In gre_inner_v4_multipath.sh line 176: simple_if_init $ol4 192.0.4.1/24 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: simple_if_init "$ol4" 192.0.4.1/24 In gre_inner_v4_multipath.sh line 177: __simple_if_init $ul4 v$ol4 192.0.2.178/28 ^--^ 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 "$ul4" v"$ol4" 192.0.2.178/28 In gre_inner_v4_multipath.sh line 179: tunnel_create g2 gre 192.0.2.66 192.0.2.65 tos inherit dev v$ol4 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tunnel_create g2 gre 192.0.2.66 192.0.2.65 tos inherit dev v"$ol4" In gre_inner_v4_multipath.sh line 180: __simple_if_init g2 v$ol4 192.0.2.66/32 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: __simple_if_init g2 v"$ol4" 192.0.2.66/32 In gre_inner_v4_multipath.sh line 181: ip route add vrf v$ol4 192.0.2.65/32 via 192.0.2.177 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip route add vrf v"$ol4" 192.0.2.65/32 via 192.0.2.177 In gre_inner_v4_multipath.sh line 183: ip route add vrf v$ol4 192.0.3.0/24 nexthop dev g2 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip route add vrf v"$ol4" 192.0.3.0/24 nexthop dev g2 In gre_inner_v4_multipath.sh line 188: ip route del vrf v$ol4 192.0.3.0/24 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip route del vrf v"$ol4" 192.0.3.0/24 In gre_inner_v4_multipath.sh line 190: ip route del vrf v$ol4 192.0.2.65/32 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip route del vrf v"$ol4" 192.0.2.65/32 In gre_inner_v4_multipath.sh line 194: __simple_if_fini $ul4 192.0.2.178/28 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: __simple_if_fini "$ul4" 192.0.2.178/28 In gre_inner_v4_multipath.sh line 195: simple_if_fini $ol4 192.0.4.1/24 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: simple_if_fini "$ol4" 192.0.4.1/24 In gre_inner_v4_multipath.sh line 200: simple_if_init $h2 192.0.4.2/24 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: simple_if_init "$h2" 192.0.4.2/24 In gre_inner_v4_multipath.sh line 201: ip route add vrf v$h2 192.0.3.0/24 via 192.0.4.1 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip route add vrf v"$h2" 192.0.3.0/24 via 192.0.4.1 In gre_inner_v4_multipath.sh line 206: ip route del vrf v$h2 192.0.3.0/24 via 192.0.4.1 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip route del vrf v"$h2" 192.0.3.0/24 via 192.0.4.1 In gre_inner_v4_multipath.sh line 207: simple_if_fini $h2 192.0.4.2/24 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: simple_if_fini "$h2" 192.0.4.2/24 In gre_inner_v4_multipath.sh line 261: ip route replace vrf v$ul21 192.0.2.66/32 \ ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip route replace vrf v"$ul21" 192.0.2.66/32 \ In gre_inner_v4_multipath.sh line 262: nexthop via 192.0.2.146 weight $weight1 \ ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: nexthop via 192.0.2.146 weight "$weight1" \ In gre_inner_v4_multipath.sh line 263: nexthop via 192.0.2.162 weight $weight2 ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: nexthop via 192.0.2.162 weight "$weight2" In gre_inner_v4_multipath.sh line 265: local t0_111=$(tc_rule_stats_get $ul32 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 "$ul32" 111 ingress) In gre_inner_v4_multipath.sh line 266: local t0_222=$(tc_rule_stats_get $ul32 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 "$ul32" 222 ingress) In gre_inner_v4_multipath.sh line 268: 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_inner_v4_multipath.sh line 269: $MZ -q -p 64 -A "192.0.3.2-192.0.3.62" -B "192.0.4.2-192.0.4.62" \ ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: "$MZ" -q -p 64 -A "192.0.3.2-192.0.3.62" -B "192.0.4.2-192.0.4.62" \ In gre_inner_v4_multipath.sh line 270: -d $MZ_DELAY -c 50 -t udp $h1 "sp=1024,dp=1024" ^-------^ SC2086 (info): Double quote to prevent globbing and word splitting. ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: -d "$MZ_DELAY" -c 50 -t udp "$h1" "sp=1024,dp=1024" In gre_inner_v4_multipath.sh line 273: local t1_111=$(tc_rule_stats_get $ul32 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 "$ul32" 111 ingress) In gre_inner_v4_multipath.sh line 274: local t1_222=$(tc_rule_stats_get $ul32 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 "$ul32" 222 ingress) In gre_inner_v4_multipath.sh line 278: 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_inner_v4_multipath.sh line 280: ip route replace vrf v$ul21 192.0.2.66/32 \ ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip route replace vrf v"$ul21" 192.0.2.66/32 \ In gre_inner_v4_multipath.sh line 288: ping_test $h1 192.0.4.2 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ping_test "$h1" 192.0.4.2 In gre_inner_v4_multipath.sh line 305: 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 ... Checking tools/testing/selftests/net/forwarding/gre_inner_v6_multipath.sh - c39cac2edd42e2002601ad25a6e4d874d0a7de481de0c28967dcfd9d011a4fa5 In gre_inner_v6_multipath.sh line 84: simple_if_init $h1 2001:db8:1::2/64 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: simple_if_init "$h1" 2001:db8:1::2/64 In gre_inner_v6_multipath.sh line 85: ip -6 route add vrf v$h1 2001:db8:2::/64 via 2001:db8:1::1 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip -6 route add vrf v"$h1" 2001:db8:2::/64 via 2001:db8:1::1 In gre_inner_v6_multipath.sh line 90: ip -6 route del vrf v$h1 2001:db8:2::/64 via 2001:db8:1::1 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip -6 route del vrf v"$h1" 2001:db8:2::/64 via 2001:db8:1::1 In gre_inner_v6_multipath.sh line 91: simple_if_fini $h1 2001:db8:1::2/64 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: simple_if_fini "$h1" 2001:db8:1::2/64 In gre_inner_v6_multipath.sh line 96: simple_if_init $ol1 2001:db8:1::1/64 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: simple_if_init "$ol1" 2001:db8:1::1/64 In gre_inner_v6_multipath.sh line 97: __simple_if_init $ul1 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: __simple_if_init "$ul1" v"$ol1" 192.0.2.129/28 In gre_inner_v6_multipath.sh line 99: tunnel_create g1 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 g1 gre 192.0.2.65 192.0.2.66 tos inherit dev v"$ol1" In gre_inner_v6_multipath.sh line 100: __simple_if_init g1 v$ol1 192.0.2.65/32 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: __simple_if_init g1 v"$ol1" 192.0.2.65/32 In gre_inner_v6_multipath.sh line 101: 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_inner_v6_multipath.sh line 103: ip -6 route add vrf v$ol1 2001:db8:2::/64 dev g1 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip -6 route add vrf v"$ol1" 2001:db8:2::/64 dev g1 In gre_inner_v6_multipath.sh line 108: ip -6 route del vrf v$ol1 2001:db8:2::/64 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip -6 route del vrf v"$ol1" 2001:db8:2::/64 In gre_inner_v6_multipath.sh line 110: ip route del vrf v$ol1 192.0.2.66/32 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip route del vrf v"$ol1" 192.0.2.66/32 In gre_inner_v6_multipath.sh line 114: __simple_if_fini $ul1 192.0.2.129/28 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: __simple_if_fini "$ul1" 192.0.2.129/28 In gre_inner_v6_multipath.sh line 115: simple_if_fini $ol1 2001:db8:1::1/64 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: simple_if_fini "$ol1" 2001:db8:1::1/64 In gre_inner_v6_multipath.sh line 120: simple_if_init $ul21 192.0.2.130/28 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: simple_if_init "$ul21" 192.0.2.130/28 In gre_inner_v6_multipath.sh line 121: __simple_if_init $ul22 v$ul21 ^---^ 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 "$ul22" v"$ul21" In gre_inner_v6_multipath.sh line 122: vlan_create $ul22 111 v$ul21 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 "$ul22" 111 v"$ul21" 192.0.2.145/28 In gre_inner_v6_multipath.sh line 123: vlan_create $ul22 222 v$ul21 192.0.2.161/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 "$ul22" 222 v"$ul21" 192.0.2.161/28 In gre_inner_v6_multipath.sh line 125: ip route add vrf v$ul21 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"$ul21" 192.0.2.65/32 via 192.0.2.129 In gre_inner_v6_multipath.sh line 126: ip route add vrf v$ul21 192.0.2.66/32 \ ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip route add vrf v"$ul21" 192.0.2.66/32 \ In gre_inner_v6_multipath.sh line 133: ip route del vrf v$ul21 192.0.2.66/32 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip route del vrf v"$ul21" 192.0.2.66/32 In gre_inner_v6_multipath.sh line 134: ip route del vrf v$ul21 192.0.2.65/32 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip route del vrf v"$ul21" 192.0.2.65/32 In gre_inner_v6_multipath.sh line 136: vlan_destroy $ul22 222 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: vlan_destroy "$ul22" 222 In gre_inner_v6_multipath.sh line 137: vlan_destroy $ul22 111 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: vlan_destroy "$ul22" 111 In gre_inner_v6_multipath.sh line 138: __simple_if_fini $ul22 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: __simple_if_fini "$ul22" In gre_inner_v6_multipath.sh line 139: simple_if_fini $ul21 192.0.2.130/28 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: simple_if_fini "$ul21" 192.0.2.130/28 In gre_inner_v6_multipath.sh line 144: simple_if_init $ul31 192.0.2.177/28 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: simple_if_init "$ul31" 192.0.2.177/28 In gre_inner_v6_multipath.sh line 145: __simple_if_init $ul32 v$ul31 ^---^ 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 "$ul32" v"$ul31" In gre_inner_v6_multipath.sh line 146: vlan_create $ul32 111 v$ul31 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 "$ul32" 111 v"$ul31" 192.0.2.146/28 In gre_inner_v6_multipath.sh line 147: vlan_create $ul32 222 v$ul31 192.0.2.162/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 "$ul32" 222 v"$ul31" 192.0.2.162/28 In gre_inner_v6_multipath.sh line 149: ip route add vrf v$ul31 192.0.2.66/32 via 192.0.2.178 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip route add vrf v"$ul31" 192.0.2.66/32 via 192.0.2.178 In gre_inner_v6_multipath.sh line 150: ip route add vrf v$ul31 192.0.2.65/32 \ ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip route add vrf v"$ul31" 192.0.2.65/32 \ In gre_inner_v6_multipath.sh line 154: tc qdisc add dev $ul32 clsact ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc qdisc add dev "$ul32" clsact In gre_inner_v6_multipath.sh line 155: tc filter add dev $ul32 ingress pref 111 prot 802.1Q \ ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter add dev "$ul32" ingress pref 111 prot 802.1Q \ In gre_inner_v6_multipath.sh line 157: tc filter add dev $ul32 ingress pref 222 prot 802.1Q \ ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter add dev "$ul32" ingress pref 222 prot 802.1Q \ In gre_inner_v6_multipath.sh line 163: tc qdisc del dev $ul32 clsact ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc qdisc del dev "$ul32" clsact In gre_inner_v6_multipath.sh line 165: ip route del vrf v$ul31 192.0.2.65/32 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip route del vrf v"$ul31" 192.0.2.65/32 In gre_inner_v6_multipath.sh line 166: ip route del vrf v$ul31 192.0.2.66/32 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip route del vrf v"$ul31" 192.0.2.66/32 In gre_inner_v6_multipath.sh line 168: vlan_destroy $ul32 222 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: vlan_destroy "$ul32" 222 In gre_inner_v6_multipath.sh line 169: vlan_destroy $ul32 111 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: vlan_destroy "$ul32" 111 In gre_inner_v6_multipath.sh line 170: __simple_if_fini $ul32 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: __simple_if_fini "$ul32" In gre_inner_v6_multipath.sh line 171: simple_if_fini $ul31 192.0.2.177/28 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: simple_if_fini "$ul31" 192.0.2.177/28 In gre_inner_v6_multipath.sh line 176: simple_if_init $ol4 2001:db8:2::1/64 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: simple_if_init "$ol4" 2001:db8:2::1/64 In gre_inner_v6_multipath.sh line 177: __simple_if_init $ul4 v$ol4 192.0.2.178/28 ^--^ 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 "$ul4" v"$ol4" 192.0.2.178/28 In gre_inner_v6_multipath.sh line 179: tunnel_create g2 gre 192.0.2.66 192.0.2.65 tos inherit dev v$ol4 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tunnel_create g2 gre 192.0.2.66 192.0.2.65 tos inherit dev v"$ol4" In gre_inner_v6_multipath.sh line 180: __simple_if_init g2 v$ol4 192.0.2.66/32 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: __simple_if_init g2 v"$ol4" 192.0.2.66/32 In gre_inner_v6_multipath.sh line 181: ip route add vrf v$ol4 192.0.2.65/32 via 192.0.2.177 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip route add vrf v"$ol4" 192.0.2.65/32 via 192.0.2.177 In gre_inner_v6_multipath.sh line 183: ip -6 route add vrf v$ol4 2001:db8:1::/64 dev g2 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip -6 route add vrf v"$ol4" 2001:db8:1::/64 dev g2 In gre_inner_v6_multipath.sh line 188: ip -6 route del vrf v$ol4 2001:db8:1::/64 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip -6 route del vrf v"$ol4" 2001:db8:1::/64 In gre_inner_v6_multipath.sh line 190: ip route del vrf v$ol4 192.0.2.65/32 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip route del vrf v"$ol4" 192.0.2.65/32 In gre_inner_v6_multipath.sh line 194: __simple_if_fini $ul4 192.0.2.178/28 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: __simple_if_fini "$ul4" 192.0.2.178/28 In gre_inner_v6_multipath.sh line 195: simple_if_fini $ol4 2001:db8:2::1/64 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: simple_if_fini "$ol4" 2001:db8:2::1/64 In gre_inner_v6_multipath.sh line 200: simple_if_init $h2 2001:db8:2::2/64 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: simple_if_init "$h2" 2001:db8:2::2/64 In gre_inner_v6_multipath.sh line 201: ip -6 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 -6 route add vrf v"$h2" 2001:db8:1::/64 via 2001:db8:2::1 In gre_inner_v6_multipath.sh line 206: ip -6 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 -6 route del vrf v"$h2" 2001:db8:1::/64 via 2001:db8:2::1 In gre_inner_v6_multipath.sh line 207: simple_if_fini $h2 2001:db8:2::2/64 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: simple_if_fini "$h2" 2001:db8:2::2/64 In gre_inner_v6_multipath.sh line 261: ip route replace vrf v$ul21 192.0.2.66/32 \ ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip route replace vrf v"$ul21" 192.0.2.66/32 \ In gre_inner_v6_multipath.sh line 262: nexthop via 192.0.2.146 weight $weight1 \ ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: nexthop via 192.0.2.146 weight "$weight1" \ In gre_inner_v6_multipath.sh line 263: nexthop via 192.0.2.162 weight $weight2 ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: nexthop via 192.0.2.162 weight "$weight2" In gre_inner_v6_multipath.sh line 265: local t0_111=$(tc_rule_stats_get $ul32 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 "$ul32" 111 ingress) In gre_inner_v6_multipath.sh line 266: local t0_222=$(tc_rule_stats_get $ul32 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 "$ul32" 222 ingress) In gre_inner_v6_multipath.sh line 268: 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_inner_v6_multipath.sh line 269: $MZ -6 -q -p 64 -A "2001:db8:1::2-2001:db8:1::3e" \ ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: "$MZ" -6 -q -p 64 -A "2001:db8:1::2-2001:db8:1::3e" \ In gre_inner_v6_multipath.sh line 271: -d $MZ_DELAY -c 50 -t udp $h1 "sp=1024,dp=1024" ^-------^ SC2086 (info): Double quote to prevent globbing and word splitting. ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: -d "$MZ_DELAY" -c 50 -t udp "$h1" "sp=1024,dp=1024" In gre_inner_v6_multipath.sh line 274: local t1_111=$(tc_rule_stats_get $ul32 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 "$ul32" 111 ingress) In gre_inner_v6_multipath.sh line 275: local t1_222=$(tc_rule_stats_get $ul32 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 "$ul32" 222 ingress) In gre_inner_v6_multipath.sh line 279: 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_inner_v6_multipath.sh line 281: ip route replace vrf v$ul21 192.0.2.66/32 \ ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip route replace vrf v"$ul21" 192.0.2.66/32 \ In gre_inner_v6_multipath.sh line 289: ping_test $h1 2001:db8:2::2 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ping_test "$h1" 2001:db8:2::2 In gre_inner_v6_multipath.sh line 306: 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 ... 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 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 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 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 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 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 -q -p 64 -A 192.0.2.1 -B 192.0.2.18 \ ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: "$MZ" -q -p 64 -A 192.0.2.1 -B 192.0.2.18 \ In gre_multipath.sh line 223: -d $MZ_DELAY -t udp $h1 "sp=1024,dp=0-32768" ^-------^ SC2086 (info): Double quote to prevent globbing and word splitting. ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: -d "$MZ_DELAY" -t udp "$h1" "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 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 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 ... 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 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 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 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 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 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 -q -p 64 -A 192.0.2.1 -B 192.0.2.18 \ ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: "$MZ" -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 $h1 "sp=1024,dp=0-32768" ^-------^ SC2086 (info): Double quote to prevent globbing and word splitting. ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: -d "$MZ_DELAY" -t udp "$h1" "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 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 -6 -q -p 64 -A 2001:db8:1::1 -B 2001:db8:2::2 \ ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: "$MZ" -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 $h1 "sp=1024,dp=0-32768" ^-------^ SC2086 (info): Double quote to prevent globbing and word splitting. ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: -d "$MZ_DELAY" -t udp "$h1" "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 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 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 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 ... 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 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 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 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 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 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 -q -p 64 -A 192.0.2.1 -B 192.0.2.18 \ ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: "$MZ" -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 $h1 "sp=1024,dp=0-32768" ^-------^ SC2086 (info): Double quote to prevent globbing and word splitting. ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: -d "$MZ_DELAY" -t udp "$h1" "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 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 -6 -q -p 64 -A 2001:db8:1::1 -B 2001:db8:2::2 \ ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: "$MZ" -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 $h1 "sp=1024,dp=0-32768" ^-------^ SC2086 (info): Double quote to prevent globbing and word splitting. ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: -d "$MZ_DELAY" -t udp "$h1" "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 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 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 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 ... Checking tools/testing/selftests/net/forwarding/ip6_forward_instats_vrf.sh - 51b183061a61f70f33d0edb53e8a0e0c4837b86543d268b3bf48cfdcda42e179 In ip6_forward_instats_vrf.sh line 17: require_command $TROUTE6 ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: require_command "$TROUTE6" In ip6_forward_instats_vrf.sh line 21: simple_if_init $h1 2001:1:1::2/64 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: simple_if_init "$h1" 2001:1:1::2/64 In ip6_forward_instats_vrf.sh line 22: ip -6 route add vrf v$h1 2001:1:2::/64 via 2001:1:1::1 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip -6 route add vrf v"$h1" 2001:1:2::/64 via 2001:1:1::1 In ip6_forward_instats_vrf.sh line 27: ip -6 route del vrf v$h1 2001:1:2::/64 via 2001:1:1::1 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip -6 route del vrf v"$h1" 2001:1:2::/64 via 2001:1:1::1 In ip6_forward_instats_vrf.sh line 28: simple_if_fini $h1 2001:1:1::2/64 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: simple_if_fini "$h1" 2001:1:1::2/64 In ip6_forward_instats_vrf.sh line 34: __simple_if_init $rtr1 router 2001:1:1::1/64 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: __simple_if_init "$rtr1" router 2001:1:1::1/64 In ip6_forward_instats_vrf.sh line 35: __simple_if_init $rtr2 router 2001:1:2::1/64 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: __simple_if_init "$rtr2" router 2001:1:2::1/64 In ip6_forward_instats_vrf.sh line 36: mtu_set $rtr2 1280 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: mtu_set "$rtr2" 1280 In ip6_forward_instats_vrf.sh line 41: mtu_restore $rtr2 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: mtu_restore "$rtr2" In ip6_forward_instats_vrf.sh line 42: __simple_if_fini $rtr2 2001:1:2::1/64 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: __simple_if_fini "$rtr2" 2001:1:2::1/64 In ip6_forward_instats_vrf.sh line 43: __simple_if_fini $rtr1 2001:1:1::1/64 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: __simple_if_fini "$rtr1" 2001:1:1::1/64 In ip6_forward_instats_vrf.sh line 49: simple_if_init $h2 2001:1:2::2/64 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: simple_if_init "$h2" 2001:1:2::2/64 In ip6_forward_instats_vrf.sh line 50: ip -6 route add vrf v$h2 2001:1:1::/64 via 2001:1:2::1 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip -6 route add vrf v"$h2" 2001:1:1::/64 via 2001:1:2::1 In ip6_forward_instats_vrf.sh line 51: mtu_set $h2 1280 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: mtu_set "$h2" 1280 In ip6_forward_instats_vrf.sh line 56: mtu_restore $h2 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: mtu_restore "$h2" In ip6_forward_instats_vrf.sh line 57: ip -6 route del vrf v$h2 2001:1:1::/64 via 2001:1:2::1 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip -6 route del vrf v"$h2" 2001:1:1::/64 via 2001:1:2::1 In ip6_forward_instats_vrf.sh line 58: simple_if_fini $h2 2001:1:2::2/64 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: simple_if_fini "$h2" 2001:1:2::2/64 In ip6_forward_instats_vrf.sh line 93: local t0=$(ipv6_stats_get $rtr1 Ip6InTooBigErrors) ^-- 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=$(ipv6_stats_get "$rtr1" Ip6InTooBigErrors) In ip6_forward_instats_vrf.sh line 94: local vrf_name=$(master_name_get $h1) ^------^ 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 vrf_name=$(master_name_get "$h1") In ip6_forward_instats_vrf.sh line 97: ip vrf exec $vrf_name \ ^-------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip vrf exec "$vrf_name" \ In ip6_forward_instats_vrf.sh line 98: $PING6 -s 1300 -c 1 -w $PING_TIMEOUT 2001:1:2::2 &> /dev/null ^----^ SC2086 (info): Double quote to prevent globbing and word splitting. ^-----------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: "$PING6" -s 1300 -c 1 -w "$PING_TIMEOUT" 2001:1:2::2 &> /dev/null In ip6_forward_instats_vrf.sh line 100: local t1=$(ipv6_stats_get $rtr1 Ip6InTooBigErrors) ^-- 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=$(ipv6_stats_get "$rtr1" Ip6InTooBigErrors) In ip6_forward_instats_vrf.sh line 110: local t0=$(ipv6_stats_get $rtr1 Ip6InHdrErrors) ^-- 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=$(ipv6_stats_get "$rtr1" Ip6InHdrErrors) In ip6_forward_instats_vrf.sh line 111: local vrf_name=$(master_name_get $h1) ^------^ 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 vrf_name=$(master_name_get "$h1") In ip6_forward_instats_vrf.sh line 115: ip vrf exec $vrf_name \ ^-------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip vrf exec "$vrf_name" \ In ip6_forward_instats_vrf.sh line 116: $TROUTE6 2001:1:2::2 &> /dev/null ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: "$TROUTE6" 2001:1:2::2 &> /dev/null In ip6_forward_instats_vrf.sh line 118: local t1=$(ipv6_stats_get $rtr1 Ip6InHdrErrors) ^-- 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=$(ipv6_stats_get "$rtr1" Ip6InHdrErrors) In ip6_forward_instats_vrf.sh line 128: local t0=$(ipv6_stats_get $rtr1 Ip6InAddrErrors) ^-- 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=$(ipv6_stats_get "$rtr1" Ip6InAddrErrors) In ip6_forward_instats_vrf.sh line 129: local vrf_name=$(master_name_get $h1) ^------^ 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 vrf_name=$(master_name_get "$h1") In ip6_forward_instats_vrf.sh line 133: ip vrf exec $vrf_name \ ^-------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip vrf exec "$vrf_name" \ In ip6_forward_instats_vrf.sh line 134: $PING6 -c 1 -w $PING_TIMEOUT 2001:1:2::2 &> /dev/null ^----^ SC2086 (info): Double quote to prevent globbing and word splitting. ^-----------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: "$PING6" -c 1 -w "$PING_TIMEOUT" 2001:1:2::2 &> /dev/null In ip6_forward_instats_vrf.sh line 137: local t1=$(ipv6_stats_get $rtr1 Ip6InAddrErrors) ^-- 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=$(ipv6_stats_get "$rtr1" Ip6InAddrErrors) In ip6_forward_instats_vrf.sh line 147: local t0=$(ipv6_stats_get $rtr1 Ip6InDiscards) ^-- 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=$(ipv6_stats_get "$rtr1" Ip6InDiscards) In ip6_forward_instats_vrf.sh line 148: local vrf_name=$(master_name_get $h1) ^------^ 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 vrf_name=$(master_name_get "$h1") In ip6_forward_instats_vrf.sh line 152: ip vrf exec $vrf_name \ ^-------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip vrf exec "$vrf_name" \ In ip6_forward_instats_vrf.sh line 153: $PING6 -c 1 -w $PING_TIMEOUT 2001:1:2::2 &> /dev/null ^----^ SC2086 (info): Double quote to prevent globbing and word splitting. ^-----------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: "$PING6" -c 1 -w "$PING_TIMEOUT" 2001:1:2::2 &> /dev/null In ip6_forward_instats_vrf.sh line 156: local t1=$(ipv6_stats_get $rtr1 Ip6InDiscards) ^-- 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=$(ipv6_stats_get "$rtr1" Ip6InDiscards) In ip6_forward_instats_vrf.sh line 165: ping6_test $h1 2001:1:2::2 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ping6_test "$h1" 2001:1:2::2 In ip6_forward_instats_vrf.sh line 174: 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 ... Checking tools/testing/selftests/net/forwarding/ip6gre_custom_multipath_hash.sh - 76a16a84cf1e44787fb34c93910c240a7b20de5ee8162fba3a12fad494bdc972 In ip6gre_custom_multipath_hash.sh line 89: simple_if_init $h1 198.51.100.2/24 2001:db8:1::2/64 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: simple_if_init "$h1" 198.51.100.2/24 2001:db8:1::2/64 In ip6gre_custom_multipath_hash.sh line 90: ip route add vrf v$h1 default via 198.51.100.1 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 route add vrf v"$h1" default via 198.51.100.1 dev "$h1" In ip6gre_custom_multipath_hash.sh line 91: ip -6 route add vrf v$h1 default via 2001:db8:1::1 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 -6 route add vrf v"$h1" default via 2001:db8:1::1 dev "$h1" In ip6gre_custom_multipath_hash.sh line 96: ip -6 route del vrf v$h1 default ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip -6 route del vrf v"$h1" default In ip6gre_custom_multipath_hash.sh line 97: ip route del vrf v$h1 default ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip route del vrf v"$h1" default In ip6gre_custom_multipath_hash.sh line 98: simple_if_fini $h1 198.51.100.2/24 2001:db8:1::2/64 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: simple_if_fini "$h1" 198.51.100.2/24 2001:db8:1::2/64 In ip6gre_custom_multipath_hash.sh line 103: simple_if_init $ol1 198.51.100.1/24 2001:db8:1::1/64 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: simple_if_init "$ol1" 198.51.100.1/24 2001:db8:1::1/64 In ip6gre_custom_multipath_hash.sh line 104: __simple_if_init $ul1 v$ol1 2001:db8:10::1/64 ^--^ 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" 2001:db8:10::1/64 In ip6gre_custom_multipath_hash.sh line 107: dev v$ol1 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: dev v"$ol1" In ip6gre_custom_multipath_hash.sh line 108: __simple_if_init g1 v$ol1 2001:db8:3::1/128 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: __simple_if_init g1 v"$ol1" 2001:db8:3::1/128 In ip6gre_custom_multipath_hash.sh line 109: ip route add vrf v$ol1 2001:db8:3::2/128 via 2001:db8:10::2 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip route add vrf v"$ol1" 2001:db8:3::2/128 via 2001:db8:10::2 In ip6gre_custom_multipath_hash.sh line 111: ip route add vrf v$ol1 203.0.113.0/24 dev g1 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip route add vrf v"$ol1" 203.0.113.0/24 dev g1 In ip6gre_custom_multipath_hash.sh line 112: ip -6 route add vrf v$ol1 2001:db8:2::/64 dev g1 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip -6 route add vrf v"$ol1" 2001:db8:2::/64 dev g1 In ip6gre_custom_multipath_hash.sh line 117: ip -6 route del vrf v$ol1 2001:db8:2::/64 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip -6 route del vrf v"$ol1" 2001:db8:2::/64 In ip6gre_custom_multipath_hash.sh line 118: ip route del vrf v$ol1 203.0.113.0/24 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip route del vrf v"$ol1" 203.0.113.0/24 In ip6gre_custom_multipath_hash.sh line 120: ip route del vrf v$ol1 2001:db8:3::2/128 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip route del vrf v"$ol1" 2001:db8:3::2/128 In ip6gre_custom_multipath_hash.sh line 124: __simple_if_fini $ul1 2001:db8:10::1/64 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: __simple_if_fini "$ul1" 2001:db8:10::1/64 In ip6gre_custom_multipath_hash.sh line 125: simple_if_fini $ol1 198.51.100.1/24 2001:db8:1::1/64 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: simple_if_fini "$ol1" 198.51.100.1/24 2001:db8:1::1/64 In ip6gre_custom_multipath_hash.sh line 130: simple_if_init $ul21 2001:db8:10::2/64 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: simple_if_init "$ul21" 2001:db8:10::2/64 In ip6gre_custom_multipath_hash.sh line 131: __simple_if_init $ul22 v$ul21 ^---^ 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 "$ul22" v"$ul21" In ip6gre_custom_multipath_hash.sh line 132: vlan_create $ul22 111 v$ul21 2001:db8:11::1/64 ^---^ 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 "$ul22" 111 v"$ul21" 2001:db8:11::1/64 In ip6gre_custom_multipath_hash.sh line 133: vlan_create $ul22 222 v$ul21 2001:db8:12::1/64 ^---^ 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 "$ul22" 222 v"$ul21" 2001:db8:12::1/64 In ip6gre_custom_multipath_hash.sh line 135: ip -6 route add vrf v$ul21 2001:db8:3::1/128 via 2001:db8:10::1 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip -6 route add vrf v"$ul21" 2001:db8:3::1/128 via 2001:db8:10::1 In ip6gre_custom_multipath_hash.sh line 136: ip -6 route add vrf v$ul21 2001:db8:3::2/128 \ ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip -6 route add vrf v"$ul21" 2001:db8:3::2/128 \ In ip6gre_custom_multipath_hash.sh line 143: ip -6 route del vrf v$ul21 2001:db8:3::2/128 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip -6 route del vrf v"$ul21" 2001:db8:3::2/128 In ip6gre_custom_multipath_hash.sh line 144: ip -6 route del vrf v$ul21 2001:db8:3::1/128 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip -6 route del vrf v"$ul21" 2001:db8:3::1/128 In ip6gre_custom_multipath_hash.sh line 146: vlan_destroy $ul22 222 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: vlan_destroy "$ul22" 222 In ip6gre_custom_multipath_hash.sh line 147: vlan_destroy $ul22 111 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: vlan_destroy "$ul22" 111 In ip6gre_custom_multipath_hash.sh line 148: __simple_if_fini $ul22 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: __simple_if_fini "$ul22" In ip6gre_custom_multipath_hash.sh line 149: simple_if_fini $ul21 2001:db8:10::2/64 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: simple_if_fini "$ul21" 2001:db8:10::2/64 In ip6gre_custom_multipath_hash.sh line 154: simple_if_init $ul31 2001:db8:13::1/64 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: simple_if_init "$ul31" 2001:db8:13::1/64 In ip6gre_custom_multipath_hash.sh line 155: __simple_if_init $ul32 v$ul31 ^---^ 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 "$ul32" v"$ul31" In ip6gre_custom_multipath_hash.sh line 156: vlan_create $ul32 111 v$ul31 2001:db8:11::2/64 ^---^ 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 "$ul32" 111 v"$ul31" 2001:db8:11::2/64 In ip6gre_custom_multipath_hash.sh line 157: vlan_create $ul32 222 v$ul31 2001:db8:12::2/64 ^---^ 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 "$ul32" 222 v"$ul31" 2001:db8:12::2/64 In ip6gre_custom_multipath_hash.sh line 159: ip -6 route add vrf v$ul31 2001:db8:3::2/128 via 2001:db8:13::2 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip -6 route add vrf v"$ul31" 2001:db8:3::2/128 via 2001:db8:13::2 In ip6gre_custom_multipath_hash.sh line 160: ip -6 route add vrf v$ul31 2001:db8:3::1/128 \ ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip -6 route add vrf v"$ul31" 2001:db8:3::1/128 \ In ip6gre_custom_multipath_hash.sh line 164: tc qdisc add dev $ul32 clsact ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc qdisc add dev "$ul32" clsact In ip6gre_custom_multipath_hash.sh line 165: tc filter add dev $ul32 ingress pref 111 prot 802.1Q \ ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter add dev "$ul32" ingress pref 111 prot 802.1Q \ In ip6gre_custom_multipath_hash.sh line 167: tc filter add dev $ul32 ingress pref 222 prot 802.1Q \ ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter add dev "$ul32" ingress pref 222 prot 802.1Q \ In ip6gre_custom_multipath_hash.sh line 173: tc qdisc del dev $ul32 clsact ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc qdisc del dev "$ul32" clsact In ip6gre_custom_multipath_hash.sh line 175: ip -6 route del vrf v$ul31 2001:db8:3::1/128 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip -6 route del vrf v"$ul31" 2001:db8:3::1/128 In ip6gre_custom_multipath_hash.sh line 176: ip -6 route del vrf v$ul31 2001:db8:3::2/128 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip -6 route del vrf v"$ul31" 2001:db8:3::2/128 In ip6gre_custom_multipath_hash.sh line 178: vlan_destroy $ul32 222 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: vlan_destroy "$ul32" 222 In ip6gre_custom_multipath_hash.sh line 179: vlan_destroy $ul32 111 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: vlan_destroy "$ul32" 111 In ip6gre_custom_multipath_hash.sh line 180: __simple_if_fini $ul32 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: __simple_if_fini "$ul32" In ip6gre_custom_multipath_hash.sh line 181: simple_if_fini $ul31 2001:db8:13::1/64 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: simple_if_fini "$ul31" 2001:db8:13::1/64 In ip6gre_custom_multipath_hash.sh line 186: simple_if_init $ol4 203.0.113.1/24 2001:db8:2::1/64 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: simple_if_init "$ol4" 203.0.113.1/24 2001:db8:2::1/64 In ip6gre_custom_multipath_hash.sh line 187: __simple_if_init $ul4 v$ol4 2001:db8:13::2/64 ^--^ 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 "$ul4" v"$ol4" 2001:db8:13::2/64 In ip6gre_custom_multipath_hash.sh line 190: dev v$ol4 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: dev v"$ol4" In ip6gre_custom_multipath_hash.sh line 191: __simple_if_init g2 v$ol4 2001:db8:3::2/128 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: __simple_if_init g2 v"$ol4" 2001:db8:3::2/128 In ip6gre_custom_multipath_hash.sh line 192: ip -6 route add vrf v$ol4 2001:db8:3::1/128 via 2001:db8:13::1 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip -6 route add vrf v"$ol4" 2001:db8:3::1/128 via 2001:db8:13::1 In ip6gre_custom_multipath_hash.sh line 194: ip route add vrf v$ol4 198.51.100.0/24 dev g2 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip route add vrf v"$ol4" 198.51.100.0/24 dev g2 In ip6gre_custom_multipath_hash.sh line 195: ip -6 route add vrf v$ol4 2001:db8:1::/64 dev g2 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip -6 route add vrf v"$ol4" 2001:db8:1::/64 dev g2 In ip6gre_custom_multipath_hash.sh line 200: ip -6 route del vrf v$ol4 2001:db8:1::/64 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip -6 route del vrf v"$ol4" 2001:db8:1::/64 In ip6gre_custom_multipath_hash.sh line 201: ip route del vrf v$ol4 198.51.100.0/24 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip route del vrf v"$ol4" 198.51.100.0/24 In ip6gre_custom_multipath_hash.sh line 203: ip -6 route del vrf v$ol4 2001:db8:3::1/128 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip -6 route del vrf v"$ol4" 2001:db8:3::1/128 In ip6gre_custom_multipath_hash.sh line 207: __simple_if_fini $ul4 2001:db8:13::2/64 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: __simple_if_fini "$ul4" 2001:db8:13::2/64 In ip6gre_custom_multipath_hash.sh line 208: simple_if_fini $ol4 203.0.113.1/24 2001:db8:2::1/64 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: simple_if_fini "$ol4" 203.0.113.1/24 2001:db8:2::1/64 In ip6gre_custom_multipath_hash.sh line 213: simple_if_init $h2 203.0.113.2/24 2001:db8:2::2/64 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: simple_if_init "$h2" 203.0.113.2/24 2001:db8:2::2/64 In ip6gre_custom_multipath_hash.sh line 214: ip route add vrf v$h2 default via 203.0.113.1 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 route add vrf v"$h2" default via 203.0.113.1 dev "$h2" In ip6gre_custom_multipath_hash.sh line 215: ip -6 route add vrf v$h2 default via 2001:db8:2::1 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 -6 route add vrf v"$h2" default via 2001:db8:2::1 dev "$h2" In ip6gre_custom_multipath_hash.sh line 220: ip -6 route del vrf v$h2 default ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip -6 route del vrf v"$h2" default In ip6gre_custom_multipath_hash.sh line 221: ip route del vrf v$h2 default ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip route del vrf v"$h2" default In ip6gre_custom_multipath_hash.sh line 222: simple_if_fini $h2 203.0.113.2/24 2001:db8:2::2/64 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: simple_if_fini "$h2" 203.0.113.2/24 2001:db8:2::2/64 In ip6gre_custom_multipath_hash.sh line 271: ping_test $h1 203.0.113.2 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ping_test "$h1" 203.0.113.2 In ip6gre_custom_multipath_hash.sh line 276: 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 ip6gre_custom_multipath_hash.sh line 281: ip vrf exec v$h1 $MZ -q -p 64 \ ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip vrf exec v"$h1" "$MZ" -q -p 64 \ In ip6gre_custom_multipath_hash.sh line 283: -d $MZ_DELAY -c 50 -t udp $h1"sp=20000,dp=30000" ^-------^ SC2086 (info): Double quote to prevent globbing and word splitting. ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: -d "$MZ_DELAY" -c 50 -t udp "$h1""sp=20000,dp=30000" In ip6gre_custom_multipath_hash.sh line 288: ip vrf exec v$h1 $MZ -q -p 64 \ ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip vrf exec v"$h1" "$MZ" -q -p 64 \ In ip6gre_custom_multipath_hash.sh line 290: -d $MZ_DELAY -c 50 -t udp $h1"sp=20000,dp=30000" ^-------^ SC2086 (info): Double quote to prevent globbing and word splitting. ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: -d "$MZ_DELAY" -c 50 -t udp "$h1""sp=20000,dp=30000" In ip6gre_custom_multipath_hash.sh line 295: ip vrf exec v$h1 $MZ -q -p 64 \ ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip vrf exec v"$h1" "$MZ" -q -p 64 \ In ip6gre_custom_multipath_hash.sh line 297: -d $MZ_DELAY -t udp $h1"sp=0-32768,dp=30000" ^-------^ SC2086 (info): Double quote to prevent globbing and word splitting. ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: -d "$MZ_DELAY" -t udp "$h1""sp=0-32768,dp=30000" In ip6gre_custom_multipath_hash.sh line 302: ip vrf exec v$h1 $MZ -q -p 64 \ ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip vrf exec v"$h1" "$MZ" -q -p 64 \ In ip6gre_custom_multipath_hash.sh line 304: -d $MZ_DELAY -t udp $h1"sp=20000,dp=0-32768" ^-------^ SC2086 (info): Double quote to prevent globbing and word splitting. ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: -d "$MZ_DELAY" -t udp "$h1""sp=20000,dp=0-32768" In ip6gre_custom_multipath_hash.sh line 309: ip vrf exec v$h1 $MZ -6 -q -p 64 \ ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip vrf exec v"$h1" "$MZ" -6 -q -p 64 \ In ip6gre_custom_multipath_hash.sh line 311: -d $MZ_DELAY -c 50 -t udp $h1"sp=20000,dp=30000" ^-------^ SC2086 (info): Double quote to prevent globbing and word splitting. ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: -d "$MZ_DELAY" -c 50 -t udp "$h1""sp=20000,dp=30000" In ip6gre_custom_multipath_hash.sh line 316: ip vrf exec v$h1 $MZ -6 -q -p 64 \ ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip vrf exec v"$h1" "$MZ" -6 -q -p 64 \ In ip6gre_custom_multipath_hash.sh line 318: -d $MZ_DELAY -c 50 -t udp $h1"sp=20000,dp=30000" ^-------^ SC2086 (info): Double quote to prevent globbing and word splitting. ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: -d "$MZ_DELAY" -c 50 -t udp "$h1""sp=20000,dp=30000" In ip6gre_custom_multipath_hash.sh line 324: ip vrf exec v$h1 sh -c \ ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip vrf exec v"$h1" sh -c \ In ip6gre_custom_multipath_hash.sh line 332: ip vrf exec v$h1 $MZ -6 $h1 -q -p 64 \ ^-^ 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: ip vrf exec v"$h1" "$MZ" -6 "$h1" -q -p 64 \ In ip6gre_custom_multipath_hash.sh line 334: -d $MZ_DELAY -t udp "sp=0-32768,dp=30000" ^-------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: -d "$MZ_DELAY" -t udp "sp=0-32768,dp=30000" In ip6gre_custom_multipath_hash.sh line 339: ip vrf exec v$h1 $MZ -6 $h1 -q -p 64 \ ^-^ 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: ip vrf exec v"$h1" "$MZ" -6 "$h1" -q -p 64 \ In ip6gre_custom_multipath_hash.sh line 341: -d $MZ_DELAY -t udp "sp=20000,dp=0-32768" ^-------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: -d "$MZ_DELAY" -t udp "sp=20000,dp=0-32768" In ip6gre_custom_multipath_hash.sh line 348: local send_flows="$@" ^--^ SC2124 (warning): Assigning an array to a string! Assign as array, or use * instead of @ to concatenate. In ip6gre_custom_multipath_hash.sh line 352: local t0_111=$(tc_rule_stats_get $ul32 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 "$ul32" 111 ingress) In ip6gre_custom_multipath_hash.sh line 353: local t0_222=$(tc_rule_stats_get $ul32 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 "$ul32" 222 ingress) In ip6gre_custom_multipath_hash.sh line 357: local t1_111=$(tc_rule_stats_get $ul32 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 "$ul32" 111 ingress) In ip6gre_custom_multipath_hash.sh line 358: local t1_222=$(tc_rule_stats_get $ul32 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 "$ul32" 222 ingress) In ip6gre_custom_multipath_hash.sh line 366: local pct=$(echo "$diff / $sum * 100" | bc -l) ^-^ SC2155 (warning): Declare and assign separately to avoid masking return values. In ip6gre_custom_multipath_hash.sh line 367: local is_balanced=$(echo "-20 <= $pct && $pct <= 20" | bc) ^---------^ SC2155 (warning): Declare and assign separately to avoid masking return values. In ip6gre_custom_multipath_hash.sh line 466: 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/SC2124 -- Assigning an array to a string! A... https://www.shellcheck.net/wiki/SC2155 -- Declare and assign separately to ... https://www.shellcheck.net/wiki/SC2086 -- Double quote to prevent globbing ... Checking tools/testing/selftests/net/forwarding/ip6gre_inner_v4_multipath.sh - 60923764b0276a4d0cdbebc48f2f15c2337d1e24d4ffa7e02201e44b985b7a26 In ip6gre_inner_v4_multipath.sh line 83: simple_if_init $h1 192.0.3.2/24 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: simple_if_init "$h1" 192.0.3.2/24 In ip6gre_inner_v4_multipath.sh line 84: ip route add vrf v$h1 192.0.4.0/24 via 192.0.3.1 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip route add vrf v"$h1" 192.0.4.0/24 via 192.0.3.1 In ip6gre_inner_v4_multipath.sh line 89: ip route del vrf v$h1 192.0.4.0/24 via 192.0.3.1 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip route del vrf v"$h1" 192.0.4.0/24 via 192.0.3.1 In ip6gre_inner_v4_multipath.sh line 90: simple_if_fini $h1 192.0.3.2/24 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: simple_if_fini "$h1" 192.0.3.2/24 In ip6gre_inner_v4_multipath.sh line 95: simple_if_init $ol1 192.0.3.1/24 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: simple_if_init "$ol1" 192.0.3.1/24 In ip6gre_inner_v4_multipath.sh line 96: __simple_if_init $ul1 v$ol1 2001:db8:80::1/64 ^--^ 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" 2001:db8:80::1/64 In ip6gre_inner_v4_multipath.sh line 98: tunnel_create g1 ip6gre 2001:db8:40::1 2001:db8:40::2 tos inherit dev v$ol1 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tunnel_create g1 ip6gre 2001:db8:40::1 2001:db8:40::2 tos inherit dev v"$ol1" In ip6gre_inner_v4_multipath.sh line 99: __simple_if_init g1 v$ol1 2001:db8:40::1/128 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: __simple_if_init g1 v"$ol1" 2001:db8:40::1/128 In ip6gre_inner_v4_multipath.sh line 100: ip -6 route add vrf v$ol1 2001:db8:40::2/128 via 2001:db8:80::2 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip -6 route add vrf v"$ol1" 2001:db8:40::2/128 via 2001:db8:80::2 In ip6gre_inner_v4_multipath.sh line 102: ip route add vrf v$ol1 192.0.4.0/24 nexthop dev g1 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip route add vrf v"$ol1" 192.0.4.0/24 nexthop dev g1 In ip6gre_inner_v4_multipath.sh line 107: ip route del vrf v$ol1 192.0.4.0/24 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip route del vrf v"$ol1" 192.0.4.0/24 In ip6gre_inner_v4_multipath.sh line 109: ip -6 route del vrf v$ol1 2001:db8:40::2/128 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip -6 route del vrf v"$ol1" 2001:db8:40::2/128 In ip6gre_inner_v4_multipath.sh line 113: __simple_if_fini $ul1 2001:db8:80::1/64 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: __simple_if_fini "$ul1" 2001:db8:80::1/64 In ip6gre_inner_v4_multipath.sh line 114: simple_if_fini $ol1 192.0.3.1/24 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: simple_if_fini "$ol1" 192.0.3.1/24 In ip6gre_inner_v4_multipath.sh line 119: simple_if_init $ul21 2001:db8:80::2/64 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: simple_if_init "$ul21" 2001:db8:80::2/64 In ip6gre_inner_v4_multipath.sh line 120: __simple_if_init $ul22 v$ul21 ^---^ 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 "$ul22" v"$ul21" In ip6gre_inner_v4_multipath.sh line 121: vlan_create $ul22 111 v$ul21 2001:db8:81::1/64 ^---^ 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 "$ul22" 111 v"$ul21" 2001:db8:81::1/64 In ip6gre_inner_v4_multipath.sh line 122: vlan_create $ul22 222 v$ul21 2001:db8:82::1/64 ^---^ 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 "$ul22" 222 v"$ul21" 2001:db8:82::1/64 In ip6gre_inner_v4_multipath.sh line 124: ip -6 route add vrf v$ul21 2001:db8:40::1/128 via 2001:db8:80::1 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip -6 route add vrf v"$ul21" 2001:db8:40::1/128 via 2001:db8:80::1 In ip6gre_inner_v4_multipath.sh line 125: ip -6 route add vrf v$ul21 2001:db8:40::2/128 \ ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip -6 route add vrf v"$ul21" 2001:db8:40::2/128 \ In ip6gre_inner_v4_multipath.sh line 132: ip -6 route del vrf v$ul21 2001:db8:40::2/128 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip -6 route del vrf v"$ul21" 2001:db8:40::2/128 In ip6gre_inner_v4_multipath.sh line 133: ip -6 route del vrf v$ul21 2001:db8:40::1/128 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip -6 route del vrf v"$ul21" 2001:db8:40::1/128 In ip6gre_inner_v4_multipath.sh line 135: vlan_destroy $ul22 222 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: vlan_destroy "$ul22" 222 In ip6gre_inner_v4_multipath.sh line 136: vlan_destroy $ul22 111 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: vlan_destroy "$ul22" 111 In ip6gre_inner_v4_multipath.sh line 137: __simple_if_fini $ul22 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: __simple_if_fini "$ul22" In ip6gre_inner_v4_multipath.sh line 138: simple_if_fini $ul21 2001:db8:80::2/64 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: simple_if_fini "$ul21" 2001:db8:80::2/64 In ip6gre_inner_v4_multipath.sh line 143: simple_if_init $ul31 2001:db8:83::2/64 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: simple_if_init "$ul31" 2001:db8:83::2/64 In ip6gre_inner_v4_multipath.sh line 144: __simple_if_init $ul32 v$ul31 ^---^ 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 "$ul32" v"$ul31" In ip6gre_inner_v4_multipath.sh line 145: vlan_create $ul32 111 v$ul31 2001:db8:81::2/64 ^---^ 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 "$ul32" 111 v"$ul31" 2001:db8:81::2/64 In ip6gre_inner_v4_multipath.sh line 146: vlan_create $ul32 222 v$ul31 2001:db8:82::2/64 ^---^ 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 "$ul32" 222 v"$ul31" 2001:db8:82::2/64 In ip6gre_inner_v4_multipath.sh line 148: ip -6 route add vrf v$ul31 2001:db8:40::2/128 via 2001:db8:83::1 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip -6 route add vrf v"$ul31" 2001:db8:40::2/128 via 2001:db8:83::1 In ip6gre_inner_v4_multipath.sh line 149: ip -6 route add vrf v$ul31 2001:db8:40::1/128 \ ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip -6 route add vrf v"$ul31" 2001:db8:40::1/128 \ In ip6gre_inner_v4_multipath.sh line 153: tc qdisc add dev $ul32 clsact ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc qdisc add dev "$ul32" clsact In ip6gre_inner_v4_multipath.sh line 154: tc filter add dev $ul32 ingress pref 111 prot 802.1Q \ ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter add dev "$ul32" ingress pref 111 prot 802.1Q \ In ip6gre_inner_v4_multipath.sh line 156: tc filter add dev $ul32 ingress pref 222 prot 802.1Q \ ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter add dev "$ul32" ingress pref 222 prot 802.1Q \ In ip6gre_inner_v4_multipath.sh line 162: tc qdisc del dev $ul32 clsact ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc qdisc del dev "$ul32" clsact In ip6gre_inner_v4_multipath.sh line 164: ip -6 route del vrf v$ul31 2001:db8:40::1/128 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip -6 route del vrf v"$ul31" 2001:db8:40::1/128 In ip6gre_inner_v4_multipath.sh line 165: ip -6 route del vrf v$ul31 2001:db8:40::2/128 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip -6 route del vrf v"$ul31" 2001:db8:40::2/128 In ip6gre_inner_v4_multipath.sh line 167: vlan_destroy $ul32 222 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: vlan_destroy "$ul32" 222 In ip6gre_inner_v4_multipath.sh line 168: vlan_destroy $ul32 111 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: vlan_destroy "$ul32" 111 In ip6gre_inner_v4_multipath.sh line 169: __simple_if_fini $ul32 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: __simple_if_fini "$ul32" In ip6gre_inner_v4_multipath.sh line 170: simple_if_fini $ul31 2001:Db8:83::2/64 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: simple_if_fini "$ul31" 2001:Db8:83::2/64 In ip6gre_inner_v4_multipath.sh line 175: simple_if_init $ol4 192.0.4.1/24 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: simple_if_init "$ol4" 192.0.4.1/24 In ip6gre_inner_v4_multipath.sh line 176: __simple_if_init $ul4 v$ol4 2001:db8:83::1/64 ^--^ 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 "$ul4" v"$ol4" 2001:db8:83::1/64 In ip6gre_inner_v4_multipath.sh line 178: tunnel_create g2 ip6gre 2001:db8:40::2 2001:db8:40::1 tos inherit dev v$ol4 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tunnel_create g2 ip6gre 2001:db8:40::2 2001:db8:40::1 tos inherit dev v"$ol4" In ip6gre_inner_v4_multipath.sh line 179: __simple_if_init g2 v$ol4 2001:db8:40::2/128 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: __simple_if_init g2 v"$ol4" 2001:db8:40::2/128 In ip6gre_inner_v4_multipath.sh line 180: ip -6 route add vrf v$ol4 2001:db8:40::1/128 via 2001:db8:83::2 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip -6 route add vrf v"$ol4" 2001:db8:40::1/128 via 2001:db8:83::2 In ip6gre_inner_v4_multipath.sh line 182: ip route add vrf v$ol4 192.0.3.0/24 nexthop dev g2 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip route add vrf v"$ol4" 192.0.3.0/24 nexthop dev g2 In ip6gre_inner_v4_multipath.sh line 187: ip route del vrf v$ol4 192.0.3.0/24 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip route del vrf v"$ol4" 192.0.3.0/24 In ip6gre_inner_v4_multipath.sh line 189: ip -6 route del vrf v$ol4 2001:db8:40::1/128 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip -6 route del vrf v"$ol4" 2001:db8:40::1/128 In ip6gre_inner_v4_multipath.sh line 193: __simple_if_fini $ul4 2001:db8:83::1/64 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: __simple_if_fini "$ul4" 2001:db8:83::1/64 In ip6gre_inner_v4_multipath.sh line 194: simple_if_fini $ol4 192.0.4.1/24 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: simple_if_fini "$ol4" 192.0.4.1/24 In ip6gre_inner_v4_multipath.sh line 199: simple_if_init $h2 192.0.4.2/24 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: simple_if_init "$h2" 192.0.4.2/24 In ip6gre_inner_v4_multipath.sh line 200: ip route add vrf v$h2 192.0.3.0/24 via 192.0.4.1 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip route add vrf v"$h2" 192.0.3.0/24 via 192.0.4.1 In ip6gre_inner_v4_multipath.sh line 205: ip route del vrf v$h2 192.0.3.0/24 via 192.0.4.1 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip route del vrf v"$h2" 192.0.3.0/24 via 192.0.4.1 In ip6gre_inner_v4_multipath.sh line 206: simple_if_fini $h2 192.0.4.2/24 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: simple_if_fini "$h2" 192.0.4.2/24 In ip6gre_inner_v4_multipath.sh line 260: ip route replace vrf v$ul21 2001:db8:40::2/128 \ ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip route replace vrf v"$ul21" 2001:db8:40::2/128 \ In ip6gre_inner_v4_multipath.sh line 261: nexthop via 2001:db8:81::2 weight $weight1 \ ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: nexthop via 2001:db8:81::2 weight "$weight1" \ In ip6gre_inner_v4_multipath.sh line 262: nexthop via 2001:db8:82::2 weight $weight2 ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: nexthop via 2001:db8:82::2 weight "$weight2" In ip6gre_inner_v4_multipath.sh line 264: local t0_111=$(tc_rule_stats_get $ul32 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 "$ul32" 111 ingress) In ip6gre_inner_v4_multipath.sh line 265: local t0_222=$(tc_rule_stats_get $ul32 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 "$ul32" 222 ingress) In ip6gre_inner_v4_multipath.sh line 267: ip vrf exec v$h1 \ ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip vrf exec v"$h1" \ In ip6gre_inner_v4_multipath.sh line 268: $MZ -q -p 64 -A "192.0.3.2-192.0.3.62" -B "192.0.4.2-192.0.4.62" \ ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: "$MZ" -q -p 64 -A "192.0.3.2-192.0.3.62" -B "192.0.4.2-192.0.4.62" \ In ip6gre_inner_v4_multipath.sh line 269: -d $MZ_DELAY -c 50 -t udp $h1 "sp=1024,dp=1024" ^-------^ SC2086 (info): Double quote to prevent globbing and word splitting. ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: -d "$MZ_DELAY" -c 50 -t udp "$h1" "sp=1024,dp=1024" In ip6gre_inner_v4_multipath.sh line 272: local t1_111=$(tc_rule_stats_get $ul32 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 "$ul32" 111 ingress) In ip6gre_inner_v4_multipath.sh line 273: local t1_222=$(tc_rule_stats_get $ul32 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 "$ul32" 222 ingress) In ip6gre_inner_v4_multipath.sh line 277: 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 ip6gre_inner_v4_multipath.sh line 279: ip route replace vrf v$ul21 2001:db8:40::2/128 \ ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip route replace vrf v"$ul21" 2001:db8:40::2/128 \ In ip6gre_inner_v4_multipath.sh line 287: ping_test $h1 192.0.4.2 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ping_test "$h1" 192.0.4.2 In ip6gre_inner_v4_multipath.sh line 304: 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 ... Checking tools/testing/selftests/net/forwarding/ip6gre_inner_v6_multipath.sh - 91cf9f5c3b7472db751fb31c1399cff0552823a1f8226672a0ead2ba3b79df8a In ip6gre_inner_v6_multipath.sh line 83: simple_if_init $h1 2001:db8:1::2/64 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: simple_if_init "$h1" 2001:db8:1::2/64 In ip6gre_inner_v6_multipath.sh line 84: ip -6 route add vrf v$h1 2001:db8:2::/64 via 2001:db8:1::1 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip -6 route add vrf v"$h1" 2001:db8:2::/64 via 2001:db8:1::1 In ip6gre_inner_v6_multipath.sh line 89: ip -6 route del vrf v$h1 2001:db8:2::/64 via 2001:db8:1::1 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip -6 route del vrf v"$h1" 2001:db8:2::/64 via 2001:db8:1::1 In ip6gre_inner_v6_multipath.sh line 90: simple_if_fini $h1 2001:db8:1::2/64 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: simple_if_fini "$h1" 2001:db8:1::2/64 In ip6gre_inner_v6_multipath.sh line 95: simple_if_init $ol1 2001:db8:1::1/64 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: simple_if_init "$ol1" 2001:db8:1::1/64 In ip6gre_inner_v6_multipath.sh line 96: __simple_if_init $ul1 v$ol1 2001:db8:80::1/64 ^--^ 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" 2001:db8:80::1/64 In ip6gre_inner_v6_multipath.sh line 98: tunnel_create g1 ip6gre 2001:db8:40::1 2001:db8:40::2 tos inherit dev v$ol1 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tunnel_create g1 ip6gre 2001:db8:40::1 2001:db8:40::2 tos inherit dev v"$ol1" In ip6gre_inner_v6_multipath.sh line 99: __simple_if_init g1 v$ol1 2001:db8:40::1/128 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: __simple_if_init g1 v"$ol1" 2001:db8:40::1/128 In ip6gre_inner_v6_multipath.sh line 100: ip -6 route add vrf v$ol1 2001:db8:40::2/128 via 2001:db8:80::2 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip -6 route add vrf v"$ol1" 2001:db8:40::2/128 via 2001:db8:80::2 In ip6gre_inner_v6_multipath.sh line 102: ip -6 route add vrf v$ol1 2001:db8:2::/64 dev g1 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip -6 route add vrf v"$ol1" 2001:db8:2::/64 dev g1 In ip6gre_inner_v6_multipath.sh line 107: ip -6 route del vrf v$ol1 2001:db8:2::/64 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip -6 route del vrf v"$ol1" 2001:db8:2::/64 In ip6gre_inner_v6_multipath.sh line 109: ip -6 route del vrf v$ol1 2001:db8:40::2/128 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip -6 route del vrf v"$ol1" 2001:db8:40::2/128 In ip6gre_inner_v6_multipath.sh line 113: __simple_if_fini $ul1 2001:db8:80::1/64 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: __simple_if_fini "$ul1" 2001:db8:80::1/64 In ip6gre_inner_v6_multipath.sh line 114: simple_if_fini $ol1 2001:db8:1::1/64 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: simple_if_fini "$ol1" 2001:db8:1::1/64 In ip6gre_inner_v6_multipath.sh line 119: simple_if_init $ul21 2001:db8:80::2/64 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: simple_if_init "$ul21" 2001:db8:80::2/64 In ip6gre_inner_v6_multipath.sh line 120: __simple_if_init $ul22 v$ul21 ^---^ 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 "$ul22" v"$ul21" In ip6gre_inner_v6_multipath.sh line 121: vlan_create $ul22 111 v$ul21 2001:db8:81::1/64 ^---^ 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 "$ul22" 111 v"$ul21" 2001:db8:81::1/64 In ip6gre_inner_v6_multipath.sh line 122: vlan_create $ul22 222 v$ul21 2001:db8:82::1/64 ^---^ 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 "$ul22" 222 v"$ul21" 2001:db8:82::1/64 In ip6gre_inner_v6_multipath.sh line 124: ip -6 route add vrf v$ul21 2001:db8:40::1/128 via 2001:db8:80::1 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip -6 route add vrf v"$ul21" 2001:db8:40::1/128 via 2001:db8:80::1 In ip6gre_inner_v6_multipath.sh line 125: ip -6 route add vrf v$ul21 2001:db8:40::2/128 \ ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip -6 route add vrf v"$ul21" 2001:db8:40::2/128 \ In ip6gre_inner_v6_multipath.sh line 132: ip -6 route del vrf v$ul21 2001:db8:40::2/128 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip -6 route del vrf v"$ul21" 2001:db8:40::2/128 In ip6gre_inner_v6_multipath.sh line 133: ip -6 route del vrf v$ul21 2001:db8:40::1/128 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip -6 route del vrf v"$ul21" 2001:db8:40::1/128 In ip6gre_inner_v6_multipath.sh line 135: vlan_destroy $ul22 222 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: vlan_destroy "$ul22" 222 In ip6gre_inner_v6_multipath.sh line 136: vlan_destroy $ul22 111 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: vlan_destroy "$ul22" 111 In ip6gre_inner_v6_multipath.sh line 137: __simple_if_fini $ul22 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: __simple_if_fini "$ul22" In ip6gre_inner_v6_multipath.sh line 138: simple_if_fini $ul21 2001:db8:80::2/64 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: simple_if_fini "$ul21" 2001:db8:80::2/64 In ip6gre_inner_v6_multipath.sh line 143: simple_if_init $ul31 2001:db8:83::2/64 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: simple_if_init "$ul31" 2001:db8:83::2/64 In ip6gre_inner_v6_multipath.sh line 144: __simple_if_init $ul32 v$ul31 ^---^ 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 "$ul32" v"$ul31" In ip6gre_inner_v6_multipath.sh line 145: vlan_create $ul32 111 v$ul31 2001:db8:81::2/64 ^---^ 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 "$ul32" 111 v"$ul31" 2001:db8:81::2/64 In ip6gre_inner_v6_multipath.sh line 146: vlan_create $ul32 222 v$ul31 2001:db8:82::2/64 ^---^ 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 "$ul32" 222 v"$ul31" 2001:db8:82::2/64 In ip6gre_inner_v6_multipath.sh line 148: ip -6 route add vrf v$ul31 2001:db8:40::2/128 via 2001:db8:83::1 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip -6 route add vrf v"$ul31" 2001:db8:40::2/128 via 2001:db8:83::1 In ip6gre_inner_v6_multipath.sh line 149: ip -6 route add vrf v$ul31 2001:db8:40::1/128 \ ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip -6 route add vrf v"$ul31" 2001:db8:40::1/128 \ In ip6gre_inner_v6_multipath.sh line 153: tc qdisc add dev $ul32 clsact ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc qdisc add dev "$ul32" clsact In ip6gre_inner_v6_multipath.sh line 154: tc filter add dev $ul32 ingress pref 111 prot 802.1Q \ ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter add dev "$ul32" ingress pref 111 prot 802.1Q \ In ip6gre_inner_v6_multipath.sh line 156: tc filter add dev $ul32 ingress pref 222 prot 802.1Q \ ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter add dev "$ul32" ingress pref 222 prot 802.1Q \ In ip6gre_inner_v6_multipath.sh line 162: tc qdisc del dev $ul32 clsact ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc qdisc del dev "$ul32" clsact In ip6gre_inner_v6_multipath.sh line 164: ip -6 route del vrf v$ul31 2001:db8:40::1/128 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip -6 route del vrf v"$ul31" 2001:db8:40::1/128 In ip6gre_inner_v6_multipath.sh line 165: ip -6 route del vrf v$ul31 2001:db8:40::2/128 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip -6 route del vrf v"$ul31" 2001:db8:40::2/128 In ip6gre_inner_v6_multipath.sh line 167: vlan_destroy $ul32 222 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: vlan_destroy "$ul32" 222 In ip6gre_inner_v6_multipath.sh line 168: vlan_destroy $ul32 111 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: vlan_destroy "$ul32" 111 In ip6gre_inner_v6_multipath.sh line 169: __simple_if_fini $ul32 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: __simple_if_fini "$ul32" In ip6gre_inner_v6_multipath.sh line 170: simple_if_fini $ul31 2001:Db8:83::2/64 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: simple_if_fini "$ul31" 2001:Db8:83::2/64 In ip6gre_inner_v6_multipath.sh line 175: simple_if_init $ol4 2001:db8:2::1/64 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: simple_if_init "$ol4" 2001:db8:2::1/64 In ip6gre_inner_v6_multipath.sh line 176: __simple_if_init $ul4 v$ol4 2001:db8:83::1/64 ^--^ 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 "$ul4" v"$ol4" 2001:db8:83::1/64 In ip6gre_inner_v6_multipath.sh line 178: tunnel_create g2 ip6gre 2001:db8:40::2 2001:db8:40::1 tos inherit dev v$ol4 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tunnel_create g2 ip6gre 2001:db8:40::2 2001:db8:40::1 tos inherit dev v"$ol4" In ip6gre_inner_v6_multipath.sh line 179: __simple_if_init g2 v$ol4 2001:db8:40::2/128 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: __simple_if_init g2 v"$ol4" 2001:db8:40::2/128 In ip6gre_inner_v6_multipath.sh line 180: ip -6 route add vrf v$ol4 2001:db8:40::1/128 via 2001:db8:83::2 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip -6 route add vrf v"$ol4" 2001:db8:40::1/128 via 2001:db8:83::2 In ip6gre_inner_v6_multipath.sh line 182: ip -6 route add vrf v$ol4 2001:db8:1::/64 dev g2 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip -6 route add vrf v"$ol4" 2001:db8:1::/64 dev g2 In ip6gre_inner_v6_multipath.sh line 187: ip -6 route del vrf v$ol4 2001:db8:1::/64 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip -6 route del vrf v"$ol4" 2001:db8:1::/64 In ip6gre_inner_v6_multipath.sh line 189: ip -6 route del vrf v$ol4 2001:db8:40::1/128 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip -6 route del vrf v"$ol4" 2001:db8:40::1/128 In ip6gre_inner_v6_multipath.sh line 193: __simple_if_fini $ul4 2001:db8:83::1/64 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: __simple_if_fini "$ul4" 2001:db8:83::1/64 In ip6gre_inner_v6_multipath.sh line 194: simple_if_fini $ol4 2001:db8:2::1/64 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: simple_if_fini "$ol4" 2001:db8:2::1/64 In ip6gre_inner_v6_multipath.sh line 199: simple_if_init $h2 2001:db8:2::2/64 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: simple_if_init "$h2" 2001:db8:2::2/64 In ip6gre_inner_v6_multipath.sh line 200: ip -6 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 -6 route add vrf v"$h2" 2001:db8:1::/64 via 2001:db8:2::1 In ip6gre_inner_v6_multipath.sh line 205: ip -6 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 -6 route del vrf v"$h2" 2001:db8:1::/64 via 2001:db8:2::1 In ip6gre_inner_v6_multipath.sh line 206: simple_if_fini $h2 2001:db8:2::2/64 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: simple_if_fini "$h2" 2001:db8:2::2/64 In ip6gre_inner_v6_multipath.sh line 260: ip route replace vrf v$ul21 2001:db8:40::2/128 \ ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip route replace vrf v"$ul21" 2001:db8:40::2/128 \ In ip6gre_inner_v6_multipath.sh line 261: nexthop via 2001:db8:81::2 weight $weight1 \ ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: nexthop via 2001:db8:81::2 weight "$weight1" \ In ip6gre_inner_v6_multipath.sh line 262: nexthop via 2001:db8:82::2 weight $weight2 ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: nexthop via 2001:db8:82::2 weight "$weight2" In ip6gre_inner_v6_multipath.sh line 264: local t0_111=$(tc_rule_stats_get $ul32 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 "$ul32" 111 ingress) In ip6gre_inner_v6_multipath.sh line 265: local t0_222=$(tc_rule_stats_get $ul32 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 "$ul32" 222 ingress) In ip6gre_inner_v6_multipath.sh line 267: ip vrf exec v$h1 \ ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip vrf exec v"$h1" \ In ip6gre_inner_v6_multipath.sh line 268: $MZ -6 -q -p 64 -A "2001:db8:1::2-2001:db8:1::3e" \ ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: "$MZ" -6 -q -p 64 -A "2001:db8:1::2-2001:db8:1::3e" \ In ip6gre_inner_v6_multipath.sh line 270: -d $MZ_DELAY -c 50 -t udp $h1 "sp=1024,dp=1024" ^-------^ SC2086 (info): Double quote to prevent globbing and word splitting. ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: -d "$MZ_DELAY" -c 50 -t udp "$h1" "sp=1024,dp=1024" In ip6gre_inner_v6_multipath.sh line 273: local t1_111=$(tc_rule_stats_get $ul32 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 "$ul32" 111 ingress) In ip6gre_inner_v6_multipath.sh line 274: local t1_222=$(tc_rule_stats_get $ul32 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 "$ul32" 222 ingress) In ip6gre_inner_v6_multipath.sh line 278: 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 ip6gre_inner_v6_multipath.sh line 280: ip route replace vrf v$ul21 2001:db8:40::2/128 \ ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip route replace vrf v"$ul21" 2001:db8:40::2/128 \ In ip6gre_inner_v6_multipath.sh line 288: ping_test $h1 2001:db8:2::2 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ping_test "$h1" 2001:db8:2::2 In ip6gre_inner_v6_multipath.sh line 305: 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 ... Checking tools/testing/selftests/net/forwarding/ip6gre_lib.sh - 22e346209b9b6bf66a05977e26f91e34e49b71785e5e444b645d08611f3fb12c In ip6gre_lib.sh line 2: #!/bin/bash ^-- SC1128 (error): The shebang must be on the first line. Delete blanks and move comments. In ip6gre_lib.sh line 157: simple_if_init $h1 198.51.100.1/24 2001:db8:1::1/64 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: simple_if_init "$h1" 198.51.100.1/24 2001:db8:1::1/64 In ip6gre_lib.sh line 158: ip route add vrf v$h1 203.0.113.0/24 via 198.51.100.2 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip route add vrf v"$h1" 203.0.113.0/24 via 198.51.100.2 In ip6gre_lib.sh line 159: ip -6 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 -6 route add vrf v"$h1" 2001:db8:2::/64 via 2001:db8:1::2 In ip6gre_lib.sh line 164: ip -6 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 -6 route del vrf v"$h1" 2001:db8:2::/64 via 2001:db8:1::2 In ip6gre_lib.sh line 165: ip route del vrf v$h1 203.0.113.0/24 via 198.51.100.2 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip route del vrf v"$h1" 203.0.113.0/24 via 198.51.100.2 In ip6gre_lib.sh line 166: simple_if_fini $h1 198.51.100.1/24 2001:db8:1::1/64 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: simple_if_fini "$h1" 198.51.100.1/24 2001:db8:1::1/64 In ip6gre_lib.sh line 171: simple_if_init $h2 203.0.113.1/24 2001:db8:2::1/64 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: simple_if_init "$h2" 203.0.113.1/24 2001:db8:2::1/64 In ip6gre_lib.sh line 172: ip route add vrf v$h2 198.51.100.0/24 via 203.0.113.2 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip route add vrf v"$h2" 198.51.100.0/24 via 203.0.113.2 In ip6gre_lib.sh line 173: ip -6 route add vrf v$h2 2001:db8:1::/64 via 2001:db8:2::2 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip -6 route add vrf v"$h2" 2001:db8:1::/64 via 2001:db8:2::2 In ip6gre_lib.sh line 178: ip -6 route del vrf v$h2 2001:db8:1::/64 via 2001:db8:2::2 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip -6 route del vrf v"$h2" 2001:db8:1::/64 via 2001:db8:2::2 In ip6gre_lib.sh line 179: ip route del vrf v$h2 198.51.100.0/24 via 203.0.113.2 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip route del vrf v"$h2" 198.51.100.0/24 via 203.0.113.2 In ip6gre_lib.sh line 180: simple_if_fini $h2 203.0.113.1/24 2001:db8:2::1/64 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: simple_if_fini "$h2" 203.0.113.1/24 2001:db8:2::1/64 In ip6gre_lib.sh line 188: 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 ip6gre_lib.sh line 189: __addr_add_del $ol1 add 198.51.100.2/24 2001:db8:1::2/64 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: __addr_add_del "$ol1" add 198.51.100.2/24 2001:db8:1::2/64 In ip6gre_lib.sh line 191: 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 ip6gre_lib.sh line 192: vlan_create $ul1 111 "" 2001:db8:10::1/64 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: vlan_create "$ul1" 111 "" 2001:db8:10::1/64 In ip6gre_lib.sh line 216: vlan_destroy $ul1 111 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: vlan_destroy "$ul1" 111 In ip6gre_lib.sh line 217: __simple_if_fini $ul1 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: __simple_if_fini "$ul1" In ip6gre_lib.sh line 218: __simple_if_fini $ol1 198.51.100.2/24 2001:db8:1::2/64 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: __simple_if_fini "$ol1" 198.51.100.2/24 2001:db8:1::2/64 In ip6gre_lib.sh line 226: simple_if_init $ol2 203.0.113.2/24 2001:db8:2::2/64 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: simple_if_init "$ol2" 203.0.113.2/24 2001:db8:2::2/64 In ip6gre_lib.sh line 227: __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 ip6gre_lib.sh line 228: vlan_create $ul2 111 v$ol2 2001:db8:10::2/64 ^--^ 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" 2001:db8:10::2/64 In ip6gre_lib.sh line 231: ttl inherit dev v$ol2 "$@" ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ttl inherit dev v"$ol2" "$@" In ip6gre_lib.sh line 232: __simple_if_init g2a v$ol2 2001:db8:3::2/128 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: __simple_if_init g2a v"$ol2" 2001:db8:3::2/128 In ip6gre_lib.sh line 235: ip neigh replace dev $ol2 203.0.113.1 lladdr $(mac_get $h2) ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. ^------------^ SC2046 (warning): Quote this to prevent word splitting. ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip neigh replace dev "$ol2" 203.0.113.1 lladdr $(mac_get "$h2") In ip6gre_lib.sh line 236: ip -6 neigh replace dev $ol2 2001:db8:2::1 lladdr $(mac_get $h2) ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. ^------------^ SC2046 (warning): Quote this to prevent word splitting. ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip -6 neigh replace dev "$ol2" 2001:db8:2::1 lladdr $(mac_get "$h2") In ip6gre_lib.sh line 238: ip -6 route add vrf v$ol2 2001:db8:3::1/128 via 2001:db8:10::1 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip -6 route add vrf v"$ol2" 2001:db8:3::1/128 via 2001:db8:10::1 In ip6gre_lib.sh line 239: ip route add vrf v$ol2 198.51.100.0/24 dev g2a ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip route add vrf v"$ol2" 198.51.100.0/24 dev g2a In ip6gre_lib.sh line 240: ip -6 route add vrf v$ol2 2001:db8:1::/64 dev g2a ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip -6 route add vrf v"$ol2" 2001:db8:1::/64 dev g2a In ip6gre_lib.sh line 248: ip -6 route del vrf v$ol2 2001:db8:2::/64 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip -6 route del vrf v"$ol2" 2001:db8:2::/64 In ip6gre_lib.sh line 249: ip route del vrf v$ol2 198.51.100.0/24 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip route del vrf v"$ol2" 198.51.100.0/24 In ip6gre_lib.sh line 250: ip -6 route del vrf v$ol2 2001:db8:3::1/128 via 2001:db8:10::1 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip -6 route del vrf v"$ol2" 2001:db8:3::1/128 via 2001:db8:10::1 In ip6gre_lib.sh line 255: vlan_destroy $ul2 111 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: vlan_destroy "$ul2" 111 In ip6gre_lib.sh line 256: __simple_if_fini $ul2 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: __simple_if_fini "$ul2" In ip6gre_lib.sh line 257: simple_if_fini $ol2 203.0.113.2/24 2001:db8:2::2/64 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: simple_if_fini "$ol2" 203.0.113.2/24 2001:db8:2::2/64 In ip6gre_lib.sh line 265: simple_if_init $ol1 198.51.100.2/24 2001:db8:1::2/64 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: simple_if_init "$ol1" 198.51.100.2/24 2001:db8:1::2/64 In ip6gre_lib.sh line 266: simple_if_init $ul1 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: simple_if_init "$ul1" In ip6gre_lib.sh line 268: __simple_if_init dummy1 v$ul1 2001:db8:3::1/64 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: __simple_if_init dummy1 v"$ul1" 2001:db8:3::1/64 In ip6gre_lib.sh line 270: vlan_create $ul1 111 v$ul1 2001:db8:10::1/64 ^--^ 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" 2001:db8:10::1/64 In ip6gre_lib.sh line 273: 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 ip6gre_lib.sh line 275: ip -6 route add vrf v$ul1 2001:db8:3::2/128 via 2001:db8:10::2 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip -6 route add vrf v"$ul1" 2001:db8:3::2/128 via 2001:db8:10::2 In ip6gre_lib.sh line 276: ip route add vrf v$ol1 203.0.113.0/24 dev g1a ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip route add vrf v"$ol1" 203.0.113.0/24 dev g1a In ip6gre_lib.sh line 277: ip -6 route add vrf v$ol1 2001:db8:2::/64 dev g1a ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip -6 route add vrf v"$ol1" 2001:db8:2::/64 dev g1a In ip6gre_lib.sh line 285: ip -6 route del vrf v$ol1 2001:db8:2::/64 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip -6 route del vrf v"$ol1" 2001:db8:2::/64 In ip6gre_lib.sh line 286: ip route del vrf v$ol1 203.0.113.0/24 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip route del vrf v"$ol1" 203.0.113.0/24 In ip6gre_lib.sh line 287: ip -6 route del vrf v$ul1 2001:db8:3::2/128 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip -6 route del vrf v"$ul1" 2001:db8:3::2/128 In ip6gre_lib.sh line 290: vlan_destroy $ul1 111 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: vlan_destroy "$ul1" 111 In ip6gre_lib.sh line 295: simple_if_fini $ul1 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: simple_if_fini "$ul1" In ip6gre_lib.sh line 296: simple_if_fini $ol1 198.51.100.2/24 2001:db8:1::2/64 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: simple_if_fini "$ol1" 198.51.100.2/24 2001:db8:1::2/64 In ip6gre_lib.sh line 304: simple_if_init $ol2 203.0.113.2/24 2001:db8:2::2/64 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: simple_if_init "$ol2" 203.0.113.2/24 2001:db8:2::2/64 In ip6gre_lib.sh line 305: simple_if_init $ul2 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: simple_if_init "$ul2" In ip6gre_lib.sh line 308: __simple_if_init dummy2 v$ul2 2001:db8:3::2/64 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: __simple_if_init dummy2 v"$ul2" 2001:db8:3::2/64 In ip6gre_lib.sh line 310: vlan_create $ul2 111 v$ul2 2001:db8:10::2/64 ^--^ 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" 2001:db8:10::2/64 In ip6gre_lib.sh line 313: 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 ip6gre_lib.sh line 316: ip neigh replace dev $ol2 203.0.113.1 lladdr $(mac_get $h2) ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. ^------------^ SC2046 (warning): Quote this to prevent word splitting. ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip neigh replace dev "$ol2" 203.0.113.1 lladdr $(mac_get "$h2") In ip6gre_lib.sh line 317: ip -6 neigh replace dev $ol2 2001:db8:2::1 lladdr $(mac_get $h2) ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. ^------------^ SC2046 (warning): Quote this to prevent word splitting. ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip -6 neigh replace dev "$ol2" 2001:db8:2::1 lladdr $(mac_get "$h2") In ip6gre_lib.sh line 319: ip -6 route add vrf v$ul2 2001:db8:3::1/128 via 2001:db8:10::1 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip -6 route add vrf v"$ul2" 2001:db8:3::1/128 via 2001:db8:10::1 In ip6gre_lib.sh line 320: ip route add vrf v$ol2 198.51.100.0/24 dev g2a ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip route add vrf v"$ol2" 198.51.100.0/24 dev g2a In ip6gre_lib.sh line 321: ip -6 route add vrf v$ol2 2001:db8:1::/64 dev g2a ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip -6 route add vrf v"$ol2" 2001:db8:1::/64 dev g2a In ip6gre_lib.sh line 329: ip -6 route del vrf v$ol2 2001:db8:2::/64 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip -6 route del vrf v"$ol2" 2001:db8:2::/64 In ip6gre_lib.sh line 330: ip route del vrf v$ol2 198.51.100.0/24 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip route del vrf v"$ol2" 198.51.100.0/24 In ip6gre_lib.sh line 331: ip -6 route del vrf v$ul2 2001:db8:3::1/128 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip -6 route del vrf v"$ul2" 2001:db8:3::1/128 In ip6gre_lib.sh line 334: vlan_destroy $ul2 111 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: vlan_destroy "$ul2" 111 In ip6gre_lib.sh line 339: simple_if_fini $ul2 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: simple_if_fini "$ul2" In ip6gre_lib.sh line 340: simple_if_fini $ol2 203.0.113.2/24 2001:db8:2::2/64 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: simple_if_fini "$ol2" 203.0.113.2/24 2001:db8:2::2/64 In ip6gre_lib.sh line 347: h1mac=$(mac_get $h1) ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: h1mac=$(mac_get "$h1") In ip6gre_lib.sh line 348: ol1mac=$(mac_get $ol1) ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ol1mac=$(mac_get "$ol1") In ip6gre_lib.sh line 350: tc qdisc add dev $ul1 clsact ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc qdisc add dev "$ul1" clsact In ip6gre_lib.sh line 351: tc filter add dev $ul1 egress proto all pref 1 handle 101 \ ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter add dev "$ul1" egress proto all pref 1 handle 101 \ In ip6gre_lib.sh line 352: flower $TC_FLAG action pass ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: flower "$TC_FLAG" action pass In ip6gre_lib.sh line 354: tc qdisc add dev $ol2 clsact ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc qdisc add dev "$ol2" clsact In ip6gre_lib.sh line 355: tc filter add dev $ol2 egress protocol ipv4 pref 1 handle 101 \ ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter add dev "$ol2" egress protocol ipv4 pref 1 handle 101 \ In ip6gre_lib.sh line 356: flower $TC_FLAG dst_ip 203.0.113.1 action pass ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: flower "$TC_FLAG" dst_ip 203.0.113.1 action pass In ip6gre_lib.sh line 358: $MZ -c 1000 -p 64 -a $h1mac -b $ol1mac -A 198.51.100.1 \ ^----^ SC2086 (info): Double quote to prevent globbing and word splitting. ^-----^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: $MZ -c 1000 -p 64 -a "$h1mac" -b "$ol1mac" -A 198.51.100.1 \ In ip6gre_lib.sh line 359: -B 203.0.113.1 -t ip -q -d $MZ_DELAY $h1 ^-------^ SC2086 (info): Double quote to prevent globbing and word splitting. ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: -B 203.0.113.1 -t ip -q -d "$MZ_DELAY" "$h1" In ip6gre_lib.sh line 370: tc filter del dev $ol2 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 "$ol2" egress protocol ipv4 pref 1 handle 101 flower In ip6gre_lib.sh line 371: tc qdisc del dev $ol2 clsact ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc qdisc del dev "$ol2" clsact In ip6gre_lib.sh line 372: tc filter del dev $ul1 egress proto all pref 1 handle 101 flower ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter del dev "$ul1" egress proto all pref 1 handle 101 flower In ip6gre_lib.sh line 373: tc qdisc del dev $ul1 clsact ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc qdisc del dev "$ul1" clsact In ip6gre_lib.sh line 380: h1mac=$(mac_get $h1) ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: h1mac=$(mac_get "$h1") In ip6gre_lib.sh line 381: ol1mac=$(mac_get $ol1) ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ol1mac=$(mac_get "$ol1") In ip6gre_lib.sh line 383: tc qdisc add dev $ul1 clsact ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc qdisc add dev "$ul1" clsact In ip6gre_lib.sh line 384: tc filter add dev $ul1 egress proto all pref 1 handle 101 \ ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter add dev "$ul1" egress proto all pref 1 handle 101 \ In ip6gre_lib.sh line 385: flower $TC_FLAG action pass ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: flower "$TC_FLAG" action pass In ip6gre_lib.sh line 387: tc qdisc add dev $ol2 clsact ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc qdisc add dev "$ol2" clsact In ip6gre_lib.sh line 388: tc filter add dev $ol2 egress protocol ipv6 pref 1 handle 101 \ ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter add dev "$ol2" egress protocol ipv6 pref 1 handle 101 \ In ip6gre_lib.sh line 389: flower $TC_FLAG dst_ip 2001:db8:2::1 action pass ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: flower "$TC_FLAG" dst_ip 2001:db8:2::1 action pass In ip6gre_lib.sh line 391: $MZ -6 -c 1000 -p 64 -a $h1mac -b $ol1mac -A 2001:db8:1::1 \ ^----^ SC2086 (info): Double quote to prevent globbing and word splitting. ^-----^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: $MZ -6 -c 1000 -p 64 -a "$h1mac" -b "$ol1mac" -A 2001:db8:1::1 \ In ip6gre_lib.sh line 392: -B 2001:db8:2::1 -t ip -q -d $MZ_DELAY $h1 ^-------^ SC2086 (info): Double quote to prevent globbing and word splitting. ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: -B 2001:db8:2::1 -t ip -q -d "$MZ_DELAY" "$h1" In ip6gre_lib.sh line 403: tc filter del dev $ol2 egress protocol ipv6 pref 1 handle 101 flower ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter del dev "$ol2" egress protocol ipv6 pref 1 handle 101 flower In ip6gre_lib.sh line 404: tc qdisc del dev $ol2 clsact ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc qdisc del dev "$ol2" clsact In ip6gre_lib.sh line 405: tc filter del dev $ul1 egress proto all pref 1 handle 101 flower ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter del dev "$ul1" egress proto all pref 1 handle 101 flower In ip6gre_lib.sh line 406: tc qdisc del dev $ul1 clsact ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc qdisc del dev "$ul1" clsact In ip6gre_lib.sh line 413: 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 ip6gre_lib.sh line 414: 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 ip6gre_lib.sh line 415: 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 ip6gre_lib.sh line 416: 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 ip6gre_lib.sh line 417: 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 ip6gre_lib.sh line 418: 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 ip6gre_lib.sh line 419: 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 ip6gre_lib.sh line 420: 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 ip6gre_lib.sh line 421: 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 ip6gre_lib.sh line 422: 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 ip6gre_lib.sh line 429: ping6_do $h1 2001:db8:2::1 "-s 1800 -w 3" ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ping6_do "$h1" 2001:db8:2::1 "-s 1800 -w 3" In ip6gre_lib.sh line 435: ping6_do $h1 2001:db8:2::1 "-s 1800 -w 3" ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ping6_do "$h1" 2001:db8:2::1 "-s 1800 -w 3" In ip6gre_lib.sh line 447: ip link set dev g1a type ip6gre local $new1 remote $new2 ^---^ 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 dev g1a type ip6gre local "$new1" remote "$new2" In ip6gre_lib.sh line 450: ip -6 route add $new2/128 via 2001:db8:10::2 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip -6 route add "$new2"/128 via 2001:db8:10::2 In ip6gre_lib.sh line 451: ip -6 route del $old2/128 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip -6 route del "$old2"/128 In ip6gre_lib.sh line 453: ip link set dev g2a type ip6gre local $new2 remote $new1 ^---^ 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 dev g2a type ip6gre local "$new2" remote "$new1" In ip6gre_lib.sh line 456: ip -6 route add vrf v$ol2 $new1/128 via 2001:db8:10::1 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip -6 route add vrf v"$ol2" "$new1"/128 via 2001:db8:10::1 In ip6gre_lib.sh line 457: ip -6 route del vrf v$ol2 $old1/128 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip -6 route del vrf v"$ol2" "$old1"/128 In ip6gre_lib.sh line 489: ip link set dev g1a type ip6gre local $new1 remote $new2 ^---^ 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 dev g1a type ip6gre local "$new1" remote "$new2" In ip6gre_lib.sh line 490: ip -6 route add vrf v$ul1 $new2/128 via 2001:db8:10::2 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip -6 route add vrf v"$ul1" "$new2"/128 via 2001:db8:10::2 In ip6gre_lib.sh line 491: ip -6 route del vrf v$ul1 $old2/128 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip -6 route del vrf v"$ul1" "$old2"/128 In ip6gre_lib.sh line 495: ip link set dev g2a type ip6gre local $new2 remote $new1 ^---^ 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 dev g2a type ip6gre local "$new2" remote "$new1" In ip6gre_lib.sh line 496: ip -6 route add vrf v$ul2 $new1/128 via 2001:db8:10::1 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip -6 route add vrf v"$ul2" "$new1"/128 via 2001:db8:10::1 In ip6gre_lib.sh line 497: ip -6 route del vrf v$ul2 $old1/128 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip -6 route del vrf v"$ul2" "$old1"/128 For more information: https://www.shellcheck.net/wiki/SC1128 -- The shebang must be on the first ... https://www.shellcheck.net/wiki/SC2046 -- Quote this to prevent word splitt... https://www.shellcheck.net/wiki/SC2086 -- Double quote to prevent globbing ... Checking tools/testing/selftests/net/forwarding/lib.sh - e1a847ed4d4592e29820ec7d4d0de16c1b815b225d7508d588b8b4f99ffa9610 In lib.sh line 97: basename `realpath $driver_path` ^---------------------^ SC2046 (warning): Quote this to prevent word splitting. ^---------------------^ SC2006 (style): Use $(...) notation instead of legacy backticks `...`. ^----------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: basename $(realpath "$driver_path") In lib.sh line 103: local ifnames=`ip -j link show | jq -r ".[].ifname"` ^-----^ SC2155 (warning): Declare and assign separately to avoid masking return values. ^-- SC2006 (style): Use $(...) notation instead of legacy backticks `...`. Did you mean: local ifnames=$(ip -j link show | jq -r ".[].ifname") In lib.sh line 108: local driver_name=`driver_name_get $ifname` ^---------^ SC2155 (warning): Declare and assign separately to avoid masking return values. ^-----------------------^ SC2006 (style): Use $(...) notation instead of legacy backticks `...`. ^-----^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: local driver_name=$(driver_name_get "$ifname") In lib.sh line 109: if [[ ! -z $driver_name && $driver_name == $NETIF_FIND_DRIVER ]]; then ^-- SC2236 (style): Use -n instead of ! -z. ^----------------^ SC2053 (warning): Quote the right-hand side of == in [[ ]] to prevent glob matching. In lib.sh line 128: source "$net_forwarding_dir/forwarding.config" ^-- SC1091 (info): Not following: ./forwarding.config: openBinaryFile: does not exist (No such file or directory) In lib.sh line 139: if [[ $? -ne 0 ]]; then ^-- SC2181 (style): Check exit code directly with e.g. 'if ! mycmd;', not indirectly with $?. In lib.sh line 149: tc filter add dev $dev ingress pref 1 handle 1 flower \ ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter add dev "$dev" ingress pref 1 handle 1 flower \ In lib.sh line 151: if [[ $? -ne 0 ]]; then ^-- SC2181 (style): Check exit code directly with e.g. 'if ! mycmd;', not indirectly with $?. In lib.sh line 155: tc filter del dev $dev ingress pref 1 handle 1 flower \ ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter del dev "$dev" ingress pref 1 handle 1 flower \ In lib.sh line 164: tc filter add dev $dev ingress protocol mpls_uc pref 1 handle 1 \ ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter add dev "$dev" ingress protocol mpls_uc pref 1 handle 1 \ In lib.sh line 166: if [[ $? -ne 0 ]]; then ^-- SC2181 (style): Check exit code directly with e.g. 'if ! mycmd;', not indirectly with $?. In lib.sh line 170: tc filter del dev $dev ingress protocol mpls_uc pref 1 handle 1 \ ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter del dev "$dev" ingress protocol mpls_uc pref 1 handle 1 \ In lib.sh line 180: tc filter add dev $dev ingress protocol mpls_uc pref 1 handle 1 \ ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter add dev "$dev" ingress protocol mpls_uc pref 1 handle 1 \ In lib.sh line 184: if [[ $? -ne 0 ]]; then ^-- SC2181 (style): Check exit code directly with e.g. 'if ! mycmd;', not indirectly with $?. In lib.sh line 189: tc -j filter show dev $dev ingress protocol mpls_uc | jq . &> /dev/null ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc -j filter show dev "$dev" ingress protocol mpls_uc | jq . &> /dev/null In lib.sh line 191: tc filter del dev $dev ingress protocol mpls_uc pref 1 handle 1 \ ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter del dev "$dev" ingress protocol mpls_uc pref 1 handle 1 \ In lib.sh line 203: if [[ $? -ne 0 ]]; then ^-- SC2181 (style): Check exit code directly with e.g. 'if ! mycmd;', not indirectly with $?. In lib.sh line 212: if [[ $? -ne 0 ]]; then ^-- SC2181 (style): Check exit code directly with e.g. 'if ! mycmd;', not indirectly with $?. In lib.sh line 221: if [[ $? -ne 0 ]]; then ^-- SC2181 (style): Check exit code directly with e.g. 'if ! mycmd;', not indirectly with $?. In lib.sh line 230: if [[ $? -ne 0 ]]; then ^-- SC2181 (style): Check exit code directly with e.g. 'if ! mycmd;', not indirectly with $?. In lib.sh line 239: if [[ $? -ne 0 ]]; then ^-- SC2181 (style): Check exit code directly with e.g. 'if ! mycmd;', not indirectly with $?. In lib.sh line 248: if [[ $? -ne 0 ]]; then ^-- SC2181 (style): Check exit code directly with e.g. 'if ! mycmd;', not indirectly with $?. In lib.sh line 257: if [[ $? -ne 0 ]]; then ^-- SC2181 (style): Check exit code directly with e.g. 'if ! mycmd;', not indirectly with $?. In lib.sh line 268: [ 0 -ne $(ethtool --json -S $dev --all-groups --src pmac 2>/dev/null \ ^-- SC2046 (warning): Quote this to prevent word splitting. ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: [ 0 -ne $(ethtool --json -S "$dev" --all-groups --src pmac 2>/dev/null \ In lib.sh line 297: local driver_name=`driver_name_get $dev` ^---------^ SC2155 (warning): Declare and assign separately to avoid masking return values. ^--------------------^ SC2006 (style): Use $(...) notation instead of legacy backticks `...`. ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: local driver_name=$(driver_name_get "$dev") In lib.sh line 299: if [[ $driver_name != $expected ]]; then ^-------^ SC2053 (warning): Quote the right-hand side of != in [[ ]] to prevent glob matching. In lib.sh line 312: local version="$(msend -v)" ^-----^ SC2155 (warning): Declare and assign separately to avoid masking return values. In lib.sh line 316: major=$(echo $version | cut -d. -f1) ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: major=$(echo "$version" | cut -d. -f1) In lib.sh line 318: if [ $major -lt 3 ]; then ^----^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: if [ "$major" -lt 3 ]; then In lib.sh line 328: require_command $MZ ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: require_command "$MZ" In lib.sh line 331: require_command $TEAMD ^----^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: require_command "$TEAMD" In lib.sh line 364: echo "SKIP: Importer requires $NUM_NETIFS NETIFS, but only ${#NETIFS[@]} are defined (${NETIFS[@]})" ^----------^ SC2145 (error): Argument mixes string and array. Use * or separate argument. In lib.sh line 382: if [ -z ${NETIFS[p$i]} ]; then ^------------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: if [ -z "${NETIFS[p$i]}" ]; then In lib.sh line 387: ip link show dev ${NETIFS[p$i]} &> /dev/null ^------------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link show dev "${NETIFS[p$i]}" &> /dev/null In lib.sh line 388: if [[ $? -ne 0 ]]; then ^-- SC2181 (style): Check exit code directly with e.g. 'if ! mycmd;', not indirectly with $?. In lib.sh line 389: ip link add ${NETIFS[p$i]} type veth \ ^------------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link add "${NETIFS[p$i]}" type veth \ In lib.sh line 390: peer name ${NETIFS[p$j]} ^------------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: peer name "${NETIFS[p$j]}" In lib.sh line 391: if [[ $? -ne 0 ]]; then ^-- SC2181 (style): Check exit code directly with e.g. 'if ! mycmd;', not indirectly with $?. In lib.sh line 405: *) echo "Can not create interfaces of type \'$NETIF_TYPE\'" ^-- SC2028 (info): echo may not expand escape sequences. Use printf. In lib.sh line 421: MAC_ADDR_ORIG["$dev"]=$(ip -j link show dev $dev | jq -e '.[].address') ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: MAC_ADDR_ORIG["$dev"]=$(ip -j link show dev "$dev" | jq -e '.[].address') In lib.sh line 424: ip link set dev $dev address $new_addr ^--^ 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 dev "$dev" address "$new_addr" In lib.sh line 434: ip link set dev $dev address ${MAC_ADDR_ORIG["$dev"]} ^--^ 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 dev "$dev" address "${MAC_ADDR_ORIG["$dev"]}" In lib.sh line 447: ip link show dev ${NETIFS[p$i]} &> /dev/null ^------------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link show dev "${NETIFS[p$i]}" &> /dev/null In lib.sh line 448: if [[ $? -ne 0 ]]; then ^-- SC2181 (style): Check exit code directly with e.g. 'if ! mycmd;', not indirectly with $?. In lib.sh line 460: [[ $? != 0 ]] ^-- SC2181 (style): Check exit code directly with e.g. 'if ! mycmd;', not indirectly with $?. In lib.sh line 468: for cur in ${arr[@]}; do ^-------^ SC2068 (error): Double quote array expansions to avoid re-splitting elements. In lib.sh line 474: echo $max ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: echo "$max" In lib.sh line 490: $@ | grep $addr | grep $flag "$word" ^-- SC2068 (error): Double quote array expansions to avoid re-splitting elements. ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: $@ | grep "$addr" | grep "$flag" "$word" In lib.sh line 513: setup_wait_dev_with_timeout "$dev" $INTERFACE_TIMEOUT $wait_time ^----------------^ SC2086 (info): Double quote to prevent globbing and word splitting. ^--------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: setup_wait_dev_with_timeout "$dev" "$INTERFACE_TIMEOUT" "$wait_time" In lib.sh line 515: if (($?)); then ^-- SC2181 (style): Check exit code directly with e.g. 'if ! mycmd;', not indirectly with $?. In lib.sh line 529: for ((i = 1; i <= $max_iterations; ++i)); do ^-------------^ SC2004 (style): $/${} is unnecessary on arithmetic variables. In lib.sh line 530: ip link show dev $dev up \ ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link show dev "$dev" up \ In lib.sh line 532: if [[ $? -ne 0 ]]; then ^-- SC2181 (style): Check exit code directly with e.g. 'if ! mycmd;', not indirectly with $?. In lib.sh line 535: sleep $wait_time ^--------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: sleep "$wait_time" In lib.sh line 549: setup_wait_dev ${NETIFS[p$i]} 0 ^------------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: setup_wait_dev "${NETIFS[p$i]}" 0 In lib.sh line 553: sleep $WAIT_TIME ^--------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: sleep "$WAIT_TIME" In lib.sh line 566: slowwait $timeout ip link show dev $dev &> /dev/null ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: slowwait "$timeout" ip link show dev "$dev" &> /dev/null In lib.sh line 567: if (( $? )); then ^-- SC2181 (style): Check exit code directly with e.g. 'if ! mycmd;', not indirectly with $?. In lib.sh line 570: exit $EXIT_STATUS ^----------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: exit "$EXIT_STATUS" In lib.sh line 588: output=$(echo $output | jq -r $jq_opts "$jq_exp") ^-----^ SC2086 (info): Double quote to prevent globbing and word splitting. ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: output=$(echo "$output" | jq -r "$jq_opts" "$jq_exp") In lib.sh line 593: echo $output ^-----^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: echo "$output" In lib.sh line 595: [ ! -z "$output" ] ^-- SC2236 (style): Use -n instead of ! -z. In lib.sh line 602: read ^--^ SC2162 (info): read without -r will mangle backslashes. In lib.sh line 642: return ${__TB_IDS[$vrf_name]} ^--------------------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: return "${__TB_IDS[$vrf_name]}" In lib.sh line 650: __vrf_td_id_assign $vrf_name ^-------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: __vrf_td_id_assign "$vrf_name" In lib.sh line 653: ip link add dev $vrf_name type vrf table $tb_id ^-------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link add dev "$vrf_name" type vrf table $tb_id In lib.sh line 663: __vrf_td_id_lookup $vrf_name ^-------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: __vrf_td_id_lookup "$vrf_name" In lib.sh line 668: ip link del dev $vrf_name ^-------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link del dev "$vrf_name" In lib.sh line 682: ip address $add_del $addrstr dev $if_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. Did you mean: ip address "$add_del" "$addrstr" dev "$if_name" In lib.sh line 692: ip link set dev $if_name master $vrf_name ^------^ 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 dev "$if_name" master "$vrf_name" In lib.sh line 693: ip link set dev $if_name up ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link set dev "$if_name" up In lib.sh line 695: __addr_add_del $if_name add "${addrs[@]}" ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: __addr_add_del "$if_name" add "${addrs[@]}" In lib.sh line 703: __addr_add_del $if_name del "${addrs[@]}" ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: __addr_add_del "$if_name" del "${addrs[@]}" In lib.sh line 705: ip link set dev $if_name down ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link set dev "$if_name" down In lib.sh line 706: ip link set dev $if_name nomaster ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link set dev "$if_name" nomaster In lib.sh line 719: vrf_create $vrf_name ^-------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: vrf_create "$vrf_name" In lib.sh line 720: ip link set dev $vrf_name up ^-------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link set dev "$vrf_name" up In lib.sh line 721: __simple_if_init $if_name $vrf_name "${array[@]}" ^------^ 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 "$if_name" "$vrf_name" "${array[@]}" In lib.sh line 734: __simple_if_fini $if_name "${array[@]}" ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: __simple_if_fini "$if_name" "${array[@]}" In lib.sh line 735: vrf_destroy $vrf_name ^-------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: vrf_destroy "$vrf_name" In lib.sh line 745: ip link add name $name type $type \ ^---^ 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 add name "$name" type "$type" \ In lib.sh line 746: local $local remote $remote "$@" ^----^ SC2086 (info): Double quote to prevent globbing and word splitting. ^-----^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: local "$local" remote "$remote" "$@" In lib.sh line 747: ip link set dev $name up ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link set dev "$name" up In lib.sh line 754: ip link del dev $name ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link del dev "$name" In lib.sh line 765: ip link add name $name link $if_name type vlan id $vid ^---^ 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: ip link add name "$name" link "$if_name" type vlan id "$vid" In lib.sh line 767: ip link set dev $name master $vrf ^---^ 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 dev "$name" master "$vrf" In lib.sh line 769: ip link set dev $name up ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link set dev "$name" up In lib.sh line 770: __addr_add_del $name add "${ips[@]}" ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: __addr_add_del "$name" add "${ips[@]}" In lib.sh line 779: ip link del dev $name ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link del dev "$name" In lib.sh line 787: require_command $TEAMD ^----^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: require_command "$TEAMD" In lib.sh line 788: $TEAMD -t $if_name -d -c '{"runner": {"name": "'$mode'"}}' ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: $TEAMD -t "$if_name" -d -c '{"runner": {"name": "'"$mode"'"}}' In lib.sh line 790: ip link set dev $slave down ^----^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link set dev "$slave" down In lib.sh line 791: ip link set dev $slave master $if_name ^----^ 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 dev "$slave" master "$if_name" In lib.sh line 792: ip link set dev $slave up ^----^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link set dev "$slave" up In lib.sh line 794: ip link set dev $if_name up ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link set dev "$if_name" up In lib.sh line 801: $TEAMD -t $if_name -k ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: $TEAMD -t "$if_name" -k In lib.sh line 808: ip -j link show dev $if_name | jq -r '.[]["master"]' ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip -j link show dev "$if_name" | jq -r '.[]["master"]' In lib.sh line 817: ip -j -s link show dev $if_name \ ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip -j -s link show dev "$if_name" \ In lib.sh line 818: | jq '.[]["stats64"]["'$dir'"]["'$stat'"]' ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: | jq '.[]["stats64"]["'"$dir"'"]["'"$stat"'"]' In lib.sh line 823: link_stats_get $1 tx packets ^-- SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: link_stats_get "$1" tx packets In lib.sh line 828: link_stats_get $1 rx errors ^-- SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: link_stats_get "$1" rx errors In lib.sh line 836: ethtool -S $dev | grep "^ *$stat:" | head -n 1 | cut -d: -f2 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ethtool -S "$dev" | grep "^ *$stat:" | head -n 1 | cut -d: -f2 In lib.sh line 846: ethtool --json -S $dev --groups $grp -- --src $src | \ ^--^ 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: ethtool --json -S "$dev" --groups "$grp" -- --src "$src" | \ In lib.sh line 847: jq '.[]."'"$grp"'"."'$name'"' ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: jq '.[]."'"$grp"'"."'"$name"'"' In lib.sh line 875: cat /proc/net/dev_snmp6/$dev | grep "^$stat" | cut -f2 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: cat /proc/net/dev_snmp6/"$dev" | grep "^$stat" | cut -f2 In lib.sh line 885: ip -j stats show dev $if_name group offload subgroup $suite | ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. ^----^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip -j stats show dev "$if_name" group offload subgroup "$suite" | In lib.sh line 895: ip -j -s -s nexthop show id $group_id | ^-------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip -j -s -s nexthop show id "$group_id" | In lib.sh line 986: ip -j addr show dev $if_name | \ ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip -j addr show dev "$if_name" | \ In lib.sh line 997: ageing_time=$(ip -j -d link show dev $bridge \ ^-----^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ageing_time=$(ip -j -d link show dev "$bridge" \ In lib.sh line 1007: SYSCTL_ORIG[$key]=$(sysctl -n $key) ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: SYSCTL_ORIG[$key]=$(sysctl -n "$key") In lib.sh line 1016: sysctl -qw $key="$value" ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: sysctl -qw "$key"="$value" In lib.sh line 1023: sysctl -qw $key="${SYSCTL_ORIG[$key]}" ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: sysctl -qw "$key"="${SYSCTL_ORIG[$key]}" In lib.sh line 1044: MTU_ORIG["$dev"]=$(ip -j link show dev $dev | jq -e '.[].mtu') ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: MTU_ORIG["$dev"]=$(ip -j link show dev "$dev" | jq -e '.[].mtu') In lib.sh line 1045: ip link set dev $dev mtu $mtu ^--^ 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 dev "$dev" mtu "$mtu" In lib.sh line 1052: ip link set dev $dev mtu ${MTU_ORIG["$dev"]} ^--^ 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 dev "$dev" mtu "${MTU_ORIG["$dev"]}" In lib.sh line 1060: ethtool -k ${NETIFS[p$i]} \ ^------------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ethtool -k "${NETIFS[p$i]}" \ In lib.sh line 1062: if [[ $? -ne 0 ]]; then ^-- SC2181 (style): Check exit code directly with e.g. 'if ! mycmd;', not indirectly with $?. In lib.sh line 1080: tc filter add dev $dev $direction 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 "$dev" "$direction" pref 1 \ In lib.sh line 1082: || tc filter add dev $dev $direction 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 "$dev" "$direction" pref 1 \ In lib.sh line 1091: tc filter del dev $dev $direction pref 1 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 "$dev" "$direction" pref 1 flower In lib.sh line 1102: tc filter $add_del dev "$tundev" ingress \ ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter "$add_del" dev "$tundev" ingress \ In lib.sh line 1103: proto ip$vsuf pref $pref \ ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: proto ip"$vsuf" pref "$pref" \ In lib.sh line 1104: flower ip_proto icmp$vsuf $filter \ ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. ^-----^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: flower ip_proto icmp"$vsuf" "$filter" \ In lib.sh line 1147: tc filter $add_del dev "$dev" ingress \ ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter "$add_del" dev "$dev" ingress \ In lib.sh line 1148: proto 802.1q pref $pref \ ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: proto 802.1q pref "$pref" \ In lib.sh line 1149: flower $filter \ ^-----^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: flower "$filter" \ In lib.sh line 1178: __icmp_capture_add_del $add_del $((dscp + 100)) "" $dev \ ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: __icmp_capture_add_del "$add_del" $((dscp + 100)) "" "$dev" \ In lib.sh line 1188: __dscp_capture_add_del add $dev $base ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: __dscp_capture_add_del add "$dev" "$base" In lib.sh line 1196: __dscp_capture_add_del del $dev $base ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: __dscp_capture_add_del del "$dev" "$base" In lib.sh line 1206: local t=$(tc_rule_stats_get $dev $((dscp + 100))) ^-- 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 t=$(tc_rule_stats_get "$dev" $((dscp + 100))) In lib.sh line 1215: tc qdisc add dev $dev clsact ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc qdisc add dev "$dev" clsact In lib.sh line 1216: tc filter add dev $dev ingress \ ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter add dev "$dev" ingress \ In lib.sh line 1262: diff=$(echo $weights_ratio - $packets_ratio | bc -l) ^------------^ SC2086 (info): Double quote to prevent globbing and word splitting. ^------------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: diff=$(echo "$weights_ratio" - "$packets_ratio" | bc -l) In lib.sh line 1275: ip netns exec $name bash <<-EOF ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip netns exec "$name" bash <<-EOF In lib.sh line 1292: vrf_name=$(master_name_get $if_name) ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: vrf_name=$(master_name_get "$if_name") In lib.sh line 1293: ip vrf exec $vrf_name \ ^-------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip vrf exec "$vrf_name" \ In lib.sh line 1294: $PING $args -c $PING_COUNT -i 0.1 \ ^---^ 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: "$PING" "$args" -c "$PING_COUNT" -i 0.1 \ In lib.sh line 1295: -w $PING_TIMEOUT $dip &> /dev/null ^-----------^ SC2086 (info): Double quote to prevent globbing and word splitting. ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: -w "$PING_TIMEOUT" "$dip" &> /dev/null In lib.sh line 1302: ping_do $1 $2 ^-- SC2086 (info): Double quote to prevent globbing and word splitting. ^-- SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ping_do "$1" "$2" In lib.sh line 1311: ping_do $1 $2 ^-- SC2086 (info): Double quote to prevent globbing and word splitting. ^-- SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ping_do "$1" "$2" In lib.sh line 1323: vrf_name=$(master_name_get $if_name) ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: vrf_name=$(master_name_get "$if_name") In lib.sh line 1324: ip vrf exec $vrf_name \ ^-------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip vrf exec "$vrf_name" \ In lib.sh line 1325: $PING6 $args -c $PING_COUNT -i 0.1 \ ^----^ 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: "$PING6" "$args" -c "$PING_COUNT" -i 0.1 \ In lib.sh line 1326: -w $PING_TIMEOUT $dip &> /dev/null ^-----------^ SC2086 (info): Double quote to prevent globbing and word splitting. ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: -w "$PING_TIMEOUT" "$dip" &> /dev/null In lib.sh line 1333: ping6_do $1 $2 ^-- SC2086 (info): Double quote to prevent globbing and word splitting. ^-- SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ping6_do "$1" "$2" In lib.sh line 1342: ping6_do $1 $2 ^-- SC2086 (info): Double quote to prevent globbing and word splitting. ^-- SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ping6_do "$1" "$2" In lib.sh line 1358: bridge -j fdb show br $bridge brport $br_port1 \ ^-----^ SC2086 (info): Double quote to prevent globbing and word splitting. ^-------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: bridge -j fdb show br "$bridge" brport "$br_port1" \ In lib.sh line 1365: bridge link set dev $br_port1 flood off ^-------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: bridge link set dev "$br_port1" flood off In lib.sh line 1367: ip link set $host1_if promisc on ^-------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link set "$host1_if" promisc on In lib.sh line 1368: tc qdisc add dev $host1_if ingress ^-------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc qdisc add dev "$host1_if" ingress In lib.sh line 1369: tc filter add dev $host1_if ingress protocol ip pref 1 handle 101 \ ^-------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter add dev "$host1_if" ingress protocol ip pref 1 handle 101 \ In lib.sh line 1372: $MZ -c 1 -p 64 -b $mac -t ip -q $host2_if ^-------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: $MZ -c 1 -p 64 -b $mac -t ip -q "$host2_if" In lib.sh line 1375: tc -j -s filter show dev $host1_if ingress \ ^-------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc -j -s filter show dev "$host1_if" ingress \ In lib.sh line 1380: $MZ -c 1 -p 64 -a $mac -t ip -q $host1_if ^-------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: $MZ -c 1 -p 64 -a $mac -t ip -q "$host1_if" In lib.sh line 1383: bridge -j fdb show br $bridge brport $br_port1 \ ^-----^ SC2086 (info): Double quote to prevent globbing and word splitting. ^-------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: bridge -j fdb show br "$bridge" brport "$br_port1" \ In lib.sh line 1387: $MZ -c 1 -p 64 -b $mac -t ip -q $host2_if ^-------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: $MZ -c 1 -p 64 -b $mac -t ip -q "$host2_if" In lib.sh line 1390: tc -j -s filter show dev $host1_if ingress \ ^-------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc -j -s filter show dev "$host1_if" ingress \ In lib.sh line 1397: ageing_time=$(bridge_ageing_time_get $bridge) ^-----^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ageing_time=$(bridge_ageing_time_get "$bridge") In lib.sh line 1400: bridge -j fdb show br $bridge brport $br_port1 \ ^-----^ SC2086 (info): Double quote to prevent globbing and word splitting. ^-------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: bridge -j fdb show br "$bridge" brport "$br_port1" \ In lib.sh line 1404: bridge link set dev $br_port1 learning off ^-------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: bridge link set dev "$br_port1" learning off In lib.sh line 1406: $MZ -c 1 -p 64 -a $mac -t ip -q $host1_if ^-------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: $MZ -c 1 -p 64 -a $mac -t ip -q "$host1_if" In lib.sh line 1409: bridge -j fdb show br $bridge brport $br_port1 \ ^-----^ SC2086 (info): Double quote to prevent globbing and word splitting. ^-------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: bridge -j fdb show br "$bridge" brport "$br_port1" \ In lib.sh line 1413: bridge link set dev $br_port1 learning on ^-------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: bridge link set dev "$br_port1" learning on In lib.sh line 1415: tc filter del dev $host1_if ingress protocol ip pref 1 handle 101 flower ^-------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter del dev "$host1_if" ingress protocol ip pref 1 handle 101 flower In lib.sh line 1416: tc qdisc del dev $host1_if ingress ^-------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc qdisc del dev "$host1_if" ingress In lib.sh line 1417: ip link set $host1_if promisc off ^-------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link set "$host1_if" promisc off In lib.sh line 1419: bridge link set dev $br_port1 flood on ^-------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: bridge link set dev "$br_port1" flood on In lib.sh line 1435: ip link set $host2_if promisc on ^-------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link set "$host2_if" promisc on In lib.sh line 1436: tc qdisc add dev $host2_if ingress ^-------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc qdisc add dev "$host2_if" ingress In lib.sh line 1437: tc filter add dev $host2_if ingress protocol ip pref 1 handle 101 \ ^-------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter add dev "$host2_if" ingress protocol ip pref 1 handle 101 \ In lib.sh line 1438: flower dst_mac $mac action drop ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: flower dst_mac "$mac" action drop In lib.sh line 1440: $MZ -c 1 -p 64 -b $mac -B $ip -t ip -q $host1_if ^--^ 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 -c 1 -p 64 -b "$mac" -B "$ip" -t ip -q "$host1_if" In lib.sh line 1443: tc -j -s filter show dev $host2_if ingress \ ^-------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc -j -s filter show dev "$host2_if" ingress \ In lib.sh line 1451: tc filter del dev $host2_if ingress protocol ip pref 1 handle 101 flower ^-------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter del dev "$host2_if" ingress protocol ip pref 1 handle 101 flower In lib.sh line 1452: tc qdisc del dev $host2_if ingress ^-------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc qdisc del dev "$host2_if" ingress In lib.sh line 1453: ip link set $host2_if promisc off ^-------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link set "$host2_if" promisc off In lib.sh line 1468: bridge link set dev $br_port flood off ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: bridge link set dev "$br_port" flood off In lib.sh line 1470: flood_test_do false $mac $ip $host1_if $host2_if ^-------^ SC2086 (info): Double quote to prevent globbing and word splitting. ^-------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: flood_test_do false $mac $ip "$host1_if" "$host2_if" In lib.sh line 1473: bridge link set dev $br_port flood on ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: bridge link set dev "$br_port" flood on In lib.sh line 1475: flood_test_do true $mac $ip $host1_if $host2_if ^-------^ SC2086 (info): Double quote to prevent globbing and word splitting. ^-------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: flood_test_do true $mac $ip "$host1_if" "$host2_if" In lib.sh line 1491: bridge link set dev $br_port mcast_flood off ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: bridge link set dev "$br_port" mcast_flood off In lib.sh line 1493: flood_test_do false $mac $ip $host1_if $host2_if ^-------^ SC2086 (info): Double quote to prevent globbing and word splitting. ^-------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: flood_test_do false $mac $ip "$host1_if" "$host2_if" In lib.sh line 1496: bridge link set dev $br_port mcast_flood on ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: bridge link set dev "$br_port" mcast_flood on In lib.sh line 1498: flood_test_do true $mac $ip $host1_if $host2_if ^-------^ SC2086 (info): Double quote to prevent globbing and word splitting. ^-------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: flood_test_do true $mac $ip "$host1_if" "$host2_if" In lib.sh line 1511: flood_unicast_test $br_port $host1_if $host2_if ^------^ 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: flood_unicast_test "$br_port" "$host1_if" "$host2_if" In lib.sh line 1512: flood_multicast_test $br_port $host1_if $host2_if ^------^ 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: flood_multicast_test "$br_port" "$host1_if" "$host2_if" In lib.sh line 1525: $MZ -p $pktsize -A $sip -B $dip -c 0 \ ^------^ 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 -p "$pktsize" -A "$sip" -B "$dip" -c 0 \ In lib.sh line 1526: -a own -b $dmac -t "$proto" -q $h_in "${mz_args[@]}" & ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: -a own -b "$dmac" -t "$proto" -q "$h_in" "${mz_args[@]}" & In lib.sh line 1539: __start_traffic $pktsize udp "$h_in" "$sip" "$dip" "$dmac" \ ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: __start_traffic "$pktsize" udp "$h_in" "$sip" "$dip" "$dmac" \ In lib.sh line 1552: __start_traffic $pktsize tcp "$h_in" "$sip" "$dip" "$dmac" \ ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: __start_traffic "$pktsize" tcp "$h_in" "$sip" "$dip" "$dmac" \ In lib.sh line 1599: if [ -z $ns ]; then ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: if [ -z "$ns" ]; then In lib.sh line 1605: if [ -z $SUDO_USER ] ; then ^--------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: if [ -z "$SUDO_USER" ] ; then In lib.sh line 1611: $ns_cmd tcpdump $TCPDUMP_EXTRA_FLAGS -e -n -Q in -i $if_name \ ^------------------^ SC2086 (info): Double quote to prevent globbing and word splitting. ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: $ns_cmd tcpdump "$TCPDUMP_EXTRA_FLAGS" -e -n -Q in -i "$if_name" \ In lib.sh line 1612: -s 65535 -B 32768 $capuser -w ${capfile[$if_name]} \ ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. ^------------------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: -s 65535 -B 32768 "$capuser" -w "${capfile[$if_name]}" \ In lib.sh line 1632: rm ${capfile[$if_name]} ${capout[$if_name]} ^------------------^ SC2086 (info): Double quote to prevent globbing and word splitting. ^-----------------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: rm "${capfile[$if_name]}" "${capout[$if_name]}" In lib.sh line 1639: tcpdump -e -n -r ${capfile[$if_name]} 2>&1 ^------------------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tcpdump -e -n -r "${capfile[$if_name]}" 2>&1 In lib.sh line 1662: tc qdisc add dev $host2_if ingress ^-------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc qdisc add dev "$host2_if" ingress In lib.sh line 1663: tc filter add dev $host2_if ingress protocol $tc_proto pref 1 handle 101 \ ^-------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter add dev "$host2_if" ingress protocol $tc_proto pref 1 handle 101 \ In lib.sh line 1664: flower ip_proto udp dst_mac $mac action drop ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: flower ip_proto udp dst_mac "$mac" action drop In lib.sh line 1666: $MZ $mz_v6arg -c 1 -p 64 -b $mac -A $src_ip -B $ip -t udp -q $host1_if "dp=4096,sp=2048" ^--^ 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 $mz_v6arg -c 1 -p 64 -b "$mac" -A "$src_ip" -B "$ip" -t udp -q "$host1_if" "dp=4096,sp=2048" In lib.sh line 1669: tc -j -s filter show dev $host2_if ingress \ ^-------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc -j -s filter show dev "$host2_if" ingress \ In lib.sh line 1672: if [[ $? -eq 0 ]]; then ^-- SC2181 (style): Check exit code directly with e.g. 'if mycmd;', not indirectly with $?. In lib.sh line 1676: tc filter del dev $host2_if ingress protocol $tc_proto pref 1 handle 101 flower ^-------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter del dev "$host2_if" ingress protocol $tc_proto pref 1 handle 101 flower In lib.sh line 1677: tc qdisc del dev $host2_if ingress ^-------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc qdisc del dev "$host2_if" ingress In lib.sh line 1712: mcast_packet_test $TEST_GROUP_MAC $src $TEST_GROUP $h2 $h1 ^-------------^ 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. ^-^ SC2154 (warning): h2 is referenced but not assigned. ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. ^-^ SC2154 (warning): h1 is referenced but not assigned. ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: mcast_packet_test "$TEST_GROUP_MAC" "$src" "$TEST_GROUP" "$h2" "$h1" In lib.sh line 1714: if [ $should_fwd -eq 1 ]; then ^---------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: if [ "$should_fwd" -eq 1 ]; then In lib.sh line 1728: if [ $is_blocked -eq 1 ]; then ^---------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: if [ "$is_blocked" -eq 1 ]; then In lib.sh line 1753: local vrf_name=$(master_name_get $if_name) ^------^ 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 vrf_name=$(master_name_get "$if_name") In lib.sh line 1758: ip vrf exec $vrf_name \ ^-------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip vrf exec "$vrf_name" \ In lib.sh line 1759: mreceive -g $group -I $if_name > /dev/null 2>&1 & ^----^ SC2086 (info): Double quote to prevent globbing and word splitting. ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: mreceive -g "$group" -I "$if_name" > /dev/null 2>&1 & In lib.sh line 1774: local vrf_name=$(master_name_get $if_name) ^------^ 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 vrf_name=$(master_name_get "$if_name") In lib.sh line 1776: ip vrf exec $vrf_name \ ^-------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip vrf exec "$vrf_name" \ In lib.sh line 1777: msend -g $groups -I $if_name -c 1 > /dev/null 2>&1 ^-----^ SC2086 (info): Double quote to prevent globbing and word splitting. ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: msend -g "$groups" -I "$if_name" -c 1 > /dev/null 2>&1 In lib.sh line 1831: tmpfile=`mktemp /var/run/nexthoptestXXX` ^-- SC2006 (style): Use $(...) notation instead of legacy backticks `...`. Did you mean: tmpfile=$(mktemp /var/run/nexthoptestXXX) In lib.sh line 1832: mpid=`($ip monitor $mtype > $tmpfile & echo $!) 2>/dev/null` ^-- SC2006 (style): Use $(...) notation instead of legacy backticks `...`. ^----^ SC2086 (info): Double quote to prevent globbing and word splitting. ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: mpid=$(($ip monitor "$mtype" > "$tmpfile" & echo $!) 2>/dev/null) In lib.sh line 1845: kill $mpid ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: kill "$mpid" In lib.sh line 1846: local lines=`grep '^\w' $tmpfile | wc -l` ^---^ SC2155 (warning): Declare and assign separately to avoid masking return values. ^---------------------------^ SC2006 (style): Use $(...) notation instead of legacy backticks `...`. ^-----------------^ SC2126 (style): Consider using 'grep -c' instead of 'grep|wc -l'. ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: local lines=$(grep '^\w' "$tmpfile" | wc -l) In lib.sh line 1847: test $lines -eq $el ^----^ SC2086 (info): Double quote to prevent globbing and word splitting. ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: test "$lines" -eq "$el" In lib.sh line 1849: rm -rf $tmpfile ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: rm -rf "$tmpfile" In lib.sh line 1863: local ipmout=$(start_ip_monitor stats "$ip") ^----^ SC2155 (warning): Declare and assign separately to avoid masking return values. In lib.sh line 1864: $ip stats set dev $dev ${type}_stats on ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. ^-----^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: $ip stats set dev "$dev" "${type}"_stats on In lib.sh line 1865: stop_ip_monitor $ipmout 1 "${type}_stats enablement" ^-----^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: stop_ip_monitor "$ipmout" 1 "${type}_stats enablement" In lib.sh line 1868: local ipmout=$(start_ip_monitor stats "$ip") ^----^ SC2155 (warning): Declare and assign separately to avoid masking return values. In lib.sh line 1870: stop_ip_monitor $ipmout 1 "${type}_stats installation" ^-----^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: stop_ip_monitor "$ipmout" 1 "${type}_stats installation" In lib.sh line 1873: local ipmout=$(start_ip_monitor stats "$ip") ^----^ SC2155 (warning): Declare and assign separately to avoid masking return values. In lib.sh line 1875: stop_ip_monitor $ipmout 1 "${type}_stats deinstallation" ^-----^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: stop_ip_monitor "$ipmout" 1 "${type}_stats deinstallation" In lib.sh line 1878: local ipmout=$(start_ip_monitor stats "$ip") ^----^ SC2155 (warning): Declare and assign separately to avoid masking return values. In lib.sh line 1879: $ip stats set dev $dev ${type}_stats off ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. ^-----^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: $ip stats set dev "$dev" "${type}"_stats off In lib.sh line 1880: stop_ip_monitor $ipmout 1 "${type}_stats disablement" ^-----^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: stop_ip_monitor "$ipmout" 1 "${type}_stats disablement" In lib.sh line 1889: printf '%02x:' ${IP//./ } | ^--------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: printf '%02x:' "${IP//./ }" | In lib.sh line 1908: echo $allcol_ip | tr : '\n' | ^--------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: echo "$allcol_ip" | tr : '\n' | In lib.sh line 1926: printf "%04x" $u16 | sed 's/^/000/;s/^.*\(..\)\(..\)$/\1:\2/' ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: printf "%04x" "$u16" | sed 's/^/000/;s/^.*\(..\)\(..\)$/\1:\2/' In lib.sh line 1965: local ckbytes=$(u16_to_bytes $checksum) ^-----^ 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 ckbytes=$(u16_to_bytes "$checksum") In lib.sh line 1967: echo "$payload" | sed "s/CHECKSUM/$ckbytes/g" ^-- SC2001 (style): See if you can use ${variable//search/replace} instead. In lib.sh line 1984: local nsources=$(u16_to_bytes ${#sources[@]}) ^------^ SC2155 (warning): Declare and assign separately to avoid masking return values. In lib.sh line 1988: )"22:"$( : Type - Membership Report ^-- SC2027 (warning): The surrounding quotes actually unquote this. Remove or escape them. In lib.sh line 1989: )"00:"$( : Reserved ^-- SC2027 (warning): The surrounding quotes actually unquote this. Remove or escape them. In lib.sh line 1990: )"CHECKSUM:"$( : Checksum ^-- SC2027 (warning): The surrounding quotes actually unquote this. Remove or escape them. In lib.sh line 1991: )"00:00:"$( : Reserved ^-- SC2027 (warning): The surrounding quotes actually unquote this. Remove or escape them. In lib.sh line 1992: )"00:01:"$( : Number of Group Records ^-- SC2027 (warning): The surrounding quotes actually unquote this. Remove or escape them. In lib.sh line 1993: )"01:"$( : Record Type - IS_IN ^-- SC2027 (warning): The surrounding quotes actually unquote this. Remove or escape them. In lib.sh line 1994: )"00:"$( : Aux Data Len ^-- SC2027 (warning): The surrounding quotes actually unquote this. Remove or escape them. In lib.sh line 1995: )"${nsources}:"$( : Number of Sources ^-- SC2027 (warning): The surrounding quotes actually unquote this. Remove or escape them. In lib.sh line 1996: )"$(ipv4_to_bytes $GRP):"$( : Multicast Address ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. ^-- SC2027 (warning): The surrounding quotes actually unquote this. Remove or escape them. Did you mean: )"$(ipv4_to_bytes "$GRP"):"$( : Multicast Address In lib.sh line 1998: ipv4_to_bytes $src ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ipv4_to_bytes "$src" In lib.sh line 2002: local checksum=$(payload_template_calc_checksum "$igmpv3") ^------^ SC2155 (warning): Declare and assign separately to avoid masking return values. In lib.sh line 2004: payload_template_expand_checksum "$igmpv3" $checksum ^-------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: payload_template_expand_checksum "$igmpv3" "$checksum" In lib.sh line 2011: local payload=$(: ^-----^ SC2155 (warning): Declare and assign separately to avoid masking return values. In lib.sh line 2012: )"17:"$( : Type - Leave Group ^-- SC2027 (warning): The surrounding quotes actually unquote this. Remove or escape them. In lib.sh line 2013: )"00:"$( : Max Resp Time - not meaningful ^-- SC2027 (warning): The surrounding quotes actually unquote this. Remove or escape them. In lib.sh line 2014: )"CHECKSUM:"$( : Checksum ^-- SC2027 (warning): The surrounding quotes actually unquote this. Remove or escape them. In lib.sh line 2015: )"$(ipv4_to_bytes $GRP)"$( : Group Address ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: )"$(ipv4_to_bytes "$GRP")"$( : Group Address In lib.sh line 2017: local checksum=$(payload_template_calc_checksum "$payload") ^------^ SC2155 (warning): Declare and assign separately to avoid masking return values. In lib.sh line 2019: payload_template_expand_checksum "$payload" $checksum ^-------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: payload_template_expand_checksum "$payload" "$checksum" In lib.sh line 2030: local nsources=$(u16_to_bytes ${#sources[@]}) ^------^ SC2155 (warning): Declare and assign separately to avoid masking return values. In lib.sh line 2033: )"3a:"$( : Next Header - ICMPv6 ^-- SC2027 (warning): The surrounding quotes actually unquote this. Remove or escape them. In lib.sh line 2034: )"00:"$( : Hdr Ext Len ^-- SC2027 (warning): The surrounding quotes actually unquote this. Remove or escape them. In lib.sh line 2039: )"8f:"$( : Type - MLDv2 Report ^-- SC2027 (warning): The surrounding quotes actually unquote this. Remove or escape them. In lib.sh line 2040: )"00:"$( : Code ^-- SC2027 (warning): The surrounding quotes actually unquote this. Remove or escape them. In lib.sh line 2041: )"CHECKSUM:"$( : Checksum ^-- SC2027 (warning): The surrounding quotes actually unquote this. Remove or escape them. In lib.sh line 2042: )"00:00:"$( : Reserved ^-- SC2027 (warning): The surrounding quotes actually unquote this. Remove or escape them. In lib.sh line 2043: )"00:01:"$( : Number of Group Records ^-- SC2027 (warning): The surrounding quotes actually unquote this. Remove or escape them. In lib.sh line 2044: )"01:"$( : Record Type - IS_IN ^-- SC2027 (warning): The surrounding quotes actually unquote this. Remove or escape them. In lib.sh line 2045: )"00:"$( : Aux Data Len ^-- SC2027 (warning): The surrounding quotes actually unquote this. Remove or escape them. In lib.sh line 2046: )"${nsources}:"$( : Number of Sources ^-- SC2027 (warning): The surrounding quotes actually unquote this. Remove or escape them. In lib.sh line 2047: )"$(ipv6_to_bytes $GRP):"$( : Multicast address ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. ^-- SC2027 (warning): The surrounding quotes actually unquote this. Remove or escape them. Did you mean: )"$(ipv6_to_bytes "$GRP"):"$( : Multicast address In lib.sh line 2049: ipv6_to_bytes $src ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ipv6_to_bytes "$src" In lib.sh line 2054: local len=$(u16_to_bytes $(payload_template_nbytes $icmpv6)) ^-^ SC2155 (warning): Declare and assign separately to avoid masking return values. ^-- SC2046 (warning): Quote this to prevent word splitting. ^-----^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: local len=$(u16_to_bytes $(payload_template_nbytes "$icmpv6")) In lib.sh line 2055: local sudohdr=$(: ^-----^ SC2155 (warning): Declare and assign separately to avoid masking return values. In lib.sh line 2056: )"$(ipv6_to_bytes $SIP):"$( : SIP ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. ^-- SC2027 (warning): The surrounding quotes actually unquote this. Remove or escape them. Did you mean: )"$(ipv6_to_bytes "$SIP"):"$( : SIP In lib.sh line 2057: )"$(ipv6_to_bytes $GRP):"$( : DIP is multicast address ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. ^-- SC2027 (warning): The surrounding quotes actually unquote this. Remove or escape them. Did you mean: )"$(ipv6_to_bytes "$GRP"):"$( : DIP is multicast address In lib.sh line 2058: )"${len}:"$( : Upper-layer length ^-- SC2027 (warning): The surrounding quotes actually unquote this. Remove or escape them. In lib.sh line 2061: local checksum=$(payload_template_calc_checksum ${sudohdr}${icmpv6}) ^------^ SC2155 (warning): Declare and assign separately to avoid masking return values. ^--------^ SC2086 (info): Double quote to prevent globbing and word splitting. ^-------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: local checksum=$(payload_template_calc_checksum "${sudohdr}""${icmpv6}") In lib.sh line 2063: payload_template_expand_checksum "$hbh$icmpv6" $checksum ^-------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: payload_template_expand_checksum "$hbh$icmpv6" "$checksum" In lib.sh line 2075: )"3a:"$( : Next Header - ICMPv6 ^-- SC2027 (warning): The surrounding quotes actually unquote this. Remove or escape them. In lib.sh line 2076: )"00:"$( : Hdr Ext Len ^-- SC2027 (warning): The surrounding quotes actually unquote this. Remove or escape them. In lib.sh line 2081: )"84:"$( : Type - MLDv1 Done ^-- SC2027 (warning): The surrounding quotes actually unquote this. Remove or escape them. In lib.sh line 2082: )"00:"$( : Code ^-- SC2027 (warning): The surrounding quotes actually unquote this. Remove or escape them. In lib.sh line 2083: )"CHECKSUM:"$( : Checksum ^-- SC2027 (warning): The surrounding quotes actually unquote this. Remove or escape them. In lib.sh line 2084: )"00:00:"$( : Max Resp Delay - not meaningful ^-- SC2027 (warning): The surrounding quotes actually unquote this. Remove or escape them. In lib.sh line 2085: )"00:00:"$( : Reserved ^-- SC2027 (warning): The surrounding quotes actually unquote this. Remove or escape them. In lib.sh line 2086: )"$(ipv6_to_bytes $GRP):"$( : Multicast address ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: )"$(ipv6_to_bytes "$GRP"):"$( : Multicast address In lib.sh line 2089: local len=$(u16_to_bytes $(payload_template_nbytes $icmpv6)) ^-^ SC2155 (warning): Declare and assign separately to avoid masking return values. ^-- SC2046 (warning): Quote this to prevent word splitting. ^-----^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: local len=$(u16_to_bytes $(payload_template_nbytes "$icmpv6")) In lib.sh line 2090: local sudohdr=$(: ^-----^ SC2155 (warning): Declare and assign separately to avoid masking return values. In lib.sh line 2091: )"$(ipv6_to_bytes $SIP):"$( : SIP ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. ^-- SC2027 (warning): The surrounding quotes actually unquote this. Remove or escape them. Did you mean: )"$(ipv6_to_bytes "$SIP"):"$( : SIP In lib.sh line 2092: )"$(ipv6_to_bytes $GRP):"$( : DIP is multicast address ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. ^-- SC2027 (warning): The surrounding quotes actually unquote this. Remove or escape them. Did you mean: )"$(ipv6_to_bytes "$GRP"):"$( : DIP is multicast address In lib.sh line 2093: )"${len}:"$( : Upper-layer length ^-- SC2027 (warning): The surrounding quotes actually unquote this. Remove or escape them. In lib.sh line 2096: local checksum=$(payload_template_calc_checksum ${sudohdr}${icmpv6}) ^------^ SC2155 (warning): Declare and assign separately to avoid masking return values. ^--------^ SC2086 (info): Double quote to prevent globbing and word splitting. ^-------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: local checksum=$(payload_template_calc_checksum "${sudohdr}""${icmpv6}") In lib.sh line 2098: payload_template_expand_checksum "$hbh$icmpv6" $checksum ^-------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: payload_template_expand_checksum "$hbh$icmpv6" "$checksum" In lib.sh line 2127: log_test_skip $src:$caller ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. ^-----^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: log_test_skip "$src":"$caller" In lib.sh line 2128: exit $EXIT_STATUS ^----------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: exit "$EXIT_STATUS" In lib.sh line 2145: local mac_addr=$(mac_get $dev) ^------^ 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 mac_addr=$(mac_get "$dev") In lib.sh line 2146: local tmp=$(ether_addr_to_u64 $mac_addr) ^-^ 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 tmp=$(ether_addr_to_u64 "$mac_addr") In lib.sh line 2149: ip link set $dev up ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link set "$dev" up In lib.sh line 2150: ip link add link $dev name macvlan-tmp type macvlan mode private ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link add link "$dev" name macvlan-tmp type macvlan mode private In lib.sh line 2151: ip link set macvlan-tmp address $(u64_to_ether_addr $((tmp + 1))) ^-- SC2046 (warning): Quote this to prevent word splitting. In lib.sh line 2154: promisc=$(ip -j -d link show dev $dev | jq -r '.[].promiscuity') ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: promisc=$(ip -j -d link show dev "$dev" | jq -r '.[].promiscuity') For more information: https://www.shellcheck.net/wiki/SC2068 -- Double quote array expansions to ... https://www.shellcheck.net/wiki/SC2145 -- Argument mixes string and array. ... https://www.shellcheck.net/wiki/SC2027 -- The surrounding quotes actually u... Checking tools/testing/selftests/net/forwarding/mirror_gre_bridge_1q_lag.sh - ff65a89453ece274b95f813f7a38af510b609241bdbb4e7989330f864d2451dd In mirror_gre_bridge_1q_lag.sh line 58: require_command $ARPING ^-----^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: require_command "$ARPING" In mirror_gre_bridge_1q_lag.sh line 67: vrf_create $vrf_name ^-------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: vrf_create "$vrf_name" In mirror_gre_bridge_1q_lag.sh line 68: ip link set dev $vrf_name up ^-------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link set dev "$vrf_name" up In mirror_gre_bridge_1q_lag.sh line 69: vlan_create $if_name $vid $vrf_name "${ips[@]}" ^------^ 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: vlan_create "$if_name" "$vid" "$vrf_name" "${ips[@]}" In mirror_gre_bridge_1q_lag.sh line 78: vlan_destroy $if_name $vid ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: vlan_destroy "$if_name" "$vid" In mirror_gre_bridge_1q_lag.sh line 79: ip link set dev $vrf_name down ^-------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link set dev "$vrf_name" down In mirror_gre_bridge_1q_lag.sh line 80: vrf_destroy $vrf_name ^-------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: vrf_destroy "$vrf_name" In mirror_gre_bridge_1q_lag.sh line 85: vlan_host_create $h1 333 vrf-h1 192.0.2.1/28 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: vlan_host_create "$h1" 333 vrf-h1 192.0.2.1/28 In mirror_gre_bridge_1q_lag.sh line 92: vlan_host_destroy $h1 333 vrf-h1 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: vlan_host_destroy "$h1" 333 vrf-h1 In mirror_gre_bridge_1q_lag.sh line 97: vlan_host_create $h1 555 vrf-h2 192.0.2.18/28 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: vlan_host_create "$h1" 555 vrf-h2 192.0.2.18/28 In mirror_gre_bridge_1q_lag.sh line 104: vlan_host_destroy $h1 555 vrf-h2 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: vlan_host_destroy "$h1" 555 vrf-h2 In mirror_gre_bridge_1q_lag.sh line 109: simple_if_init $h3 192.0.2.130/28 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: simple_if_init "$h3" 192.0.2.130/28 In mirror_gre_bridge_1q_lag.sh line 110: tc qdisc add dev $h3 clsact ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc qdisc add dev "$h3" clsact In mirror_gre_bridge_1q_lag.sh line 115: tc qdisc del dev $h3 clsact ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc qdisc del dev "$h3" clsact In mirror_gre_bridge_1q_lag.sh line 116: simple_if_fini $h3 192.0.2.130/28 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: simple_if_fini "$h3" 192.0.2.130/28 In mirror_gre_bridge_1q_lag.sh line 121: simple_if_init $h4 192.0.2.130/28 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: simple_if_init "$h4" 192.0.2.130/28 In mirror_gre_bridge_1q_lag.sh line 122: tc qdisc add dev $h4 clsact ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc qdisc add dev "$h4" clsact In mirror_gre_bridge_1q_lag.sh line 127: tc qdisc del dev $h4 clsact ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc qdisc del dev "$h4" clsact In mirror_gre_bridge_1q_lag.sh line 128: simple_if_fini $h4 192.0.2.130/28 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: simple_if_fini "$h4" 192.0.2.130/28 In mirror_gre_bridge_1q_lag.sh line 133: 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 mirror_gre_bridge_1q_lag.sh line 134: tc qdisc add dev $swp1 clsact ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc qdisc add dev "$swp1" clsact In mirror_gre_bridge_1q_lag.sh line 135: vlan_create $swp1 333 "" 192.0.2.2/28 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: vlan_create "$swp1" 333 "" 192.0.2.2/28 In mirror_gre_bridge_1q_lag.sh line 136: vlan_create $swp1 555 "" 192.0.2.17/28 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: vlan_create "$swp1" 555 "" 192.0.2.17/28 In mirror_gre_bridge_1q_lag.sh line 141: ip link set dev $swp3 up ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link set dev "$swp3" up In mirror_gre_bridge_1q_lag.sh line 142: ip link set dev $swp4 up ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link set dev "$swp4" up In mirror_gre_bridge_1q_lag.sh line 144: ip link add name br1 address $(mac_get $swp3) \ ^--------------^ SC2046 (warning): Quote this to prevent word splitting. ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link add name br1 address $(mac_get "$swp3") \ In mirror_gre_bridge_1q_lag.sh line 147: team_create lag loadbalance $swp3 $swp4 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: team_create lag loadbalance "$swp3" "$swp4" In mirror_gre_bridge_1q_lag.sh line 165: ip link set dev $swp4 down ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link set dev "$swp4" down In mirror_gre_bridge_1q_lag.sh line 166: ip link set dev $swp3 down ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link set dev "$swp3" down In mirror_gre_bridge_1q_lag.sh line 170: vlan_destroy $swp1 555 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: vlan_destroy "$swp1" 555 In mirror_gre_bridge_1q_lag.sh line 171: vlan_destroy $swp1 333 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: vlan_destroy "$swp1" 333 In mirror_gre_bridge_1q_lag.sh line 172: tc qdisc del dev $swp1 clsact ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc qdisc del dev "$swp1" clsact In mirror_gre_bridge_1q_lag.sh line 173: 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 mirror_gre_bridge_1q_lag.sh line 189: ip link set dev $h1 up ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link set dev "$h1" up In mirror_gre_bridge_1q_lag.sh line 198: trap_install $h3 ingress ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: trap_install "$h3" ingress In mirror_gre_bridge_1q_lag.sh line 199: trap_install $h4 ingress ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: trap_install "$h4" ingress In mirror_gre_bridge_1q_lag.sh line 206: trap_uninstall $h4 ingress ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: trap_uninstall "$h4" ingress In mirror_gre_bridge_1q_lag.sh line 207: trap_uninstall $h3 ingress ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: trap_uninstall "$h3" ingress In mirror_gre_bridge_1q_lag.sh line 216: ip link set dev $h1 down ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link set dev "$h1" down In mirror_gre_bridge_1q_lag.sh line 230: tc filter add dev $swp1 ingress pref 999 \ ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter add dev "$swp1" ingress pref 999 \ In mirror_gre_bridge_1q_lag.sh line 233: mirror_install $swp1 ingress gt4 \ ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: mirror_install "$swp1" ingress gt4 \ In mirror_gre_bridge_1q_lag.sh line 237: ip link set dev $down_dev down ^-------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link set dev "$down_dev" down In mirror_gre_bridge_1q_lag.sh line 239: setup_wait_dev $up_dev ^-----^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: setup_wait_dev "$up_dev" In mirror_gre_bridge_1q_lag.sh line 240: setup_wait_dev $host_dev ^-------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: setup_wait_dev "$host_dev" In mirror_gre_bridge_1q_lag.sh line 243: mirror_test vrf-h1 192.0.2.1 192.0.2.18 $host_dev 1 ">= 10" ^-------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: mirror_test vrf-h1 192.0.2.1 192.0.2.18 "$host_dev" 1 ">= 10" In mirror_gre_bridge_1q_lag.sh line 246: ip link set dev $up_dev down ^-----^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link set dev "$up_dev" down In mirror_gre_bridge_1q_lag.sh line 248: mirror_test vrf-h1 192.0.2.1 192.0.2.18 $h3 1 0 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: mirror_test vrf-h1 192.0.2.1 192.0.2.18 "$h3" 1 0 In mirror_gre_bridge_1q_lag.sh line 249: mirror_test vrf-h1 192.0.2.1 192.0.2.18 $h4 1 0 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: mirror_test vrf-h1 192.0.2.1 192.0.2.18 "$h4" 1 0 In mirror_gre_bridge_1q_lag.sh line 251: ip link set dev $up_dev up ^-----^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link set dev "$up_dev" up In mirror_gre_bridge_1q_lag.sh line 252: ip link set dev $down_dev up ^-------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link set dev "$down_dev" up In mirror_gre_bridge_1q_lag.sh line 253: mirror_uninstall $swp1 ingress ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: mirror_uninstall "$swp1" ingress In mirror_gre_bridge_1q_lag.sh line 254: tc filter del dev $swp1 ingress pref 999 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter del dev "$swp1" ingress pref 999 In mirror_gre_bridge_1q_lag.sh line 261: test_lag_slave $h3 $swp3 $swp4 "mirror to gretap: LAG first slave" ^-^ 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_lag_slave "$h3" "$swp3" "$swp4" "mirror to gretap: LAG first slave" In mirror_gre_bridge_1q_lag.sh line 266: test_lag_slave $h4 $swp4 $swp3 "mirror to gretap: LAG second slave" ^-^ 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_lag_slave "$h4" "$swp4" "$swp3" "mirror to gretap: LAG second slave" In mirror_gre_bridge_1q_lag.sh line 276: 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/SC2046 -- Quote this to prevent word splitt... https://www.shellcheck.net/wiki/SC2086 -- Double quote to prevent globbing ... Checking tools/testing/selftests/net/forwarding/mirror_gre_vlan_bridge_1q.sh - 042764c1c0eeacf1ebf9e1e8dd960a9f50b4d0b2f9ec89cb7415be653bf4b7d3 In mirror_gre_vlan_bridge_1q.sh line 64: require_command $ARPING ^-----^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: require_command "$ARPING" In mirror_gre_vlan_bridge_1q.sh line 71: ip addr $add_del dev $dev 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: ip addr "$add_del" dev "$dev" 192.0.2.130/28 In mirror_gre_vlan_bridge_1q.sh line 72: ip addr $add_del dev $dev 2001:db8:2::2/64 ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip addr "$add_del" dev "$dev" 2001:db8:2::2/64 In mirror_gre_vlan_bridge_1q.sh line 90: sysctl_set net.ipv4.conf.$h3.rp_filter 0 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: sysctl_set net.ipv4.conf."$h3".rp_filter 0 In mirror_gre_vlan_bridge_1q.sh line 100: vlan_create $h3 555 v$h3 ^-^ 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 "$h3" 555 v"$h3" In mirror_gre_vlan_bridge_1q.sh line 101: h3_addr_add_del add $h3.555 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: h3_addr_add_del add "$h3".555 In mirror_gre_vlan_bridge_1q.sh line 103: ip link set dev $swp3 master br1 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link set dev "$swp3" master br1 In mirror_gre_vlan_bridge_1q.sh line 104: bridge vlan add dev $swp3 vid 555 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: bridge vlan add dev "$swp3" vid 555 In mirror_gre_vlan_bridge_1q.sh line 105: bridge vlan add dev $swp2 vid 555 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: bridge vlan add dev "$swp2" vid 555 In mirror_gre_vlan_bridge_1q.sh line 112: 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 mirror_gre_vlan_bridge_1q.sh line 113: ip link set dev $swp3 nomaster ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link set dev "$swp3" nomaster In mirror_gre_vlan_bridge_1q.sh line 115: h3_addr_add_del del $h3.555 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: h3_addr_add_del del "$h3".555 In mirror_gre_vlan_bridge_1q.sh line 116: vlan_destroy $h3 555 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: vlan_destroy "$h3" 555 In mirror_gre_vlan_bridge_1q.sh line 122: sysctl_restore net.ipv4.conf.$h3.rp_filter ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: sysctl_restore net.ipv4.conf."$h3".rp_filter In mirror_gre_vlan_bridge_1q.sh line 132: full_test_span_gre_dir_vlan $tundev ingress "$vlan_match" 8 0 "$what" ^-----^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: full_test_span_gre_dir_vlan "$tundev" ingress "$vlan_match" 8 0 "$what" In mirror_gre_vlan_bridge_1q.sh line 133: full_test_span_gre_dir_vlan $tundev egress "$vlan_match" 0 8 "$what" ^-----^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: full_test_span_gre_dir_vlan "$tundev" egress "$vlan_match" 0 8 "$what" In mirror_gre_vlan_bridge_1q.sh line 156: mirror_install $swp1 ingress $tundev "matchall" ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. ^-----^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: mirror_install "$swp1" ingress "$tundev" "matchall" In mirror_gre_vlan_bridge_1q.sh line 157: quick_test_span_gre_dir $tundev ^-----^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: quick_test_span_gre_dir "$tundev" In mirror_gre_vlan_bridge_1q.sh line 162: fail_test_span_gre_dir $tundev ^-----^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: fail_test_span_gre_dir "$tundev" In mirror_gre_vlan_bridge_1q.sh line 166: quick_test_span_gre_dir $tundev ^-----^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: quick_test_span_gre_dir "$tundev" In mirror_gre_vlan_bridge_1q.sh line 168: mirror_uninstall $swp1 ingress ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: mirror_uninstall "$swp1" ingress In mirror_gre_vlan_bridge_1q.sh line 190: mirror_install $swp1 ingress $tundev "matchall" ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. ^-----^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: mirror_install "$swp1" ingress "$tundev" "matchall" In mirror_gre_vlan_bridge_1q.sh line 191: quick_test_span_gre_dir $tundev ^-----^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: quick_test_span_gre_dir "$tundev" In mirror_gre_vlan_bridge_1q.sh line 193: bridge vlan del dev $swp3 vid 555 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: bridge vlan del dev "$swp3" vid 555 In mirror_gre_vlan_bridge_1q.sh line 195: fail_test_span_gre_dir $tundev ^-----^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: fail_test_span_gre_dir "$tundev" In mirror_gre_vlan_bridge_1q.sh line 197: bridge vlan add dev $swp3 vid 555 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: bridge vlan add dev "$swp3" vid 555 In mirror_gre_vlan_bridge_1q.sh line 201: quick_test_span_gre_dir $tundev ^-----^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: quick_test_span_gre_dir "$tundev" In mirror_gre_vlan_bridge_1q.sh line 203: mirror_uninstall $swp1 ingress ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: mirror_uninstall "$swp1" ingress In mirror_gre_vlan_bridge_1q.sh line 226: mirror_install $swp1 ingress $tundev "matchall" ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. ^-----^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: mirror_install "$swp1" ingress "$tundev" "matchall" In mirror_gre_vlan_bridge_1q.sh line 228: quick_test_span_gre_dir $tundev ^-----^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: quick_test_span_gre_dir "$tundev" In mirror_gre_vlan_bridge_1q.sh line 229: quick_test_span_vlan_dir $h3 555 "$ul_proto" ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: quick_test_span_vlan_dir "$h3" 555 "$ul_proto" In mirror_gre_vlan_bridge_1q.sh line 231: h3_addr_add_del del $h3.555 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: h3_addr_add_del del "$h3".555 In mirror_gre_vlan_bridge_1q.sh line 232: bridge vlan add dev $swp3 vid 555 pvid untagged ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: bridge vlan add dev "$swp3" vid 555 pvid untagged In mirror_gre_vlan_bridge_1q.sh line 233: h3_addr_add_del add $h3 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: h3_addr_add_del add "$h3" In mirror_gre_vlan_bridge_1q.sh line 236: quick_test_span_gre_dir $tundev ^-----^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: quick_test_span_gre_dir "$tundev" In mirror_gre_vlan_bridge_1q.sh line 237: fail_test_span_vlan_dir $h3 555 "$ul_proto" ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: fail_test_span_vlan_dir "$h3" 555 "$ul_proto" In mirror_gre_vlan_bridge_1q.sh line 239: h3_addr_add_del del $h3 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: h3_addr_add_del del "$h3" In mirror_gre_vlan_bridge_1q.sh line 240: bridge vlan add dev $swp3 vid 555 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: bridge vlan add dev "$swp3" vid 555 In mirror_gre_vlan_bridge_1q.sh line 241: h3_addr_add_del add $h3.555 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: h3_addr_add_del add "$h3".555 In mirror_gre_vlan_bridge_1q.sh line 244: quick_test_span_gre_dir $tundev ^-----^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: quick_test_span_gre_dir "$tundev" In mirror_gre_vlan_bridge_1q.sh line 245: quick_test_span_vlan_dir $h3 555 "$ul_proto" ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: quick_test_span_vlan_dir "$h3" 555 "$ul_proto" In mirror_gre_vlan_bridge_1q.sh line 247: mirror_uninstall $swp1 ingress ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: mirror_uninstall "$swp1" ingress In mirror_gre_vlan_bridge_1q.sh line 266: local h3mac=$(mac_get $h3) ^---^ 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 h3mac=$(mac_get "$h3") In mirror_gre_vlan_bridge_1q.sh line 270: mirror_install $swp1 ingress $tundev "matchall" ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. ^-----^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: mirror_install "$swp1" ingress "$tundev" "matchall" In mirror_gre_vlan_bridge_1q.sh line 271: quick_test_span_gre_dir $tundev ^-----^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: quick_test_span_gre_dir "$tundev" In mirror_gre_vlan_bridge_1q.sh line 274: bridge fdb del dev $swp3 $h3mac vlan 555 master 2>/dev/null ^---^ 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 dev "$swp3" "$h3mac" vlan 555 master 2>/dev/null In mirror_gre_vlan_bridge_1q.sh line 275: bridge fdb add dev $swp2 $h3mac vlan 555 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 add dev "$swp2" "$h3mac" vlan 555 master static In mirror_gre_vlan_bridge_1q.sh line 277: fail_test_span_gre_dir $tundev ^-----^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: fail_test_span_gre_dir "$tundev" In mirror_gre_vlan_bridge_1q.sh line 279: if ! bridge fdb sh dev $swp2 vlan 555 master \ ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: if ! bridge fdb sh dev "$swp2" vlan 555 master \ In mirror_gre_vlan_bridge_1q.sh line 280: | grep -q $h3mac; then ^----^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: | grep -q "$h3mac"; then In mirror_gre_vlan_bridge_1q.sh line 291: bridge fdb del dev $swp2 $h3mac vlan 555 master 2>/dev/null ^---^ 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 dev "$swp2" "$h3mac" vlan 555 master 2>/dev/null In mirror_gre_vlan_bridge_1q.sh line 295: quick_test_span_gre_dir $tundev ^-----^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: quick_test_span_gre_dir "$tundev" In mirror_gre_vlan_bridge_1q.sh line 297: mirror_uninstall $swp1 ingress ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: mirror_uninstall "$swp1" ingress In mirror_gre_vlan_bridge_1q.sh line 314: full_test_span_gre_stp gt4 $swp3 "mirror to gretap" ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: full_test_span_gre_stp gt4 "$swp3" "mirror to gretap" In mirror_gre_vlan_bridge_1q.sh line 319: full_test_span_gre_stp gt6 $swp3 "mirror to ip6gretap" ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: full_test_span_gre_stp gt6 "$swp3" "mirror to ip6gretap" In mirror_gre_vlan_bridge_1q.sh line 329: 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 ... Checking tools/testing/selftests/net/forwarding/mirror_lib.sh - d5af30308cabf9c035978f4ed4f20b60008ea859b5dceb1d85418bc5845bdfdd In mirror_lib.sh line 1: # SPDX-License-Identifier: GPL-2.0 ^-- SC2148 (error): Tips depend on target shell and yours is unknown. Add a shebang or a 'shell' directive. In mirror_lib.sh line 10: tc filter add dev $from_dev $direction \ ^-------^ 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 "$from_dev" "$direction" \ In mirror_lib.sh line 11: pref 1000 $filter \ ^-----^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: pref 1000 "$filter" \ In mirror_lib.sh line 12: action mirred egress mirror dev $to_dev ^-----^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: action mirred egress mirror dev "$to_dev" In mirror_lib.sh line 20: tc filter del dev $swp1 $direction pref 1000 ^---^ SC2154 (warning): swp1 is referenced but not assigned. ^---^ 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 "$swp1" "$direction" pref 1000 In mirror_lib.sh line 39: if is_ipv6 $dip; then ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: if is_ipv6 "$dip"; then In mirror_lib.sh line 51: local t0=$(tc_rule_stats_get $dev $pref) ^-- SC2155 (warning): Declare and assign separately to avoid masking return values. ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: local t0=$(tc_rule_stats_get "$dev" "$pref") In mirror_lib.sh line 52: $MZ $proto ${sip:+-A $sip} -B $dip -a own -b bc -q \ ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: $MZ $proto ${sip:+-A $sip} -B "$dip" -a own -b bc -q \ In mirror_lib.sh line 53: -c 10 -d 100msec -t $type $vrf_name ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. ^-------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: -c 10 -d 100msec -t "$type" "$vrf_name" In mirror_lib.sh line 55: local t1=$(tc_rule_stats_get $dev $pref) ^-- SC2155 (warning): Declare and assign separately to avoid masking return values. ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: local t1=$(tc_rule_stats_get "$dev" "$pref") In mirror_lib.sh line 57: ((delta $expect)) ^-- SC1105 (error): Shells disambiguate (( differently or not at all. For subshell, add spaces around ( . For ((, fix parsing errors. ^-----^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ((delta "$expect")) In mirror_lib.sh line 70: icmp_capture_install $dev "type $forward_type" ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: icmp_capture_install "$dev" "type $forward_type" In mirror_lib.sh line 71: mirror_test v$h1 $ip1 $ip2 $dev 100 $expect ^-^ SC2154 (warning): h1 is referenced but not assigned. ^-^ 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: mirror_test v"$h1" "$ip1" "$ip2" "$dev" 100 "$expect" In mirror_lib.sh line 72: icmp_capture_uninstall $dev ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: icmp_capture_uninstall "$dev" In mirror_lib.sh line 74: icmp_capture_install $dev "type $backward_type" ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: icmp_capture_install "$dev" "type $backward_type" In mirror_lib.sh line 75: mirror_test v$h2 $ip2 $ip1 $dev 100 $expect ^-^ SC2154 (warning): h2 is referenced but not assigned. ^-^ 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: mirror_test v"$h2" "$ip2" "$ip1" "$dev" 100 "$expect" In mirror_lib.sh line 76: icmp_capture_uninstall $dev ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: icmp_capture_uninstall "$dev" In mirror_lib.sh line 102: icmp_capture_install $dev "type $forward_type" ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: icmp_capture_install "$dev" "type $forward_type" In mirror_lib.sh line 103: mirror_test v$h1 $ip1 $ip2 $dev 100 10 ^-^ 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: mirror_test v"$h1" "$ip1" "$ip2" "$dev" 100 10 In mirror_lib.sh line 104: icmp_capture_uninstall $dev ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: icmp_capture_uninstall "$dev" In mirror_lib.sh line 106: icmp_capture_install $dev "type $backward_type" ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: icmp_capture_install "$dev" "type $backward_type" In mirror_lib.sh line 107: mirror_test v$h2 $ip2 $ip1 $dev 100 10 ^-^ 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: mirror_test v"$h2" "$ip2" "$ip1" "$dev" 100 10 In mirror_lib.sh line 108: icmp_capture_uninstall $dev ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: icmp_capture_uninstall "$dev" In mirror_lib.sh line 133: vlan_capture_install $dev "skip_hw vlan_id $vid vlan_ethtype $ul_proto" ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: vlan_capture_install "$dev" "skip_hw vlan_id $vid vlan_ethtype $ul_proto" In mirror_lib.sh line 134: mirror_test v$h1 $ip1 $ip2 $dev 100 "$expect" ^-^ 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: mirror_test v"$h1" "$ip1" "$ip2" "$dev" 100 "$expect" In mirror_lib.sh line 135: mirror_test v$h2 $ip2 $ip1 $dev 100 "$expect" ^-^ 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: mirror_test v"$h2" "$ip2" "$ip1" "$dev" 100 "$expect" In mirror_lib.sh line 136: vlan_capture_uninstall $dev ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: vlan_capture_uninstall "$dev" For more information: https://www.shellcheck.net/wiki/SC1105 -- Shells disambiguate (( differentl... https://www.shellcheck.net/wiki/SC2148 -- Tips depend on target shell and y... https://www.shellcheck.net/wiki/SC2154 -- h1 is referenced but not assigned. Checking tools/testing/selftests/net/forwarding/pedit_dsfield.sh - 563dba60b8bf8d62706a1afeec5a0ef25c1178af02b369b27a3fb99f5a908302 In pedit_dsfield.sh line 37: : ${HIT_TIMEOUT:=2000} # ms ^------------------^ SC2223 (info): This default assignment may cause DoS due to globbing. Quote it. In pedit_dsfield.sh line 41: 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 pedit_dsfield.sh line 46: 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 pedit_dsfield.sh line 51: 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 pedit_dsfield.sh line 52: tc qdisc add dev $h2 clsact ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc qdisc add dev "$h2" clsact In pedit_dsfield.sh line 57: tc qdisc del dev $h2 clsact ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc qdisc del dev "$h2" clsact In pedit_dsfield.sh line 58: 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 pedit_dsfield.sh line 66: 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 pedit_dsfield.sh line 67: 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 pedit_dsfield.sh line 68: 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 pedit_dsfield.sh line 69: 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 pedit_dsfield.sh line 71: tc qdisc add dev $swp1 clsact ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc qdisc add dev "$swp1" clsact In pedit_dsfield.sh line 72: 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 pedit_dsfield.sh line 77: 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 pedit_dsfield.sh line 78: tc qdisc del dev $swp1 clsact ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc qdisc del dev "$swp1" clsact In pedit_dsfield.sh line 80: 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 pedit_dsfield.sh line 81: 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 pedit_dsfield.sh line 82: 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 pedit_dsfield.sh line 83: 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 pedit_dsfield.sh line 95: h2mac=$(mac_get $h2) ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: h2mac=$(mac_get "$h2") In pedit_dsfield.sh line 115: ping_test $h1 192.0.2.2 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ping_test "$h1" 192.0.2.2 In pedit_dsfield.sh line 120: ping6_test $h1 2001:db8:1::2 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ping6_test "$h1" 2001:db8:1::2 In pedit_dsfield.sh line 133: $MZ $mz_flags -c 10 -d 20msec -p 100 \ ^-------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: $MZ "$mz_flags" -c 10 -d 20msec -p 100 \ In pedit_dsfield.sh line 134: -a own -b $h2mac -q -t tcp $h1 tos=0x7d,sp=54321,dp=12345 ^----^ SC2086 (info): Double quote to prevent globbing and word splitting. ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: -a own -b "$h2mac" -q -t tcp "$h1" tos=0x7d,sp=54321,dp=12345 In pedit_dsfield.sh line 155: local saddr=$1; shift ^---^ SC2034 (warning): saddr appears unused. Verify use (or export if used externally). In pedit_dsfield.sh line 156: local daddr=$1; shift ^---^ SC2034 (warning): daddr appears unused. Verify use (or export if used externally). In pedit_dsfield.sh line 158: tc filter add $pedit_locus handle 101 pref 1 \ ^----------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter add "$pedit_locus" handle 101 pref 1 \ In pedit_dsfield.sh line 159: flower action pedit ex munge $pedit_action ^-----------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: flower action pedit ex munge "$pedit_action" In pedit_dsfield.sh line 160: tc filter add dev $h2 ingress handle 101 pref 1 prot $match_prot \ ^-^ 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 "$h2" ingress handle 101 pref 1 prot "$match_prot" \ In pedit_dsfield.sh line 161: flower skip_hw $match_flower action pass ^-----------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: flower skip_hw "$match_flower" action pass In pedit_dsfield.sh line 165: tc filter del dev $h2 ingress pref 1 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter del dev "$h2" ingress pref 1 In pedit_dsfield.sh line 166: tc filter del $pedit_locus pref 1 ^----------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter del "$pedit_locus" pref 1 In pedit_dsfield.sh line 215: ip "ip_tos $((124 | $ecn))" \ ^--^ SC2004 (style): $/${} is unnecessary on arithmetic variables. In pedit_dsfield.sh line 230: tc filter add $locus handle 101 pref 1 \ ^----^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter add "$locus" handle 101 pref 1 \ In pedit_dsfield.sh line 233: tc filter add dev $h2 ingress handle 101 pref 1 prot ip \ ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter add dev "$h2" ingress handle 101 pref 1 prot ip \ In pedit_dsfield.sh line 239: tc filter del dev $h2 ingress pref 1 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter del dev "$h2" ingress pref 1 In pedit_dsfield.sh line 240: tc filter del $locus pref 1 ^----^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter del "$locus" pref 1 In pedit_dsfield.sh line 295: ipv6 "ip_tos $((124 | $ecn))" \ ^--^ SC2004 (style): $/${} is unnecessary on arithmetic variables. In pedit_dsfield.sh line 313: 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/SC2034 -- daddr appears unused. Verify use ... https://www.shellcheck.net/wiki/SC2086 -- Double quote to prevent globbing ... https://www.shellcheck.net/wiki/SC2223 -- This default assignment may cause... Checking tools/testing/selftests/net/forwarding/pedit_ip.sh - 219deca691cb868dc6604533eaaada367a8ccb70860c5a243deb100fc016a49b In pedit_ip.sh line 36: 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 pedit_ip.sh line 41: 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 pedit_ip.sh line 46: 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 pedit_ip.sh line 47: tc qdisc add dev $h2 clsact ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc qdisc add dev "$h2" clsact In pedit_ip.sh line 52: tc qdisc del dev $h2 clsact ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc qdisc del dev "$h2" clsact In pedit_ip.sh line 53: 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 pedit_ip.sh line 59: 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 pedit_ip.sh line 60: 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 pedit_ip.sh line 61: 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 pedit_ip.sh line 62: 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 pedit_ip.sh line 64: tc qdisc add dev $swp1 clsact ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc qdisc add dev "$swp1" clsact In pedit_ip.sh line 65: 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 pedit_ip.sh line 70: 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 pedit_ip.sh line 71: tc qdisc del dev $swp1 clsact ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc qdisc del dev "$swp1" clsact In pedit_ip.sh line 73: 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 pedit_ip.sh line 74: 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 pedit_ip.sh line 75: 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 pedit_ip.sh line 76: 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 pedit_ip.sh line 88: h2mac=$(mac_get $h2) ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: h2mac=$(mac_get "$h2") In pedit_ip.sh line 108: ping_test $h1 192.0.2.2 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ping_test "$h1" 192.0.2.2 In pedit_ip.sh line 113: ping6_test $h1 2001:db8:1::2 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ping6_test "$h1" 2001:db8:1::2 In pedit_ip.sh line 124: tc filter add $pedit_locus handle 101 pref 1 \ ^----------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter add "$pedit_locus" handle 101 pref 1 \ In pedit_ip.sh line 125: flower action pedit ex munge $pedit_action ^-----------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: flower action pedit ex munge "$pedit_action" In pedit_ip.sh line 126: tc filter add dev $h2 ingress handle 101 pref 1 prot $match_prot \ ^-^ 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 "$h2" ingress handle 101 pref 1 prot "$match_prot" \ In pedit_ip.sh line 127: flower skip_hw $match_flower action pass ^-----------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: flower skip_hw "$match_flower" action pass In pedit_ip.sh line 131: $MZ $mz_flags -c 10 -d 20msec -p 100 -a own -b $h2mac -q -t ip $h1 ^-------^ 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 "$mz_flags" -c 10 -d 20msec -p 100 -a own -b "$h2mac" -q -t ip "$h1" In pedit_ip.sh line 144: tc filter del dev $h2 ingress pref 1 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter del dev "$h2" ingress pref 1 In pedit_ip.sh line 145: tc filter del $pedit_locus pref 1 ^----------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter del "$pedit_locus" pref 1 In pedit_ip.sh line 201: 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 ... Checking tools/testing/selftests/net/forwarding/pedit_l4port.sh - 5606a64d92232a41608520d237a4edd32b2354fc63e594bf74e25ac047f6b49f In pedit_l4port.sh line 33: : ${HIT_TIMEOUT:=2000} # ms ^------------------^ SC2223 (info): This default assignment may cause DoS due to globbing. Quote it. In pedit_l4port.sh line 37: 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 pedit_l4port.sh line 42: 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 pedit_l4port.sh line 47: 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 pedit_l4port.sh line 48: tc qdisc add dev $h2 clsact ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc qdisc add dev "$h2" clsact In pedit_l4port.sh line 53: tc qdisc del dev $h2 clsact ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc qdisc del dev "$h2" clsact In pedit_l4port.sh line 54: 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 pedit_l4port.sh line 60: 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 pedit_l4port.sh line 61: 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 pedit_l4port.sh line 62: 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 pedit_l4port.sh line 63: 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 pedit_l4port.sh line 65: tc qdisc add dev $swp1 clsact ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc qdisc add dev "$swp1" clsact In pedit_l4port.sh line 66: 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 pedit_l4port.sh line 71: 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 pedit_l4port.sh line 72: tc qdisc del dev $swp1 clsact ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc qdisc del dev "$swp1" clsact In pedit_l4port.sh line 74: 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 pedit_l4port.sh line 75: 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 pedit_l4port.sh line 76: 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 pedit_l4port.sh line 77: 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 pedit_l4port.sh line 89: h2mac=$(mac_get $h2) ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: h2mac=$(mac_get "$h2") In pedit_l4port.sh line 109: ping_test $h1 192.0.2.2 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ping_test "$h1" 192.0.2.2 In pedit_l4port.sh line 114: ping6_test $h1 2001:db8:1::2 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ping6_test "$h1" 2001:db8:1::2 In pedit_l4port.sh line 125: local saddr=$1; shift ^---^ SC2034 (warning): saddr appears unused. Verify use (or export if used externally). In pedit_l4port.sh line 126: local daddr=$1; shift ^---^ SC2034 (warning): daddr appears unused. Verify use (or export if used externally). In pedit_l4port.sh line 128: tc filter add $pedit_locus handle 101 pref 1 \ ^----------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter add "$pedit_locus" handle 101 pref 1 \ In pedit_l4port.sh line 129: flower action pedit ex munge $pedit_action ^-----------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: flower action pedit ex munge "$pedit_action" In pedit_l4port.sh line 130: tc filter add dev $h2 ingress handle 101 pref 1 prot $match_prot \ ^-^ 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 "$h2" ingress handle 101 pref 1 prot "$match_prot" \ In pedit_l4port.sh line 131: flower skip_hw $match_flower action pass ^-----------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: flower skip_hw "$match_flower" action pass In pedit_l4port.sh line 135: $MZ $mz_flags -c 10 -d 20msec -p 100 \ ^-------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: $MZ "$mz_flags" -c 10 -d 20msec -p 100 \ In pedit_l4port.sh line 136: -a own -b $h2mac -q -t $pedit_prot $h1 sp=54321,dp=12345 ^----^ 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: -a own -b "$h2mac" -q -t "$pedit_prot" "$h1" sp=54321,dp=12345 In pedit_l4port.sh line 149: tc filter del dev $h2 ingress pref 1 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter del dev "$h2" ingress pref 1 In pedit_l4port.sh line 150: tc filter del $pedit_locus pref 1 ^----------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter del "$pedit_locus" pref 1 In pedit_l4port.sh line 200: 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/SC2034 -- daddr appears unused. Verify use ... https://www.shellcheck.net/wiki/SC2086 -- Double quote to prevent globbing ... https://www.shellcheck.net/wiki/SC2223 -- This default assignment may cause... Checking tools/testing/selftests/net/forwarding/router.sh - 6ec6f5b175b324172db1a4638244533aea7b3e351081e9089b85583110467fd3 In router.sh line 39: require_command $MCD ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: require_command "$MCD" In router.sh line 40: require_command $MC_CLI ^-----^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: require_command "$MC_CLI" In router.sh line 46: ip link set dev $h1 master vrf-h1 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link set dev "$h1" master vrf-h1 In router.sh line 49: ip link set dev $h1 up ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link set dev "$h1" up In router.sh line 51: ip address add 192.0.2.2/24 dev $h1 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip address add 192.0.2.2/24 dev "$h1" In router.sh line 52: ip address add 2001:db8:1::2/64 dev $h1 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip address add 2001:db8:1::2/64 dev "$h1" In router.sh line 63: ip address del 2001:db8:1::2/64 dev $h1 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip address del 2001:db8:1::2/64 dev "$h1" In router.sh line 64: ip address del 192.0.2.2/24 dev $h1 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip address del 192.0.2.2/24 dev "$h1" In router.sh line 66: ip link set dev $h1 down ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link set dev "$h1" down In router.sh line 73: ip link set dev $h2 master vrf-h2 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link set dev "$h2" master vrf-h2 In router.sh line 76: ip link set dev $h2 up ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link set dev "$h2" up In router.sh line 78: ip address add 198.51.100.2/24 dev $h2 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip address add 198.51.100.2/24 dev "$h2" In router.sh line 79: ip address add 2001:db8:2::2/64 dev $h2 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip address add 2001:db8:2::2/64 dev "$h2" In router.sh line 90: ip address del 2001:db8:2::2/64 dev $h2 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip address del 2001:db8:2::2/64 dev "$h2" In router.sh line 91: ip address del 198.51.100.2/24 dev $h2 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip address del 198.51.100.2/24 dev "$h2" In router.sh line 93: ip link set dev $h2 down ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link set dev "$h2" down In router.sh line 99: ip link set dev $rp1 up ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link set dev "$rp1" up In router.sh line 100: ip link set dev $rp2 up ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link set dev "$rp2" up In router.sh line 102: tc qdisc add dev $rp2 clsact ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc qdisc add dev "$rp2" clsact In router.sh line 104: ip address add 192.0.2.1/24 dev $rp1 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip address add 192.0.2.1/24 dev "$rp1" In router.sh line 105: ip address add 2001:db8:1::1/64 dev $rp1 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip address add 2001:db8:1::1/64 dev "$rp1" In router.sh line 107: ip address add 198.51.100.1/24 dev $rp2 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip address add 198.51.100.1/24 dev "$rp2" In router.sh line 108: ip address add 2001:db8:2::1/64 dev $rp2 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip address add 2001:db8:2::1/64 dev "$rp2" In router.sh line 113: ip address del 2001:db8:2::1/64 dev $rp2 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip address del 2001:db8:2::1/64 dev "$rp2" In router.sh line 114: ip address del 198.51.100.1/24 dev $rp2 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip address del 198.51.100.1/24 dev "$rp2" In router.sh line 116: ip address del 2001:db8:1::1/64 dev $rp1 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip address del 2001:db8:1::1/64 dev "$rp1" In router.sh line 117: ip address del 192.0.2.1/24 dev $rp1 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip address del 192.0.2.1/24 dev "$rp1" In router.sh line 119: tc qdisc del dev $rp2 clsact ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc qdisc del dev "$rp2" clsact In router.sh line 121: ip link set dev $rp2 down ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link set dev "$rp2" down In router.sh line 122: ip link set dev $rp1 down ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link set dev "$rp1" down In router.sh line 129: for ((i = 1; i <= $NUM_NETIFS; ++i)); do ^---------^ SC2004 (style): $/${} is unnecessary on arithmetic variables. In router.sh line 131: $SMCROUTEDIR/$table_name.conf ^----------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: "$SMCROUTEDIR"/$table_name.conf In router.sh line 134: $MCD -N -I $table_name -f $SMCROUTEDIR/$table_name.conf \ ^----------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: $MCD -N -I $table_name -f "$SMCROUTEDIR"/$table_name.conf \ In router.sh line 135: -P $SMCROUTEDIR/$table_name.pid ^----------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: -P "$SMCROUTEDIR"/$table_name.pid In router.sh line 140: pkill $MCD ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: pkill "$MCD" In router.sh line 141: rm -rf $SMCROUTEDIR ^----------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: rm -rf "$SMCROUTEDIR" In router.sh line 152: rp1mac=$(mac_get $rp1) ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: rp1mac=$(mac_get "$rp1") In router.sh line 184: ping_test $h1 198.51.100.2 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ping_test "$h1" 198.51.100.2 In router.sh line 189: 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 router.sh line 198: sysctl_set net.ipv4.conf.$rp1.rp_filter 0 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: sysctl_set net.ipv4.conf."$rp1".rp_filter 0 In router.sh line 200: tc filter add dev $rp2 egress protocol ip pref 1 handle 101 \ ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter add dev "$rp2" egress protocol ip pref 1 handle 101 \ In router.sh line 204: -A 240.0.0.1 -b $rp1mac -B 198.51.100.2 -q $h1 "sp=54321,dp=12345" ^-----^ SC2086 (info): Double quote to prevent globbing and word splitting. ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: -A 240.0.0.1 -b "$rp1mac" -B 198.51.100.2 -q "$h1" "sp=54321,dp=12345" In router.sh line 211: tc filter del dev $rp2 egress protocol ip pref 1 handle 101 flower ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter del dev "$rp2" egress protocol ip pref 1 handle 101 flower In router.sh line 212: sysctl_restore net.ipv4.conf.$rp1.rp_filter ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: sysctl_restore net.ipv4.conf."$rp1".rp_filter In router.sh line 221: local dest_ifs=${@} ^--^ SC2124 (warning): Assigning an array to a string! Assign as array, or use * instead of @ to concatenate. In router.sh line 223: $MC_CLI -I $table_name add $if_name $s_addr $mcast $dest_ifs ^---------^ 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: $MC_CLI -I "$table_name" add "$if_name" "$s_addr" "$mcast" "$dest_ifs" In router.sh line 231: local dest_ifs=${@} ^--^ SC2124 (warning): Assigning an array to a string! Assign as array, or use * instead of @ to concatenate. In router.sh line 233: $MC_CLI -I $table_name remove $if_name $s_addr $mcast $dest_ifs ^---------^ 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: $MC_CLI -I "$table_name" remove "$if_name" "$s_addr" "$mcast" "$dest_ifs" In router.sh line 247: tc filter add dev $rp2 egress protocol $proto pref 1 handle 101 \ ^--^ 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 "$rp2" egress protocol "$proto" pref 1 handle 101 \ In router.sh line 248: flower dst_ip $dip action pass ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: flower dst_ip "$dip" action pass In router.sh line 250: create_mcast_sg $rp1 $sip $dip $rp2 ^--^ 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: create_mcast_sg "$rp1" "$sip" "$dip" "$rp2" In router.sh line 252: $MZ $flags -t udp -c 5 -d 1msec -b $dmac \ ^----^ SC2086 (info): Double quote to prevent globbing and word splitting. ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: $MZ "$flags" -t udp -c 5 -d 1msec -b "$dmac" \ In router.sh line 253: -B $dip -q $h1 "sp=54321,dp=12345" ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: -B "$dip" -q "$h1" "sp=54321,dp=12345" In router.sh line 260: delete_mcast_sg $rp1 $sip $dip $rp2 ^--^ 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: delete_mcast_sg "$rp1" "$sip" "$dip" "$rp2" In router.sh line 261: tc filter del dev $rp2 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 "$rp2" egress protocol "$proto" pref 1 handle 101 flower In router.sh line 276: sysctl_set net.ipv4.conf.$rp1.rp_filter 0 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: sysctl_set net.ipv4.conf."$rp1".rp_filter 0 In router.sh line 278: tc filter add dev $rp2 egress protocol ip pref 1 handle 101 \ ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter add dev "$rp2" egress protocol ip pref 1 handle 101 \ In router.sh line 282: -A 198.51.100.2 -b $rp1mac -B 198.51.100.2 -q $h1 "sp=54321,dp=12345" ^-----^ SC2086 (info): Double quote to prevent globbing and word splitting. ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: -A 198.51.100.2 -b "$rp1mac" -B 198.51.100.2 -q "$h1" "sp=54321,dp=12345" In router.sh line 289: tc filter del dev $rp2 egress protocol ip pref 1 handle 101 flower ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter del dev "$rp2" egress protocol ip pref 1 handle 101 flower In router.sh line 290: sysctl_restore net.ipv4.conf.$rp1.rp_filter ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: sysctl_restore net.ipv4.conf."$rp1".rp_filter In router.sh line 298: tc filter add dev $rp2 egress protocol ipv6 pref 1 handle 101 \ ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter add dev "$rp2" egress protocol ipv6 pref 1 handle 101 \ In router.sh line 302: -A 2001:db8:2::2 -b $rp1mac -B 2001:db8:2::2 -q $h1 "sp=54321,dp=12345" ^-----^ SC2086 (info): Double quote to prevent globbing and word splitting. ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: -A 2001:db8:2::2 -b "$rp1mac" -B 2001:db8:2::2 -q "$h1" "sp=54321,dp=12345" In router.sh line 309: tc filter del dev $rp2 egress protocol ipv6 pref 1 handle 101 flower ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter del dev "$rp2" egress protocol ipv6 pref 1 handle 101 flower In router.sh line 318: tc filter add dev $rp2 egress protocol ip pref 1 handle 101 \ ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter add dev "$rp2" egress protocol ip pref 1 handle 101 \ In router.sh line 319: flower dst_ip $dip action pass ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: flower dst_ip "$dip" action pass In router.sh line 321: ip neigh add 169.254.1.1 lladdr 00:11:22:33:44:55 dev $rp2 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip neigh add 169.254.1.1 lladdr 00:11:22:33:44:55 dev "$rp2" In router.sh line 322: ip route add 169.254.1.0/24 dev $rp2 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip route add 169.254.1.0/24 dev "$rp2" In router.sh line 324: $MZ -t udp -c 5 -d 1msec -b $rp1mac -B $dip -q $h1 "sp=54321,dp=12345" ^-----^ 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 -t udp -c 5 -d 1msec -b "$rp1mac" -B "$dip" -q "$h1" "sp=54321,dp=12345" In router.sh line 331: ip route del 169.254.1.0/24 dev $rp2 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip route del 169.254.1.0/24 dev "$rp2" In router.sh line 332: ip neigh del 169.254.1.1 lladdr 00:11:22:33:44:55 dev $rp2 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip neigh del 169.254.1.1 lladdr 00:11:22:33:44:55 dev "$rp2" In router.sh line 333: tc filter del dev $rp2 egress protocol ip pref 1 handle 101 flower ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter del dev "$rp2" egress protocol ip pref 1 handle 101 flower In router.sh line 369: 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/SC2124 -- Assigning an array to a string! A... https://www.shellcheck.net/wiki/SC2086 -- Double quote to prevent globbing ... https://www.shellcheck.net/wiki/SC2004 -- $/${} is unnecessary on arithmeti... Checking tools/testing/selftests/net/forwarding/router_broadcast.sh - 4569f5142013474c91899a7c6d4d80c0b24747101841ffd1ab1594a18b6dd95e In router_broadcast.sh line 11: ip link set dev $h1 master vrf-h1 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link set dev "$h1" master vrf-h1 In router_broadcast.sh line 14: ip link set dev $h1 up ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link set dev "$h1" up In router_broadcast.sh line 16: ip address add 192.0.2.2/24 dev $h1 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip address add 192.0.2.2/24 dev "$h1" In router_broadcast.sh line 27: ip address del 192.0.2.2/24 dev $h1 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip address del 192.0.2.2/24 dev "$h1" In router_broadcast.sh line 29: ip link set dev $h1 down ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link set dev "$h1" down In router_broadcast.sh line 36: ip link set dev $h2 master vrf-h2 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link set dev "$h2" master vrf-h2 In router_broadcast.sh line 39: ip link set dev $h2 up ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link set dev "$h2" up In router_broadcast.sh line 41: ip address add 198.51.100.2/24 dev $h2 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip address add 198.51.100.2/24 dev "$h2" In router_broadcast.sh line 52: ip address del 198.51.100.2/24 dev $h2 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip address del 198.51.100.2/24 dev "$h2" In router_broadcast.sh line 54: ip link set dev $h2 down ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link set dev "$h2" down In router_broadcast.sh line 61: ip link set dev $h3 master vrf-h3 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link set dev "$h3" master vrf-h3 In router_broadcast.sh line 64: ip link set dev $h3 up ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link set dev "$h3" up In router_broadcast.sh line 66: ip address add 198.51.200.2/24 dev $h3 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip address add 198.51.200.2/24 dev "$h3" In router_broadcast.sh line 77: ip address del 198.51.200.2/24 dev $h3 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip address del 198.51.200.2/24 dev "$h3" In router_broadcast.sh line 79: ip link set dev $h3 down ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link set dev "$h3" down In router_broadcast.sh line 85: ip link set dev $rp1 up ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link set dev "$rp1" up In router_broadcast.sh line 86: ip link set dev $rp2 up ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link set dev "$rp2" up In router_broadcast.sh line 87: ip link set dev $rp3 up ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link set dev "$rp3" up In router_broadcast.sh line 89: ip address add 192.0.2.1/24 dev $rp1 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip address add 192.0.2.1/24 dev "$rp1" In router_broadcast.sh line 91: ip address add 198.51.100.1/24 dev $rp2 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip address add 198.51.100.1/24 dev "$rp2" In router_broadcast.sh line 92: ip address add 198.51.200.1/24 dev $rp3 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip address add 198.51.200.1/24 dev "$rp3" In router_broadcast.sh line 97: ip address del 198.51.200.1/24 dev $rp3 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip address del 198.51.200.1/24 dev "$rp3" In router_broadcast.sh line 98: ip address del 198.51.100.1/24 dev $rp2 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip address del 198.51.100.1/24 dev "$rp2" In router_broadcast.sh line 100: ip address del 192.0.2.1/24 dev $rp1 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip address del 192.0.2.1/24 dev "$rp1" In router_broadcast.sh line 102: ip link set dev $rp3 down ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link set dev "$rp3" down In router_broadcast.sh line 103: ip link set dev $rp2 down ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link set dev "$rp2" down In router_broadcast.sh line 104: ip link set dev $rp1 down ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link set dev "$rp1" down In router_broadcast.sh line 147: sysctl_set net.ipv4.conf.$rp1.bc_forwarding 0 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: sysctl_set net.ipv4.conf."$rp1".bc_forwarding 0 In router_broadcast.sh line 148: sysctl_set net.ipv4.conf.$rp2.bc_forwarding 0 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: sysctl_set net.ipv4.conf."$rp2".bc_forwarding 0 In router_broadcast.sh line 154: sysctl_set net.ipv4.conf.$rp1.bc_forwarding 1 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: sysctl_set net.ipv4.conf."$rp1".bc_forwarding 1 In router_broadcast.sh line 155: sysctl_set net.ipv4.conf.$rp2.bc_forwarding 1 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: sysctl_set net.ipv4.conf."$rp2".bc_forwarding 1 In router_broadcast.sh line 160: sysctl_restore net.ipv4.conf.$rp2.bc_forwarding ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: sysctl_restore net.ipv4.conf."$rp2".bc_forwarding In router_broadcast.sh line 161: sysctl_restore net.ipv4.conf.$rp1.bc_forwarding ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: sysctl_restore net.ipv4.conf."$rp1".bc_forwarding In router_broadcast.sh line 175: ip vrf exec $(master_name_get $oif) \ ^---------------------^ SC2046 (warning): Quote this to prevent word splitting. ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip vrf exec $(master_name_get "$oif") \ In router_broadcast.sh line 176: $PING -I $oif -c 10 -i 0.1 -w $PING_TIMEOUT -b $dip 2>&1 \ ^---^ 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: "$PING" -I "$oif" -c 10 -i 0.1 -w "$PING_TIMEOUT" -b "$dip" 2>&1 \ In router_broadcast.sh line 178: check_err_fail $fail $? ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: check_err_fail "$fail" $? In router_broadcast.sh line 187: ping_test_from $h1 198.51.100.255 192.0.2.1 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ping_test_from "$h1" 198.51.100.255 192.0.2.1 In router_broadcast.sh line 189: ping_test_from $h1 198.51.200.255 192.0.2.1 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ping_test_from "$h1" 198.51.200.255 192.0.2.1 In router_broadcast.sh line 191: ping_test_from $h1 192.0.2.255 192.0.2.1 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ping_test_from "$h1" 192.0.2.255 192.0.2.1 In router_broadcast.sh line 193: ping_test_from $h1 255.255.255.255 192.0.2.1 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ping_test_from "$h1" 255.255.255.255 192.0.2.1 In router_broadcast.sh line 196: ping_test_from $h2 192.0.2.255 198.51.100.1 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ping_test_from "$h2" 192.0.2.255 198.51.100.1 In router_broadcast.sh line 198: ping_test_from $h2 198.51.200.255 198.51.100.1 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ping_test_from "$h2" 198.51.200.255 198.51.100.1 In router_broadcast.sh line 200: ping_test_from $h2 198.51.100.255 198.51.100.1 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ping_test_from "$h2" 198.51.100.255 198.51.100.1 In router_broadcast.sh line 202: ping_test_from $h2 255.255.255.255 198.51.100.1 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ping_test_from "$h2" 255.255.255.255 198.51.100.1 In router_broadcast.sh line 208: ping_test_from $h1 198.51.100.255 198.51.100.2 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ping_test_from "$h1" 198.51.100.255 198.51.100.2 In router_broadcast.sh line 210: ping_test_from $h1 198.51.200.255 198.51.200.2 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ping_test_from "$h1" 198.51.200.255 198.51.200.2 In router_broadcast.sh line 212: ping_test_from $h1 192.0.2.255 192.0.2.1 1 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ping_test_from "$h1" 192.0.2.255 192.0.2.1 1 In router_broadcast.sh line 214: ping_test_from $h1 255.255.255.255 192.0.2.1 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ping_test_from "$h1" 255.255.255.255 192.0.2.1 In router_broadcast.sh line 217: ping_test_from $h2 192.0.2.255 192.0.2.2 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ping_test_from "$h2" 192.0.2.255 192.0.2.2 In router_broadcast.sh line 219: ping_test_from $h2 198.51.200.255 198.51.200.2 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ping_test_from "$h2" 198.51.200.255 198.51.200.2 In router_broadcast.sh line 221: ping_test_from $h2 198.51.100.255 198.51.100.1 1 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ping_test_from "$h2" 198.51.100.255 198.51.100.1 1 In router_broadcast.sh line 223: ping_test_from $h2 255.255.255.255 198.51.100.1 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ping_test_from "$h2" 255.255.255.255 198.51.100.1 In router_broadcast.sh line 237: 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/SC2046 -- Quote this to prevent word splitt... https://www.shellcheck.net/wiki/SC2086 -- Double quote to prevent globbing ... Checking tools/testing/selftests/net/forwarding/router_mpath_nh.sh - 6e13d14aa65e0a099c475e649ac17a07ea9a52dbf3b31a67d04a2b4b6b882d96 In router_mpath_nh.sh line 56: ip link set dev $h1 master vrf-h1 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link set dev "$h1" master vrf-h1 In router_mpath_nh.sh line 59: ip link set dev $h1 up ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link set dev "$h1" up In router_mpath_nh.sh line 61: ip address add 192.0.2.2/24 dev $h1 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip address add 192.0.2.2/24 dev "$h1" In router_mpath_nh.sh line 62: ip address add 2001:db8:1::2/64 dev $h1 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip address add 2001:db8:1::2/64 dev "$h1" In router_mpath_nh.sh line 73: ip address del 2001:db8:1::2/64 dev $h1 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip address del 2001:db8:1::2/64 dev "$h1" In router_mpath_nh.sh line 74: ip address del 192.0.2.2/24 dev $h1 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip address del 192.0.2.2/24 dev "$h1" In router_mpath_nh.sh line 76: ip link set dev $h1 down ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link set dev "$h1" down In router_mpath_nh.sh line 83: ip link set dev $h2 master vrf-h2 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link set dev "$h2" master vrf-h2 In router_mpath_nh.sh line 86: ip link set dev $h2 up ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link set dev "$h2" up In router_mpath_nh.sh line 88: ip address add 198.51.100.2/24 dev $h2 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip address add 198.51.100.2/24 dev "$h2" In router_mpath_nh.sh line 89: ip address add 2001:db8:2::2/64 dev $h2 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip address add 2001:db8:2::2/64 dev "$h2" In router_mpath_nh.sh line 100: ip address del 2001:db8:2::2/64 dev $h2 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip address del 2001:db8:2::2/64 dev "$h2" In router_mpath_nh.sh line 101: ip address del 198.51.100.2/24 dev $h2 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip address del 198.51.100.2/24 dev "$h2" In router_mpath_nh.sh line 103: ip link set dev $h2 down ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link set dev "$h2" down In router_mpath_nh.sh line 110: ip link set dev $rp11 master vrf-r1 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link set dev "$rp11" master vrf-r1 In router_mpath_nh.sh line 111: ip link set dev $rp12 master vrf-r1 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link set dev "$rp12" master vrf-r1 In router_mpath_nh.sh line 112: ip link set dev $rp13 master vrf-r1 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link set dev "$rp13" master vrf-r1 In router_mpath_nh.sh line 115: ip link set dev $rp11 up ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link set dev "$rp11" up In router_mpath_nh.sh line 116: ip link set dev $rp12 up ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link set dev "$rp12" up In router_mpath_nh.sh line 117: ip link set dev $rp13 up ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link set dev "$rp13" up In router_mpath_nh.sh line 119: ip address add 192.0.2.1/24 dev $rp11 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip address add 192.0.2.1/24 dev "$rp11" In router_mpath_nh.sh line 120: ip address add 2001:db8:1::1/64 dev $rp11 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip address add 2001:db8:1::1/64 dev "$rp11" In router_mpath_nh.sh line 122: ip address add 169.254.2.12/24 dev $rp12 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip address add 169.254.2.12/24 dev "$rp12" In router_mpath_nh.sh line 123: ip address add fe80:2::12/64 dev $rp12 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip address add fe80:2::12/64 dev "$rp12" In router_mpath_nh.sh line 125: ip address add 169.254.3.13/24 dev $rp13 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip address add 169.254.3.13/24 dev "$rp13" In router_mpath_nh.sh line 126: ip address add fe80:3::13/64 dev $rp13 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip address add fe80:3::13/64 dev "$rp13" In router_mpath_nh.sh line 134: ip address del fe80:3::13/64 dev $rp13 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip address del fe80:3::13/64 dev "$rp13" In router_mpath_nh.sh line 135: ip address del 169.254.3.13/24 dev $rp13 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip address del 169.254.3.13/24 dev "$rp13" In router_mpath_nh.sh line 137: ip address del fe80:2::12/64 dev $rp12 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip address del fe80:2::12/64 dev "$rp12" In router_mpath_nh.sh line 138: ip address del 169.254.2.12/24 dev $rp12 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip address del 169.254.2.12/24 dev "$rp12" In router_mpath_nh.sh line 140: ip address del 2001:db8:1::1/64 dev $rp11 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip address del 2001:db8:1::1/64 dev "$rp11" In router_mpath_nh.sh line 141: ip address del 192.0.2.1/24 dev $rp11 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip address del 192.0.2.1/24 dev "$rp11" In router_mpath_nh.sh line 150: ip link set dev $rp13 down ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link set dev "$rp13" down In router_mpath_nh.sh line 151: ip link set dev $rp12 down ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link set dev "$rp12" down In router_mpath_nh.sh line 152: ip link set dev $rp11 down ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link set dev "$rp11" down In router_mpath_nh.sh line 160: ip link set dev $rp21 master vrf-r2 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link set dev "$rp21" master vrf-r2 In router_mpath_nh.sh line 161: ip link set dev $rp22 master vrf-r2 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link set dev "$rp22" master vrf-r2 In router_mpath_nh.sh line 162: ip link set dev $rp23 master vrf-r2 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link set dev "$rp23" master vrf-r2 In router_mpath_nh.sh line 165: ip link set dev $rp21 up ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link set dev "$rp21" up In router_mpath_nh.sh line 166: ip link set dev $rp22 up ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link set dev "$rp22" up In router_mpath_nh.sh line 167: ip link set dev $rp23 up ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link set dev "$rp23" up In router_mpath_nh.sh line 169: ip address add 198.51.100.1/24 dev $rp21 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip address add 198.51.100.1/24 dev "$rp21" In router_mpath_nh.sh line 170: ip address add 2001:db8:2::1/64 dev $rp21 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip address add 2001:db8:2::1/64 dev "$rp21" In router_mpath_nh.sh line 172: ip address add 169.254.2.22/24 dev $rp22 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip address add 169.254.2.22/24 dev "$rp22" In router_mpath_nh.sh line 173: ip address add fe80:2::22/64 dev $rp22 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip address add fe80:2::22/64 dev "$rp22" In router_mpath_nh.sh line 175: ip address add 169.254.3.23/24 dev $rp23 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip address add 169.254.3.23/24 dev "$rp23" In router_mpath_nh.sh line 176: ip address add fe80:3::23/64 dev $rp23 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip address add fe80:3::23/64 dev "$rp23" In router_mpath_nh.sh line 184: ip address del fe80:3::23/64 dev $rp23 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip address del fe80:3::23/64 dev "$rp23" In router_mpath_nh.sh line 185: ip address del 169.254.3.23/24 dev $rp23 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip address del 169.254.3.23/24 dev "$rp23" In router_mpath_nh.sh line 187: ip address del fe80:2::22/64 dev $rp22 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip address del fe80:2::22/64 dev "$rp22" In router_mpath_nh.sh line 188: ip address del 169.254.2.22/24 dev $rp22 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip address del 169.254.2.22/24 dev "$rp22" In router_mpath_nh.sh line 190: ip address del 2001:db8:2::1/64 dev $rp21 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip address del 2001:db8:2::1/64 dev "$rp21" In router_mpath_nh.sh line 191: ip address del 198.51.100.1/24 dev $rp21 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip address del 198.51.100.1/24 dev "$rp21" In router_mpath_nh.sh line 198: ip link set dev $rp23 down ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link set dev "$rp23" down In router_mpath_nh.sh line 199: ip link set dev $rp22 down ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link set dev "$rp22" down In router_mpath_nh.sh line 200: ip link set dev $rp21 down ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link set dev "$rp21" down In router_mpath_nh.sh line 207: ip nexthop add id 101 via 169.254.2.22 dev $rp12 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip nexthop add id 101 via 169.254.2.22 dev "$rp12" In router_mpath_nh.sh line 208: ip nexthop add id 102 via 169.254.3.23 dev $rp13 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip nexthop add id 102 via 169.254.3.23 dev "$rp13" In router_mpath_nh.sh line 212: ip nexthop add id 104 via fe80:2::22 dev $rp12 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip nexthop add id 104 via fe80:2::22 dev "$rp12" In router_mpath_nh.sh line 213: ip nexthop add id 105 via fe80:3::23 dev $rp13 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip nexthop add id 105 via fe80:3::23 dev "$rp13" In router_mpath_nh.sh line 217: ip nexthop add id 201 via 169.254.2.12 dev $rp22 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip nexthop add id 201 via 169.254.2.12 dev "$rp22" In router_mpath_nh.sh line 218: ip nexthop add id 202 via 169.254.3.13 dev $rp23 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip nexthop add id 202 via 169.254.3.13 dev "$rp23" In router_mpath_nh.sh line 222: ip nexthop add id 204 via fe80:2::12 dev $rp22 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip nexthop add id 204 via fe80:2::12 dev "$rp22" In router_mpath_nh.sh line 223: ip nexthop add id 205 via fe80:3::13 dev $rp23 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip nexthop add id 205 via fe80:3::13 dev "$rp23" In router_mpath_nh.sh line 242: ip nexthop replace id 103 group 101,$weight_rp12/102,$weight_rp13 ^----------^ 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,"$weight_rp12"/102,"$weight_rp13" In router_mpath_nh.sh line 244: t0_rp12=$(link_stats_tx_packets_get $rp12) ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: t0_rp12=$(link_stats_tx_packets_get "$rp12") In router_mpath_nh.sh line 245: t0_rp13=$(link_stats_tx_packets_get $rp13) ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: t0_rp13=$(link_stats_tx_packets_get "$rp13") In router_mpath_nh.sh line 247: ip vrf exec vrf-h1 $MZ -q -p 64 -A 192.0.2.2 -B 198.51.100.2 \ ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip vrf exec vrf-h1 "$MZ" -q -p 64 -A 192.0.2.2 -B 198.51.100.2 \ In router_mpath_nh.sh line 248: -d $MZ_DELAY -t udp $h1 "$ports" ^-------^ SC2086 (info): Double quote to prevent globbing and word splitting. ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: -d "$MZ_DELAY" -t udp "$h1" "$ports" In router_mpath_nh.sh line 251: t1_rp12=$(link_stats_tx_packets_get $rp12) ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: t1_rp12=$(link_stats_tx_packets_get "$rp12") In router_mpath_nh.sh line 252: t1_rp13=$(link_stats_tx_packets_get $rp13) ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: t1_rp13=$(link_stats_tx_packets_get "$rp13") In router_mpath_nh.sh line 254: let "packets_rp12 = $t1_rp12 - $t0_rp12" ^-- SC2219 (style): Instead of 'let expr', prefer (( expr )) . In router_mpath_nh.sh line 255: let "packets_rp13 = $t1_rp13 - $t0_rp13" ^-- SC2219 (style): Instead of 'let expr', prefer (( expr )) . In router_mpath_nh.sh line 256: multipath_eval "$desc" $weight_rp12 $weight_rp13 $packets_rp12 $packets_rp13 ^----------^ 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 "$desc" "$weight_rp12" "$weight_rp13" "$packets_rp12" "$packets_rp13" In router_mpath_nh.sh line 278: ip nexthop replace id 106 group 104,$weight_rp12/105,$weight_rp13 ^----------^ 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 106 group 104,"$weight_rp12"/105,"$weight_rp13" In router_mpath_nh.sh line 280: t0_rp12=$(link_stats_tx_packets_get $rp12) ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: t0_rp12=$(link_stats_tx_packets_get "$rp12") In router_mpath_nh.sh line 281: t0_rp13=$(link_stats_tx_packets_get $rp13) ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: t0_rp13=$(link_stats_tx_packets_get "$rp13") In router_mpath_nh.sh line 284: -d $MZ_DELAY -t udp $h1 "$ports" ^-------^ SC2086 (info): Double quote to prevent globbing and word splitting. ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: -d "$MZ_DELAY" -t udp "$h1" "$ports" In router_mpath_nh.sh line 287: t1_rp12=$(link_stats_tx_packets_get $rp12) ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: t1_rp12=$(link_stats_tx_packets_get "$rp12") In router_mpath_nh.sh line 288: t1_rp13=$(link_stats_tx_packets_get $rp13) ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: t1_rp13=$(link_stats_tx_packets_get "$rp13") In router_mpath_nh.sh line 290: let "packets_rp12 = $t1_rp12 - $t0_rp12" ^-- SC2219 (style): Instead of 'let expr', prefer (( expr )) . In router_mpath_nh.sh line 291: let "packets_rp13 = $t1_rp13 - $t0_rp13" ^-- SC2219 (style): Instead of 'let expr', prefer (( expr )) . In router_mpath_nh.sh line 292: multipath_eval "$desc" $weight_rp12 $weight_rp13 $packets_rp12 $packets_rp13 ^----------^ 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 "$desc" "$weight_rp12" "$weight_rp13" "$packets_rp12" "$packets_rp13" In router_mpath_nh.sh line 307: ip nexthop replace id 101 via fe80:2::22 dev $rp12 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip nexthop replace id 101 via fe80:2::22 dev "$rp12" In router_mpath_nh.sh line 308: ip nexthop replace id 102 via fe80:3::23 dev $rp13 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip nexthop replace id 102 via fe80:3::23 dev "$rp13" In router_mpath_nh.sh line 314: ip nexthop replace id 102 via 169.254.3.23 dev $rp13 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip nexthop replace id 102 via 169.254.3.23 dev "$rp13" In router_mpath_nh.sh line 315: ip nexthop replace id 101 via 169.254.2.22 dev $rp12 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip nexthop replace id 101 via 169.254.2.22 dev "$rp12" In router_mpath_nh.sh line 348: ping_do $h1 198.51.100.2 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ping_do "$h1" 198.51.100.2 In router_mpath_nh.sh line 352: ping_do $h1 198.51.100.2 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ping_do "$h1" 198.51.100.2 In router_mpath_nh.sh line 356: ping_do $h1 198.51.100.2 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ping_do "$h1" 198.51.100.2 In router_mpath_nh.sh line 373: ping6_do $h1 2001:db8:2::2 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ping6_do "$h1" 2001:db8:2::2 In router_mpath_nh.sh line 377: ping6_do $h1 2001:db8:2::2 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ping6_do "$h1" 2001:db8:2::2 In router_mpath_nh.sh line 381: ping6_do $h1 2001:db8:2::2 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ping6_do "$h1" 2001:db8:2::2 In router_mpath_nh.sh line 442: ping_test $h1 198.51.100.2 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ping_test "$h1" 198.51.100.2 In router_mpath_nh.sh line 447: 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 router_mpath_nh.sh line 451: if [ $? -ne 0 ]; then ^-- SC2181 (style): Check exit code directly with e.g. 'if ! mycmd;', not indirectly with $?. In router_mpath_nh.sh line 464: 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/SC2181 -- Check exit code directly with e.g... https://www.shellcheck.net/wiki/SC2219 -- Instead of 'let expr', prefer (( ... Checking tools/testing/selftests/net/forwarding/router_mpath_nh_lib.sh - f23bb643da4d4ea64623a64e32acf7d9b8022b322befabe8e024d63f5c22c55a In router_mpath_nh_lib.sh line 1: # SPDX-License-Identifier: GPL-2.0 ^-- SC2148 (error): Tips depend on target shell and yours is unknown. Add a shebang or a 'shell' directive. In router_mpath_nh_lib.sh line 10: local mz="$@" ^--^ SC2124 (warning): Assigning an array to a string! Assign as array, or use * instead of @ to concatenate. In router_mpath_nh_lib.sh line 14: RET=0 ^-^ SC2034 (warning): RET appears unused. Verify use (or export if used externally). In router_mpath_nh_lib.sh line 19: local t0_rp12=$(link_stats_tx_packets_get $rp12) ^-----^ SC2155 (warning): Declare and assign separately to avoid masking return values. ^---^ SC2154 (warning): rp12 is referenced but not assigned. ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: local t0_rp12=$(link_stats_tx_packets_get "$rp12") In router_mpath_nh_lib.sh line 20: local t0_rp13=$(link_stats_tx_packets_get $rp13) ^-----^ SC2155 (warning): Declare and assign separately to avoid masking return values. ^---^ SC2154 (warning): rp13 is referenced but not assigned. ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: local t0_rp13=$(link_stats_tx_packets_get "$rp13") In router_mpath_nh_lib.sh line 21: local t0_nh1=$($stats_get $group_id $nh1_id) ^----^ SC2155 (warning): Declare and assign separately to avoid masking return values. ^-------^ SC2086 (info): Double quote to prevent globbing and word splitting. ^-----^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: local t0_nh1=$($stats_get "$group_id" "$nh1_id") In router_mpath_nh_lib.sh line 22: local t0_nh2=$($stats_get $group_id $nh2_id) ^----^ SC2155 (warning): Declare and assign separately to avoid masking return values. ^-------^ SC2086 (info): Double quote to prevent globbing and word splitting. ^-----^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: local t0_nh2=$($stats_get "$group_id" "$nh2_id") In router_mpath_nh_lib.sh line 25: $mz -q -p 64 -d 0 -t udp \ ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: "$mz" -q -p 64 -d 0 -t udp \ In router_mpath_nh_lib.sh line 29: local t1_rp12=$(link_stats_tx_packets_get $rp12) ^-----^ 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_rp12=$(link_stats_tx_packets_get "$rp12") In router_mpath_nh_lib.sh line 30: local t1_rp13=$(link_stats_tx_packets_get $rp13) ^-----^ 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_rp13=$(link_stats_tx_packets_get "$rp13") In router_mpath_nh_lib.sh line 31: local t1_nh1=$($stats_get $group_id $nh1_id) ^----^ SC2155 (warning): Declare and assign separately to avoid masking return values. ^-------^ SC2086 (info): Double quote to prevent globbing and word splitting. ^-----^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: local t1_nh1=$($stats_get "$group_id" "$nh1_id") In router_mpath_nh_lib.sh line 32: local t1_nh2=$($stats_get $group_id $nh2_id) ^----^ SC2155 (warning): Declare and assign separately to avoid masking return values. ^-------^ SC2086 (info): Double quote to prevent globbing and word splitting. ^-----^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: local t1_nh2=$($stats_get "$group_id" "$nh2_id") In router_mpath_nh_lib.sh line 57: local mz="$@" ^--^ SC2124 (warning): Assigning an array to a string! Assign as array, or use * instead of @ to concatenate. In router_mpath_nh_lib.sh line 62: xfail_on_veth $rp11 \ ^---^ SC2154 (warning): rp11 is referenced but not assigned. ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: xfail_on_veth "$rp11" \ In router_mpath_nh_lib.sh line 74: local mz="$@" ^--^ SC2124 (warning): Assigning an array to a string! Assign as array, or use * instead of @ to concatenate. In router_mpath_nh_lib.sh line 83: ip nexthop replace id $group_id group $nh1_id/$nh2_id \ ^-------^ 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: ip nexthop replace id "$group_id" group "$nh1_id"/"$nh2_id" \ In router_mpath_nh_lib.sh line 84: hw_stats on type $nhgtype ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: hw_stats on type "$nhgtype" In router_mpath_nh_lib.sh line 85: enabled=$(ip -s -j -d nexthop show id $group_id | ^-------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: enabled=$(ip -s -j -d nexthop show id "$group_id" | In router_mpath_nh_lib.sh line 97: ip nexthop replace id $group_id group $nh1_id/$nh2_id \ ^-------^ 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: ip nexthop replace id "$group_id" group "$nh1_id"/"$nh2_id" \ In router_mpath_nh_lib.sh line 98: hw_stats off type $nhgtype ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: hw_stats off type "$nhgtype" In router_mpath_nh_lib.sh line 106: nh_stats_test_dispatch $nhgtype "IPv4" 101 102 103 \ ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: nh_stats_test_dispatch "$nhgtype" "IPv4" 101 102 103 \ In router_mpath_nh_lib.sh line 107: $MZ -A 192.0.2.2 -B 198.51.100.2 $h1 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. ^-^ SC2154 (warning): h1 is referenced but not assigned. ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: "$MZ" -A 192.0.2.2 -B 198.51.100.2 "$h1" In router_mpath_nh_lib.sh line 116: nh_stats_test_dispatch $nhgtype "IPv6" 104 105 106 \ ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: nh_stats_test_dispatch "$nhgtype" "IPv6" 104 105 106 \ In router_mpath_nh_lib.sh line 117: $MZ -6 -A 2001:db8:1::2 -B 2001:db8:2::2 $h1 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: "$MZ" -6 -A 2001:db8:1::2 -B 2001:db8:2::2 "$h1" In router_mpath_nh_lib.sh line 126: if (( $? )); then ^-- SC2181 (style): Check exit code directly with e.g. 'if ! mycmd;', not indirectly with $?. For more information: https://www.shellcheck.net/wiki/SC2148 -- Tips depend on target shell and y... https://www.shellcheck.net/wiki/SC2034 -- RET appears unused. Verify use (o... https://www.shellcheck.net/wiki/SC2124 -- Assigning an array to a string! A... Checking tools/testing/selftests/net/forwarding/router_mpath_nh_res.sh - f3c54329a2e936c8ced1a643ce7e5a10fe1f75c09beb609b448e5f9820a82510 In router_mpath_nh_res.sh line 54: ip link set dev $h1 master vrf-h1 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link set dev "$h1" master vrf-h1 In router_mpath_nh_res.sh line 57: ip link set dev $h1 up ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link set dev "$h1" up In router_mpath_nh_res.sh line 59: ip address add 192.0.2.2/24 dev $h1 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip address add 192.0.2.2/24 dev "$h1" In router_mpath_nh_res.sh line 60: ip address add 2001:db8:1::2/64 dev $h1 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip address add 2001:db8:1::2/64 dev "$h1" In router_mpath_nh_res.sh line 71: ip address del 2001:db8:1::2/64 dev $h1 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip address del 2001:db8:1::2/64 dev "$h1" In router_mpath_nh_res.sh line 72: ip address del 192.0.2.2/24 dev $h1 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip address del 192.0.2.2/24 dev "$h1" In router_mpath_nh_res.sh line 74: ip link set dev $h1 down ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link set dev "$h1" down In router_mpath_nh_res.sh line 81: ip link set dev $h2 master vrf-h2 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link set dev "$h2" master vrf-h2 In router_mpath_nh_res.sh line 84: ip link set dev $h2 up ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link set dev "$h2" up In router_mpath_nh_res.sh line 86: ip address add 198.51.100.2/24 dev $h2 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip address add 198.51.100.2/24 dev "$h2" In router_mpath_nh_res.sh line 87: ip address add 2001:db8:2::2/64 dev $h2 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip address add 2001:db8:2::2/64 dev "$h2" In router_mpath_nh_res.sh line 98: ip address del 2001:db8:2::2/64 dev $h2 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip address del 2001:db8:2::2/64 dev "$h2" In router_mpath_nh_res.sh line 99: ip address del 198.51.100.2/24 dev $h2 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip address del 198.51.100.2/24 dev "$h2" In router_mpath_nh_res.sh line 101: ip link set dev $h2 down ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link set dev "$h2" down In router_mpath_nh_res.sh line 108: ip link set dev $rp11 master vrf-r1 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link set dev "$rp11" master vrf-r1 In router_mpath_nh_res.sh line 109: ip link set dev $rp12 master vrf-r1 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link set dev "$rp12" master vrf-r1 In router_mpath_nh_res.sh line 110: ip link set dev $rp13 master vrf-r1 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link set dev "$rp13" master vrf-r1 In router_mpath_nh_res.sh line 113: ip link set dev $rp11 up ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link set dev "$rp11" up In router_mpath_nh_res.sh line 114: ip link set dev $rp12 up ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link set dev "$rp12" up In router_mpath_nh_res.sh line 115: ip link set dev $rp13 up ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link set dev "$rp13" up In router_mpath_nh_res.sh line 117: ip address add 192.0.2.1/24 dev $rp11 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip address add 192.0.2.1/24 dev "$rp11" In router_mpath_nh_res.sh line 118: ip address add 2001:db8:1::1/64 dev $rp11 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip address add 2001:db8:1::1/64 dev "$rp11" In router_mpath_nh_res.sh line 120: ip address add 169.254.2.12/24 dev $rp12 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip address add 169.254.2.12/24 dev "$rp12" In router_mpath_nh_res.sh line 121: ip address add fe80:2::12/64 dev $rp12 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip address add fe80:2::12/64 dev "$rp12" In router_mpath_nh_res.sh line 123: ip address add 169.254.3.13/24 dev $rp13 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip address add 169.254.3.13/24 dev "$rp13" In router_mpath_nh_res.sh line 124: ip address add fe80:3::13/64 dev $rp13 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip address add fe80:3::13/64 dev "$rp13" In router_mpath_nh_res.sh line 132: ip address del fe80:3::13/64 dev $rp13 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip address del fe80:3::13/64 dev "$rp13" In router_mpath_nh_res.sh line 133: ip address del 169.254.3.13/24 dev $rp13 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip address del 169.254.3.13/24 dev "$rp13" In router_mpath_nh_res.sh line 135: ip address del fe80:2::12/64 dev $rp12 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip address del fe80:2::12/64 dev "$rp12" In router_mpath_nh_res.sh line 136: ip address del 169.254.2.12/24 dev $rp12 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip address del 169.254.2.12/24 dev "$rp12" In router_mpath_nh_res.sh line 138: ip address del 2001:db8:1::1/64 dev $rp11 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip address del 2001:db8:1::1/64 dev "$rp11" In router_mpath_nh_res.sh line 139: ip address del 192.0.2.1/24 dev $rp11 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip address del 192.0.2.1/24 dev "$rp11" In router_mpath_nh_res.sh line 148: ip link set dev $rp13 down ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link set dev "$rp13" down In router_mpath_nh_res.sh line 149: ip link set dev $rp12 down ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link set dev "$rp12" down In router_mpath_nh_res.sh line 150: ip link set dev $rp11 down ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link set dev "$rp11" down In router_mpath_nh_res.sh line 158: ip link set dev $rp21 master vrf-r2 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link set dev "$rp21" master vrf-r2 In router_mpath_nh_res.sh line 159: ip link set dev $rp22 master vrf-r2 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link set dev "$rp22" master vrf-r2 In router_mpath_nh_res.sh line 160: ip link set dev $rp23 master vrf-r2 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link set dev "$rp23" master vrf-r2 In router_mpath_nh_res.sh line 163: ip link set dev $rp21 up ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link set dev "$rp21" up In router_mpath_nh_res.sh line 164: ip link set dev $rp22 up ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link set dev "$rp22" up In router_mpath_nh_res.sh line 165: ip link set dev $rp23 up ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link set dev "$rp23" up In router_mpath_nh_res.sh line 167: ip address add 198.51.100.1/24 dev $rp21 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip address add 198.51.100.1/24 dev "$rp21" In router_mpath_nh_res.sh line 168: ip address add 2001:db8:2::1/64 dev $rp21 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip address add 2001:db8:2::1/64 dev "$rp21" In router_mpath_nh_res.sh line 170: ip address add 169.254.2.22/24 dev $rp22 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip address add 169.254.2.22/24 dev "$rp22" In router_mpath_nh_res.sh line 171: ip address add fe80:2::22/64 dev $rp22 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip address add fe80:2::22/64 dev "$rp22" In router_mpath_nh_res.sh line 173: ip address add 169.254.3.23/24 dev $rp23 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip address add 169.254.3.23/24 dev "$rp23" In router_mpath_nh_res.sh line 174: ip address add fe80:3::23/64 dev $rp23 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip address add fe80:3::23/64 dev "$rp23" In router_mpath_nh_res.sh line 182: ip address del fe80:3::23/64 dev $rp23 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip address del fe80:3::23/64 dev "$rp23" In router_mpath_nh_res.sh line 183: ip address del 169.254.3.23/24 dev $rp23 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip address del 169.254.3.23/24 dev "$rp23" In router_mpath_nh_res.sh line 185: ip address del fe80:2::22/64 dev $rp22 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip address del fe80:2::22/64 dev "$rp22" In router_mpath_nh_res.sh line 186: ip address del 169.254.2.22/24 dev $rp22 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip address del 169.254.2.22/24 dev "$rp22" In router_mpath_nh_res.sh line 188: ip address del 2001:db8:2::1/64 dev $rp21 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip address del 2001:db8:2::1/64 dev "$rp21" In router_mpath_nh_res.sh line 189: ip address del 198.51.100.1/24 dev $rp21 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip address del 198.51.100.1/24 dev "$rp21" In router_mpath_nh_res.sh line 196: ip link set dev $rp23 down ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link set dev "$rp23" down In router_mpath_nh_res.sh line 197: ip link set dev $rp22 down ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link set dev "$rp22" down In router_mpath_nh_res.sh line 198: ip link set dev $rp21 down ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link set dev "$rp21" down In router_mpath_nh_res.sh line 205: ip nexthop add id 101 via 169.254.2.22 dev $rp12 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip nexthop add id 101 via 169.254.2.22 dev "$rp12" In router_mpath_nh_res.sh line 206: ip nexthop add id 102 via 169.254.3.23 dev $rp13 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip nexthop add id 102 via 169.254.3.23 dev "$rp13" In router_mpath_nh_res.sh line 211: ip nexthop add id 104 via fe80:2::22 dev $rp12 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip nexthop add id 104 via fe80:2::22 dev "$rp12" In router_mpath_nh_res.sh line 212: ip nexthop add id 105 via fe80:3::23 dev $rp13 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip nexthop add id 105 via fe80:3::23 dev "$rp13" In router_mpath_nh_res.sh line 217: ip nexthop add id 201 via 169.254.2.12 dev $rp22 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip nexthop add id 201 via 169.254.2.12 dev "$rp22" In router_mpath_nh_res.sh line 218: ip nexthop add id 202 via 169.254.3.13 dev $rp23 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip nexthop add id 202 via 169.254.3.13 dev "$rp23" In router_mpath_nh_res.sh line 223: ip nexthop add id 204 via fe80:2::12 dev $rp22 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip nexthop add id 204 via fe80:2::12 dev "$rp22" In router_mpath_nh_res.sh line 224: ip nexthop add id 205 via fe80:3::13 dev $rp23 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip nexthop add id 205 via fe80:3::13 dev "$rp23" In router_mpath_nh_res.sh line 245: t0_rp12=$(link_stats_tx_packets_get $rp12) ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: t0_rp12=$(link_stats_tx_packets_get "$rp12") In router_mpath_nh_res.sh line 246: t0_rp13=$(link_stats_tx_packets_get $rp13) ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: t0_rp13=$(link_stats_tx_packets_get "$rp13") In router_mpath_nh_res.sh line 248: ip vrf exec vrf-h1 $MZ -q -p 64 -A 192.0.2.2 -B 198.51.100.2 \ ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip vrf exec vrf-h1 "$MZ" -q -p 64 -A 192.0.2.2 -B 198.51.100.2 \ In router_mpath_nh_res.sh line 249: -d $MZ_DELAY -t udp $h1 "$ports" ^-------^ SC2086 (info): Double quote to prevent globbing and word splitting. ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: -d "$MZ_DELAY" -t udp "$h1" "$ports" In router_mpath_nh_res.sh line 252: t1_rp12=$(link_stats_tx_packets_get $rp12) ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: t1_rp12=$(link_stats_tx_packets_get "$rp12") In router_mpath_nh_res.sh line 253: t1_rp13=$(link_stats_tx_packets_get $rp13) ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: t1_rp13=$(link_stats_tx_packets_get "$rp13") In router_mpath_nh_res.sh line 255: let "packets_rp12 = $t1_rp12 - $t0_rp12" ^-- SC2219 (style): Instead of 'let expr', prefer (( expr )) . In router_mpath_nh_res.sh line 256: let "packets_rp13 = $t1_rp13 - $t0_rp13" ^-- SC2219 (style): Instead of 'let expr', prefer (( expr )) . In router_mpath_nh_res.sh line 257: multipath_eval "$desc" $weight_rp12 $weight_rp13 $packets_rp12 $packets_rp13 ^----------^ 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 "$desc" "$weight_rp12" "$weight_rp13" "$packets_rp12" "$packets_rp13" In router_mpath_nh_res.sh line 278: t0_rp12=$(link_stats_tx_packets_get $rp12) ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: t0_rp12=$(link_stats_tx_packets_get "$rp12") In router_mpath_nh_res.sh line 279: t0_rp13=$(link_stats_tx_packets_get $rp13) ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: t0_rp13=$(link_stats_tx_packets_get "$rp13") In router_mpath_nh_res.sh line 282: -d $MZ_DELAY -t udp $h1 "$ports" ^-------^ SC2086 (info): Double quote to prevent globbing and word splitting. ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: -d "$MZ_DELAY" -t udp "$h1" "$ports" In router_mpath_nh_res.sh line 285: t1_rp12=$(link_stats_tx_packets_get $rp12) ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: t1_rp12=$(link_stats_tx_packets_get "$rp12") In router_mpath_nh_res.sh line 286: t1_rp13=$(link_stats_tx_packets_get $rp13) ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: t1_rp13=$(link_stats_tx_packets_get "$rp13") In router_mpath_nh_res.sh line 288: let "packets_rp12 = $t1_rp12 - $t0_rp12" ^-- SC2219 (style): Instead of 'let expr', prefer (( expr )) . In router_mpath_nh_res.sh line 289: let "packets_rp13 = $t1_rp13 - $t0_rp13" ^-- SC2219 (style): Instead of 'let expr', prefer (( expr )) . In router_mpath_nh_res.sh line 290: multipath_eval "$desc" $weight_rp12 $weight_rp13 $packets_rp12 $packets_rp13 ^----------^ 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 "$desc" "$weight_rp12" "$weight_rp13" "$packets_rp12" "$packets_rp13" In router_mpath_nh_res.sh line 468: ping_test $h1 198.51.100.2 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ping_test "$h1" 198.51.100.2 In router_mpath_nh_res.sh line 473: 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 router_mpath_nh_res.sh line 477: if [ $? -ne 0 ]; then ^-- SC2181 (style): Check exit code directly with e.g. 'if ! mycmd;', not indirectly with $?. In router_mpath_nh_res.sh line 490: 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/SC2181 -- Check exit code directly with e.g... https://www.shellcheck.net/wiki/SC2219 -- Instead of 'let expr', prefer (( ... Checking tools/testing/selftests/net/forwarding/router_mpath_seed.sh - 3003e9ab3cecca20397778da832f15e10234bac5b1e554415eea88666fb3db5b In router_mpath_seed.sh line 38: 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 router_mpath_seed.sh line 39: ip -4 route add 192.0.2.32/28 vrf v$h1 nexthop via 192.0.2.2 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip -4 route add 192.0.2.32/28 vrf v"$h1" nexthop via 192.0.2.2 In router_mpath_seed.sh line 40: ip -6 route add 2001:db8:3::/64 vrf v$h1 nexthop via 2001:db8:1::2 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip -6 route add 2001:db8:3::/64 vrf v"$h1" nexthop via 2001:db8:1::2 In router_mpath_seed.sh line 45: ip -6 route del 2001:db8:3::/64 vrf v$h1 nexthop via 2001:db8:1::2 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip -6 route del 2001:db8:3::/64 vrf v"$h1" nexthop via 2001:db8:1::2 In router_mpath_seed.sh line 46: ip -4 route del 192.0.2.32/28 vrf v$h1 nexthop via 192.0.2.2 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip -4 route del 192.0.2.32/28 vrf v"$h1" nexthop via 192.0.2.2 In router_mpath_seed.sh line 47: 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 router_mpath_seed.sh line 52: simple_if_init $h2 192.0.2.34/28 2001:db8:3::2/64 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: simple_if_init "$h2" 192.0.2.34/28 2001:db8:3::2/64 In router_mpath_seed.sh line 53: ip -4 route add 192.0.2.0/28 vrf v$h2 nexthop via 192.0.2.33 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip -4 route add 192.0.2.0/28 vrf v"$h2" nexthop via 192.0.2.33 In router_mpath_seed.sh line 54: ip -6 route add 2001:db8:1::/64 vrf v$h2 nexthop via 2001:db8:3::1 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip -6 route add 2001:db8:1::/64 vrf v"$h2" nexthop via 2001:db8:3::1 In router_mpath_seed.sh line 59: ip -6 route del 2001:db8:1::/64 vrf v$h2 nexthop via 2001:db8:3::1 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip -6 route del 2001:db8:1::/64 vrf v"$h2" nexthop via 2001:db8:3::1 In router_mpath_seed.sh line 60: ip -4 route del 192.0.2.0/28 vrf v$h2 nexthop via 192.0.2.33 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip -4 route del 192.0.2.0/28 vrf v"$h2" nexthop via 192.0.2.33 In router_mpath_seed.sh line 61: simple_if_fini $h2 192.0.2.34/28 2001:db8:3::2/64 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: simple_if_fini "$h2" 192.0.2.34/28 2001:db8:3::2/64 In router_mpath_seed.sh line 66: simple_if_init $rp11 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 "$rp11" 192.0.2.2/28 2001:db8:1::2/64 In router_mpath_seed.sh line 67: __simple_if_init $rp12 v$rp11 192.0.2.17/28 2001:db8:2::17/64 ^---^ 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 "$rp12" v"$rp11" 192.0.2.17/28 2001:db8:2::17/64 In router_mpath_seed.sh line 72: __simple_if_fini $rp12 192.0.2.17/28 2001:db8:2::17/64 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: __simple_if_fini "$rp12" 192.0.2.17/28 2001:db8:2::17/64 In router_mpath_seed.sh line 73: simple_if_fini $rp11 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 "$rp11" 192.0.2.2/28 2001:db8:1::2/64 In router_mpath_seed.sh line 78: simple_if_init $rp21 192.0.2.33/28 2001:db8:3::1/64 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: simple_if_init "$rp21" 192.0.2.33/28 2001:db8:3::1/64 In router_mpath_seed.sh line 79: __simple_if_init $rp22 v$rp21 192.0.2.18/28 2001:db8:2::18/64 ^---^ 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 "$rp22" v"$rp21" 192.0.2.18/28 2001:db8:2::18/64 In router_mpath_seed.sh line 80: ip -4 route add 192.0.2.0/28 vrf v$rp21 nexthop via 192.0.2.17 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip -4 route add 192.0.2.0/28 vrf v"$rp21" nexthop via 192.0.2.17 In router_mpath_seed.sh line 81: ip -6 route add 2001:db8:1::/64 vrf v$rp21 nexthop via 2001:db8:2::17 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip -6 route add 2001:db8:1::/64 vrf v"$rp21" nexthop via 2001:db8:2::17 In router_mpath_seed.sh line 86: ip -6 route del 2001:db8:1::/64 vrf v$rp21 nexthop via 2001:db8:2::17 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip -6 route del 2001:db8:1::/64 vrf v"$rp21" nexthop via 2001:db8:2::17 In router_mpath_seed.sh line 87: ip -4 route del 192.0.2.0/28 vrf v$rp21 nexthop via 192.0.2.17 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip -4 route del 192.0.2.0/28 vrf v"$rp21" nexthop via 192.0.2.17 In router_mpath_seed.sh line 88: __simple_if_fini $rp22 192.0.2.18/28 2001:db8:2::18/64 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: __simple_if_fini "$rp22" 192.0.2.18/28 2001:db8:2::18/64 In router_mpath_seed.sh line 89: simple_if_fini $rp21 192.0.2.33/28 2001:db8:3::1/64 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: simple_if_fini "$rp21" 192.0.2.33/28 2001:db8:3::1/64 In router_mpath_seed.sh line 96: ip nexthop add id $((1000 + i)) via 192.0.2.18 dev $rp12 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip nexthop add id $((1000 + i)) via 192.0.2.18 dev "$rp12" In router_mpath_seed.sh line 97: ip nexthop add id $((2000 + i)) via 2001:db8:2::18 dev $rp12 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip nexthop add id $((2000 + i)) via 2001:db8:2::18 dev "$rp12" In router_mpath_seed.sh line 102: ip -4 route add 192.0.2.32/28 vrf v$rp11 nhid 1000 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip -4 route add 192.0.2.32/28 vrf v"$rp11" nhid 1000 In router_mpath_seed.sh line 103: ip -6 route add 2001:db8:3::/64 vrf v$rp11 nhid 2000 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip -6 route add 2001:db8:3::/64 vrf v"$rp11" nhid 2000 In router_mpath_seed.sh line 110: ip -6 route del 2001:db8:3::/64 vrf v$rp11 nhid 2000 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip -6 route del 2001:db8:3::/64 vrf v"$rp11" nhid 2000 In router_mpath_seed.sh line 111: ip -4 route del 192.0.2.32/28 vrf v$rp11 nhid 1000 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip -4 route del 192.0.2.32/28 vrf v"$rp11" nhid 1000 In router_mpath_seed.sh line 163: ping_test $h1 192.0.2.34 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ping_test "$h1" 192.0.2.34 In router_mpath_seed.sh line 168: ping6_test $h1 2001:db8:3::2 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ping6_test "$h1" 2001:db8:3::2 In router_mpath_seed.sh line 178: sysctl -qw net.ipv4.fib_multipath_hash_seed=$seed_w ^-----^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: sysctl -qw net.ipv4.fib_multipath_hash_seed="$seed_w" In router_mpath_seed.sh line 179: local seed_r=$(sysctl -n net.ipv4.fib_multipath_hash_seed) ^----^ SC2155 (warning): Declare and assign separately to avoid masking return values. In router_mpath_seed.sh line 191: ip -j -s -s nexthop show id $group_id | ^-------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip -j -s -s nexthop show id "$group_id" | In router_mpath_seed.sh line 213: local s0=$(nh_stats_snapshot $group_id) ^-- 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 s0=$(nh_stats_snapshot "$group_id") In router_mpath_seed.sh line 215: local s1=$(nh_stats_snapshot $group_id) ^-- 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 s1=$(nh_stats_snapshot "$group_id") In router_mpath_seed.sh line 226: sysctl -qw net.ipv4.fib_multipath_hash_seed=$seed ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: sysctl -qw net.ipv4.fib_multipath_hash_seed="$seed" In router_mpath_seed.sh line 241: local act=$(probe_seed $group_id $((999331 * ii)) "${mz[@]}") ^-^ 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 act=$(probe_seed "$group_id" $((999331 * ii)) "${mz[@]}") In router_mpath_seed.sh line 245: local tally_str="${tally[@]}" ^-----------^ SC2124 (warning): Assigning an array to a string! Assign as array, or use * instead of @ to concatenate. In router_mpath_seed.sh line 258: $MZ -A 192.0.2.1 -B 192.0.2.34 -q \ ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: "$MZ" -A 192.0.2.1 -B 192.0.2.34 -q \ In router_mpath_seed.sh line 259: -p 64 -d 0 -c 10 -t udp $h1 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: -p 64 -d 0 -c 10 -t udp "$h1" In router_mpath_seed.sh line 265: $MZ -6 -A 2001:db8:1::1 -B 2001:db8:3::2 -q \ ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: "$MZ" -6 -A 2001:db8:1::1 -B 2001:db8:3::2 -q \ In router_mpath_seed.sh line 266: -p 64 -d 0 -c 10 -t udp $h1 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: -p 64 -d 0 -c 10 -t udp "$h1" In router_mpath_seed.sh line 292: local act_ini=$(probe_nh $group_id "${mz[@]}") ^-----^ 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 act_ini=$(probe_nh "$group_id" "${mz[@]}") In router_mpath_seed.sh line 294: local act_0_0=$(probe_seed $group_id $seed_0 "${mz[@]}") ^-----^ SC2155 (warning): Declare and assign separately to avoid masking return values. ^-------^ SC2086 (info): Double quote to prevent globbing and word splitting. ^-----^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: local act_0_0=$(probe_seed "$group_id" "$seed_0" "${mz[@]}") In router_mpath_seed.sh line 295: local act_1_0=$(probe_seed $group_id $seed_1 "${mz[@]}") ^-----^ SC2155 (warning): Declare and assign separately to avoid masking return values. ^-------^ SC2086 (info): Double quote to prevent globbing and word splitting. ^-----^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: local act_1_0=$(probe_seed "$group_id" "$seed_1" "${mz[@]}") In router_mpath_seed.sh line 296: local act_2_0=$(probe_seed $group_id $seed_2 "${mz[@]}") ^-----^ SC2155 (warning): Declare and assign separately to avoid masking return values. ^-------^ SC2086 (info): Double quote to prevent globbing and word splitting. ^-----^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: local act_2_0=$(probe_seed "$group_id" "$seed_2" "${mz[@]}") In router_mpath_seed.sh line 298: local act_0_1=$(probe_seed $group_id $seed_0 "${mz[@]}") ^-----^ SC2155 (warning): Declare and assign separately to avoid masking return values. ^-------^ SC2086 (info): Double quote to prevent globbing and word splitting. ^-----^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: local act_0_1=$(probe_seed "$group_id" "$seed_0" "${mz[@]}") In router_mpath_seed.sh line 299: local act_1_1=$(probe_seed $group_id $seed_1 "${mz[@]}") ^-----^ SC2155 (warning): Declare and assign separately to avoid masking return values. ^-------^ SC2086 (info): Double quote to prevent globbing and word splitting. ^-----^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: local act_1_1=$(probe_seed "$group_id" "$seed_1" "${mz[@]}") In router_mpath_seed.sh line 300: local act_2_1=$(probe_seed $group_id $seed_2 "${mz[@]}") ^-----^ SC2155 (warning): Declare and assign separately to avoid masking return values. ^-------^ SC2086 (info): Double quote to prevent globbing and word splitting. ^-----^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: local act_2_1=$(probe_seed "$group_id" "$seed_2" "${mz[@]}") In router_mpath_seed.sh line 302: check_mpath_seed_stability initial $act_ini $act_0_0 ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: check_mpath_seed_stability initial "$act_ini" "$act_0_0" In router_mpath_seed.sh line 303: check_mpath_seed_stability $seed_0 $act_0_0 $act_0_1 ^-----^ 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: check_mpath_seed_stability "$seed_0" "$act_0_0" "$act_0_1" In router_mpath_seed.sh line 304: check_mpath_seed_stability $seed_1 $act_1_0 $act_1_1 ^-----^ 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: check_mpath_seed_stability "$seed_1" "$act_1_0" "$act_1_1" In router_mpath_seed.sh line 305: check_mpath_seed_stability $seed_2 $act_2_0 $act_2_1 ^-----^ 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: check_mpath_seed_stability "$seed_2" "$act_2_0" "$act_2_1" In router_mpath_seed.sh line 314: $MZ -A 192.0.2.1 -B 192.0.2.34 -q \ ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: "$MZ" -A 192.0.2.1 -B 192.0.2.34 -q \ In router_mpath_seed.sh line 315: -p 64 -d 0 -c 10 -t udp $h1 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: -p 64 -d 0 -c 10 -t udp "$h1" In router_mpath_seed.sh line 321: $MZ -6 -A 2001:db8:1::1 -B 2001:db8:3::2 -q \ ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: "$MZ" -6 -A 2001:db8:1::1 -B 2001:db8:3::2 -q \ In router_mpath_seed.sh line 322: -p 64 -d 0 -c 10 -t udp $h1 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: -p 64 -d 0 -c 10 -t udp "$h1" In router_mpath_seed.sh line 333: 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/SC2124 -- Assigning an array to a string! A... https://www.shellcheck.net/wiki/SC2155 -- Declare and assign separately to ... https://www.shellcheck.net/wiki/SC2086 -- Double quote to prevent globbing ... Checking tools/testing/selftests/net/forwarding/router_multicast.sh - eaea65454794f95a871bd85bf77e90fbaef73133d6d4ff03367965484c92df80 In router_multicast.sh line 38: simple_if_init $h1 198.51.100.2/28 2001:db8:1::2/64 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: simple_if_init "$h1" 198.51.100.2/28 2001:db8:1::2/64 In router_multicast.sh line 40: ip route add 198.51.100.16/28 vrf v$h1 nexthop via 198.51.100.1 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip route add 198.51.100.16/28 vrf v"$h1" nexthop via 198.51.100.1 In router_multicast.sh line 41: ip route add 198.51.100.32/28 vrf v$h1 nexthop via 198.51.100.1 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip route add 198.51.100.32/28 vrf v"$h1" nexthop via 198.51.100.1 In router_multicast.sh line 43: ip route add 2001:db8:2::/64 vrf v$h1 nexthop via 2001:db8:1::1 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip route add 2001:db8:2::/64 vrf v"$h1" nexthop via 2001:db8:1::1 In router_multicast.sh line 44: ip route add 2001:db8:3::/64 vrf v$h1 nexthop via 2001:db8:1::1 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip route add 2001:db8:3::/64 vrf v"$h1" nexthop via 2001:db8:1::1 In router_multicast.sh line 46: tc qdisc add dev $h1 ingress ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc qdisc add dev "$h1" ingress In router_multicast.sh line 51: tc qdisc del dev $h1 ingress ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc qdisc del dev "$h1" ingress In router_multicast.sh line 53: ip route del 2001:db8:3::/64 vrf v$h1 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip route del 2001:db8:3::/64 vrf v"$h1" In router_multicast.sh line 54: ip route del 2001:db8:2::/64 vrf v$h1 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip route del 2001:db8:2::/64 vrf v"$h1" In router_multicast.sh line 56: ip route del 198.51.100.32/28 vrf v$h1 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip route del 198.51.100.32/28 vrf v"$h1" In router_multicast.sh line 57: ip route del 198.51.100.16/28 vrf v$h1 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip route del 198.51.100.16/28 vrf v"$h1" In router_multicast.sh line 59: simple_if_fini $h1 198.51.100.2/28 2001:db8:1::2/64 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: simple_if_fini "$h1" 198.51.100.2/28 2001:db8:1::2/64 In router_multicast.sh line 64: simple_if_init $h2 198.51.100.18/28 2001:db8:2::2/64 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: simple_if_init "$h2" 198.51.100.18/28 2001:db8:2::2/64 In router_multicast.sh line 66: ip route add 198.51.100.0/28 vrf v$h2 nexthop via 198.51.100.17 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip route add 198.51.100.0/28 vrf v"$h2" nexthop via 198.51.100.17 In router_multicast.sh line 67: ip route add 198.51.100.32/28 vrf v$h2 nexthop via 198.51.100.17 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip route add 198.51.100.32/28 vrf v"$h2" nexthop via 198.51.100.17 In router_multicast.sh line 69: ip route add 2001:db8:1::/64 vrf v$h2 nexthop via 2001:db8:2::1 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip route add 2001:db8:1::/64 vrf v"$h2" nexthop via 2001:db8:2::1 In router_multicast.sh line 70: ip route add 2001:db8:3::/64 vrf v$h2 nexthop via 2001:db8:2::1 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip route add 2001:db8:3::/64 vrf v"$h2" nexthop via 2001:db8:2::1 In router_multicast.sh line 72: tc qdisc add dev $h2 ingress ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc qdisc add dev "$h2" ingress In router_multicast.sh line 77: tc qdisc del dev $h2 ingress ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc qdisc del dev "$h2" ingress In router_multicast.sh line 79: ip route del 2001:db8:3::/64 vrf v$h2 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip route del 2001:db8:3::/64 vrf v"$h2" In router_multicast.sh line 80: ip route del 2001:db8:1::/64 vrf v$h2 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip route del 2001:db8:1::/64 vrf v"$h2" In router_multicast.sh line 82: ip route del 198.51.100.32/28 vrf v$h2 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip route del 198.51.100.32/28 vrf v"$h2" In router_multicast.sh line 83: ip route del 198.51.100.0/28 vrf v$h2 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip route del 198.51.100.0/28 vrf v"$h2" In router_multicast.sh line 85: simple_if_fini $h2 198.51.100.18/28 2001:db8:2::2/64 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: simple_if_fini "$h2" 198.51.100.18/28 2001:db8:2::2/64 In router_multicast.sh line 90: simple_if_init $h3 198.51.100.34/28 2001:db8:3::2/64 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: simple_if_init "$h3" 198.51.100.34/28 2001:db8:3::2/64 In router_multicast.sh line 92: ip route add 198.51.100.0/28 vrf v$h3 nexthop via 198.51.100.33 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip route add 198.51.100.0/28 vrf v"$h3" nexthop via 198.51.100.33 In router_multicast.sh line 93: ip route add 198.51.100.16/28 vrf v$h3 nexthop via 198.51.100.33 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip route add 198.51.100.16/28 vrf v"$h3" nexthop via 198.51.100.33 In router_multicast.sh line 95: ip route add 2001:db8:1::/64 vrf v$h3 nexthop via 2001:db8:3::1 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip route add 2001:db8:1::/64 vrf v"$h3" nexthop via 2001:db8:3::1 In router_multicast.sh line 96: ip route add 2001:db8:2::/64 vrf v$h3 nexthop via 2001:db8:3::1 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip route add 2001:db8:2::/64 vrf v"$h3" nexthop via 2001:db8:3::1 In router_multicast.sh line 98: tc qdisc add dev $h3 ingress ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc qdisc add dev "$h3" ingress In router_multicast.sh line 103: tc qdisc del dev $h3 ingress ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc qdisc del dev "$h3" ingress In router_multicast.sh line 105: ip route del 2001:db8:2::/64 vrf v$h3 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip route del 2001:db8:2::/64 vrf v"$h3" In router_multicast.sh line 106: ip route del 2001:db8:1::/64 vrf v$h3 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip route del 2001:db8:1::/64 vrf v"$h3" In router_multicast.sh line 108: ip route del 198.51.100.16/28 vrf v$h3 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip route del 198.51.100.16/28 vrf v"$h3" In router_multicast.sh line 109: ip route del 198.51.100.0/28 vrf v$h3 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip route del 198.51.100.0/28 vrf v"$h3" In router_multicast.sh line 111: simple_if_fini $h3 198.51.100.34/28 2001:db8:3::2/64 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: simple_if_fini "$h3" 198.51.100.34/28 2001:db8:3::2/64 In router_multicast.sh line 116: ip link set dev $rp1 up ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link set dev "$rp1" up In router_multicast.sh line 117: ip link set dev $rp2 up ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link set dev "$rp2" up In router_multicast.sh line 118: ip link set dev $rp3 up ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link set dev "$rp3" up In router_multicast.sh line 120: ip address add 198.51.100.1/28 dev $rp1 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip address add 198.51.100.1/28 dev "$rp1" In router_multicast.sh line 121: ip address add 198.51.100.17/28 dev $rp2 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip address add 198.51.100.17/28 dev "$rp2" In router_multicast.sh line 122: ip address add 198.51.100.33/28 dev $rp3 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip address add 198.51.100.33/28 dev "$rp3" In router_multicast.sh line 124: ip address add 2001:db8:1::1/64 dev $rp1 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip address add 2001:db8:1::1/64 dev "$rp1" In router_multicast.sh line 125: ip address add 2001:db8:2::1/64 dev $rp2 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip address add 2001:db8:2::1/64 dev "$rp2" In router_multicast.sh line 126: ip address add 2001:db8:3::1/64 dev $rp3 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip address add 2001:db8:3::1/64 dev "$rp3" In router_multicast.sh line 128: tc qdisc add dev $rp3 ingress ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc qdisc add dev "$rp3" ingress In router_multicast.sh line 133: tc qdisc del dev $rp3 ingress ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc qdisc del dev "$rp3" ingress In router_multicast.sh line 135: ip address del 2001:db8:3::1/64 dev $rp3 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip address del 2001:db8:3::1/64 dev "$rp3" In router_multicast.sh line 136: ip address del 2001:db8:2::1/64 dev $rp2 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip address del 2001:db8:2::1/64 dev "$rp2" In router_multicast.sh line 137: ip address del 2001:db8:1::1/64 dev $rp1 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip address del 2001:db8:1::1/64 dev "$rp1" In router_multicast.sh line 139: ip address del 198.51.100.33/28 dev $rp3 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip address del 198.51.100.33/28 dev "$rp3" In router_multicast.sh line 140: ip address del 198.51.100.17/28 dev $rp2 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip address del 198.51.100.17/28 dev "$rp2" In router_multicast.sh line 141: ip address del 198.51.100.1/28 dev $rp1 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip address del 198.51.100.1/28 dev "$rp1" In router_multicast.sh line 143: ip link set dev $rp3 down ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link set dev "$rp3" down In router_multicast.sh line 144: ip link set dev $rp2 down ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link set dev "$rp2" down In router_multicast.sh line 145: ip link set dev $rp1 down ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link set dev "$rp1" down In router_multicast.sh line 159: adf_mcd_start || exit "$EXIT_STATUS" ^-----------^ SC2119 (info): Use adf_mcd_start "$@" if function's $1 should mean script's $1. In router_multicast.sh line 217: tc filter add dev $h2 ingress protocol ip pref 1 handle 122 flower \ ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter add dev "$h2" ingress protocol ip pref 1 handle 122 flower \ In router_multicast.sh line 219: tc filter add dev $h3 ingress protocol ip pref 1 handle 133 flower \ ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter add dev "$h3" ingress protocol ip pref 1 handle 133 flower \ In router_multicast.sh line 222: create_mcast_sg $rp1 198.51.100.2 225.1.2.3 $rp2 $rp3 ^--^ 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: create_mcast_sg "$rp1" 198.51.100.2 225.1.2.3 "$rp2" "$rp3" In router_multicast.sh line 226: -A 198.51.100.2 -B 225.1.2.3 -q $h1 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: -A 198.51.100.2 -B 225.1.2.3 -q "$h1" In router_multicast.sh line 233: delete_mcast_sg $rp1 198.51.100.2 225.1.2.3 $rp2 $rp3 ^--^ 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: delete_mcast_sg "$rp1" 198.51.100.2 225.1.2.3 "$rp2" "$rp3" In router_multicast.sh line 236: -A 198.51.100.2 -B 225.1.2.3 -q $h1 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: -A 198.51.100.2 -B 225.1.2.3 -q "$h1" In router_multicast.sh line 243: tc filter del dev $h3 ingress protocol ip pref 1 handle 133 flower ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter del dev "$h3" ingress protocol ip pref 1 handle 133 flower In router_multicast.sh line 244: tc filter del dev $h2 ingress protocol ip pref 1 handle 122 flower ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter del dev "$h2" ingress protocol ip pref 1 handle 122 flower In router_multicast.sh line 257: tc filter add dev $h2 ingress protocol ipv6 pref 1 handle 122 flower \ ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter add dev "$h2" ingress protocol ipv6 pref 1 handle 122 flower \ In router_multicast.sh line 259: tc filter add dev $h3 ingress protocol ipv6 pref 1 handle 133 flower \ ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter add dev "$h3" ingress protocol ipv6 pref 1 handle 133 flower \ In router_multicast.sh line 262: create_mcast_sg $rp1 2001:db8:1::2 ff0e::3 $rp2 $rp3 ^--^ 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: create_mcast_sg "$rp1" 2001:db8:1::2 ff0e::3 "$rp2" "$rp3" In router_multicast.sh line 266: -b 33:33:00:00:00:03 -A 2001:db8:1::2 -B ff0e::3 -q $h1 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: -b 33:33:00:00:00:03 -A 2001:db8:1::2 -B ff0e::3 -q "$h1" In router_multicast.sh line 273: delete_mcast_sg $rp1 2001:db8:1::2 ff0e::3 $rp2 $rp3 ^--^ 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: delete_mcast_sg "$rp1" 2001:db8:1::2 ff0e::3 "$rp2" "$rp3" In router_multicast.sh line 276: -b 33:33:00:00:00:03 -A 2001:db8:1::2 -B ff0e::3 -q $h1 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: -b 33:33:00:00:00:03 -A 2001:db8:1::2 -B ff0e::3 -q "$h1" In router_multicast.sh line 283: tc filter del dev $h3 ingress protocol ipv6 pref 1 handle 133 flower ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter del dev "$h3" ingress protocol ipv6 pref 1 handle 133 flower In router_multicast.sh line 284: tc filter del dev $h2 ingress protocol ipv6 pref 1 handle 122 flower ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter del dev "$h2" ingress protocol ipv6 pref 1 handle 122 flower In router_multicast.sh line 300: tc filter add dev $h1 ingress protocol ip pref 1 handle 1 flower \ ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter add dev "$h1" ingress protocol ip pref 1 handle 1 flower \ In router_multicast.sh line 302: tc filter add dev $h2 ingress protocol ip pref 1 handle 1 flower \ ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter add dev "$h2" ingress protocol ip pref 1 handle 1 flower \ In router_multicast.sh line 304: tc filter add dev $h3 ingress protocol ip pref 1 handle 1 flower \ ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter add dev "$h3" ingress protocol ip pref 1 handle 1 flower \ In router_multicast.sh line 306: tc filter add dev $rp3 ingress protocol ip pref 1 handle 1 flower \ ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter add dev "$rp3" ingress protocol ip pref 1 handle 1 flower \ In router_multicast.sh line 309: create_mcast_sg $rp1 198.51.100.2 225.1.2.3 $rp2 $rp3 ^--^ 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: create_mcast_sg "$rp1" 198.51.100.2 225.1.2.3 "$rp2" "$rp3" In router_multicast.sh line 313: -A 198.51.100.2 -B 225.1.2.3 -q $h1 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: -A 198.51.100.2 -B 225.1.2.3 -q "$h1" In router_multicast.sh line 322: -A 198.51.100.2 -B 225.1.2.3 -q $h3 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: -A 198.51.100.2 -B 225.1.2.3 -q "$h3" In router_multicast.sh line 331: delete_mcast_sg $rp1 198.51.100.2 225.1.2.3 $rp2 $rp3 ^--^ 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: delete_mcast_sg "$rp1" 198.51.100.2 225.1.2.3 "$rp2" "$rp3" In router_multicast.sh line 333: tc filter del dev $rp3 ingress protocol ip pref 1 handle 1 flower ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter del dev "$rp3" ingress protocol ip pref 1 handle 1 flower In router_multicast.sh line 334: tc filter del dev $h3 ingress protocol ip pref 1 handle 1 flower ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter del dev "$h3" ingress protocol ip pref 1 handle 1 flower In router_multicast.sh line 335: tc filter del dev $h2 ingress protocol ip pref 1 handle 1 flower ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter del dev "$h2" ingress protocol ip pref 1 handle 1 flower In router_multicast.sh line 336: tc filter del dev $h1 ingress protocol ip pref 1 handle 1 flower ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter del dev "$h1" ingress protocol ip pref 1 handle 1 flower In router_multicast.sh line 345: tc filter add dev $h1 ingress protocol ipv6 pref 1 handle 1 flower \ ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter add dev "$h1" ingress protocol ipv6 pref 1 handle 1 flower \ In router_multicast.sh line 347: tc filter add dev $h2 ingress protocol ipv6 pref 1 handle 1 flower \ ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter add dev "$h2" ingress protocol ipv6 pref 1 handle 1 flower \ In router_multicast.sh line 349: tc filter add dev $h3 ingress protocol ipv6 pref 1 handle 1 flower \ ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter add dev "$h3" ingress protocol ipv6 pref 1 handle 1 flower \ In router_multicast.sh line 351: tc filter add dev $rp3 ingress protocol ipv6 pref 1 handle 1 flower \ ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter add dev "$rp3" ingress protocol ipv6 pref 1 handle 1 flower \ In router_multicast.sh line 354: create_mcast_sg $rp1 2001:db8:1::2 ff0e::3 $rp2 $rp3 ^--^ 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: create_mcast_sg "$rp1" 2001:db8:1::2 ff0e::3 "$rp2" "$rp3" In router_multicast.sh line 358: -A 2001:db8:1::2 -B ff0e::3 -q $h1 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: -A 2001:db8:1::2 -B ff0e::3 -q "$h1" In router_multicast.sh line 367: -A 2001:db8:1::2 -B ff0e::3 -q $h3 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: -A 2001:db8:1::2 -B ff0e::3 -q "$h3" In router_multicast.sh line 376: delete_mcast_sg $rp1 2001:db8:1::2 ff0e::3 $rp2 $rp3 ^--^ 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: delete_mcast_sg "$rp1" 2001:db8:1::2 ff0e::3 "$rp2" "$rp3" In router_multicast.sh line 378: tc filter del dev $rp3 ingress protocol ipv6 pref 1 handle 1 flower ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter del dev "$rp3" ingress protocol ipv6 pref 1 handle 1 flower In router_multicast.sh line 379: tc filter del dev $h3 ingress protocol ipv6 pref 1 handle 1 flower ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter del dev "$h3" ingress protocol ipv6 pref 1 handle 1 flower In router_multicast.sh line 380: tc filter del dev $h2 ingress protocol ipv6 pref 1 handle 1 flower ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter del dev "$h2" ingress protocol ipv6 pref 1 handle 1 flower In router_multicast.sh line 381: tc filter del dev $h1 ingress protocol ipv6 pref 1 handle 1 flower ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter del dev "$h1" ingress protocol ipv6 pref 1 handle 1 flower In router_multicast.sh line 396: tc filter add dev $h2 ingress protocol ip pref 1 handle 1 flower \ ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter add dev "$h2" ingress protocol ip pref 1 handle 1 flower \ In router_multicast.sh line 398: tc filter add dev $h3 ingress protocol ip pref 1 handle 1 flower \ ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter add dev "$h3" ingress protocol ip pref 1 handle 1 flower \ In router_multicast.sh line 404: -A 198.51.100.2 -B 225.1.2.3 -q $h1 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: -A 198.51.100.2 -B 225.1.2.3 -q "$h1" In router_multicast.sh line 412: create_mcast_sg $rp1 0.0.0.0 225.1.2.3 $rp2 $rp3 ^--^ 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: create_mcast_sg "$rp1" 0.0.0.0 225.1.2.3 "$rp2" "$rp3" In router_multicast.sh line 416: -A 198.51.100.2 -B 225.1.2.3 -q $h1 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: -A 198.51.100.2 -B 225.1.2.3 -q "$h1" In router_multicast.sh line 423: delete_mcast_sg $rp1 0.0.0.0 225.1.2.3 $rp2 $rp3 ^--^ 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: delete_mcast_sg "$rp1" 0.0.0.0 225.1.2.3 "$rp2" "$rp3" In router_multicast.sh line 425: tc filter del dev $h3 ingress protocol ip pref 1 handle 1 flower ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter del dev "$h3" ingress protocol ip pref 1 handle 1 flower In router_multicast.sh line 426: tc filter del dev $h2 ingress protocol ip pref 1 handle 1 flower ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter del dev "$h2" ingress protocol ip pref 1 handle 1 flower In router_multicast.sh line 441: tc filter add dev $h2 ingress protocol ipv6 pref 1 handle 1 flower \ ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter add dev "$h2" ingress protocol ipv6 pref 1 handle 1 flower \ In router_multicast.sh line 443: tc filter add dev $h3 ingress protocol ipv6 pref 1 handle 1 flower \ ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter add dev "$h3" ingress protocol ipv6 pref 1 handle 1 flower \ In router_multicast.sh line 449: -A 2001:db8:1::2 -B ff0e::3 -q $h1 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: -A 2001:db8:1::2 -B ff0e::3 -q "$h1" In router_multicast.sh line 457: create_mcast_sg $rp1 :: ff0e::3 $rp2 $rp3 ^--^ 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: create_mcast_sg "$rp1" :: ff0e::3 "$rp2" "$rp3" In router_multicast.sh line 461: -A 2001:db8:1::2 -B ff0e::3 -q $h1 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: -A 2001:db8:1::2 -B ff0e::3 -q "$h1" In router_multicast.sh line 468: delete_mcast_sg $rp1 :: ff0e::3 $rp2 $rp3 ^--^ 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: delete_mcast_sg "$rp1" :: ff0e::3 "$rp2" "$rp3" In router_multicast.sh line 470: tc filter del dev $h3 ingress protocol ipv6 pref 1 handle 1 flower ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter del dev "$h3" ingress protocol ipv6 pref 1 handle 1 flower In router_multicast.sh line 471: tc filter del dev $h2 ingress protocol ipv6 pref 1 handle 1 flower ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter del dev "$h2" ingress protocol ipv6 pref 1 handle 1 flower In router_multicast.sh line 483: 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/SC2119 -- Use adf_mcd_start "$@" if functio... Checking tools/testing/selftests/net/forwarding/router_multipath.sh - a0e66bf90dcc7ad3a5fecc851374ca1fd8554e32cf4df9bddab6ad8ccee99e89 In router_multipath.sh line 11: ip link set dev $h1 master vrf-h1 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link set dev "$h1" master vrf-h1 In router_multipath.sh line 14: ip link set dev $h1 up ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link set dev "$h1" up In router_multipath.sh line 16: ip address add 192.0.2.2/24 dev $h1 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip address add 192.0.2.2/24 dev "$h1" In router_multipath.sh line 17: ip address add 2001:db8:1::2/64 dev $h1 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip address add 2001:db8:1::2/64 dev "$h1" In router_multipath.sh line 28: ip address del 2001:db8:1::2/64 dev $h1 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip address del 2001:db8:1::2/64 dev "$h1" In router_multipath.sh line 29: ip address del 192.0.2.2/24 dev $h1 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip address del 192.0.2.2/24 dev "$h1" In router_multipath.sh line 31: ip link set dev $h1 down ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link set dev "$h1" down In router_multipath.sh line 38: ip link set dev $h2 master vrf-h2 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link set dev "$h2" master vrf-h2 In router_multipath.sh line 41: ip link set dev $h2 up ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link set dev "$h2" up In router_multipath.sh line 43: ip address add 198.51.100.2/24 dev $h2 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip address add 198.51.100.2/24 dev "$h2" In router_multipath.sh line 44: ip address add 2001:db8:2::2/64 dev $h2 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip address add 2001:db8:2::2/64 dev "$h2" In router_multipath.sh line 55: ip address del 2001:db8:2::2/64 dev $h2 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip address del 2001:db8:2::2/64 dev "$h2" In router_multipath.sh line 56: ip address del 198.51.100.2/24 dev $h2 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip address del 198.51.100.2/24 dev "$h2" In router_multipath.sh line 58: ip link set dev $h2 down ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link set dev "$h2" down In router_multipath.sh line 65: ip link set dev $rp11 master vrf-r1 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link set dev "$rp11" master vrf-r1 In router_multipath.sh line 66: ip link set dev $rp12 master vrf-r1 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link set dev "$rp12" master vrf-r1 In router_multipath.sh line 67: ip link set dev $rp13 master vrf-r1 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link set dev "$rp13" master vrf-r1 In router_multipath.sh line 70: ip link set dev $rp11 up ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link set dev "$rp11" up In router_multipath.sh line 71: ip link set dev $rp12 up ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link set dev "$rp12" up In router_multipath.sh line 72: ip link set dev $rp13 up ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link set dev "$rp13" up In router_multipath.sh line 74: ip address add 192.0.2.1/24 dev $rp11 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip address add 192.0.2.1/24 dev "$rp11" In router_multipath.sh line 75: ip address add 2001:db8:1::1/64 dev $rp11 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip address add 2001:db8:1::1/64 dev "$rp11" In router_multipath.sh line 77: ip address add 169.254.2.12/24 dev $rp12 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip address add 169.254.2.12/24 dev "$rp12" In router_multipath.sh line 78: ip address add fe80:2::12/64 dev $rp12 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip address add fe80:2::12/64 dev "$rp12" In router_multipath.sh line 80: ip address add 169.254.3.13/24 dev $rp13 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip address add 169.254.3.13/24 dev "$rp13" In router_multipath.sh line 81: ip address add fe80:3::13/64 dev $rp13 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip address add fe80:3::13/64 dev "$rp13" In router_multipath.sh line 84: nexthop via 169.254.2.22 dev $rp12 \ ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: nexthop via 169.254.2.22 dev "$rp12" \ In router_multipath.sh line 85: nexthop via 169.254.3.23 dev $rp13 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: nexthop via 169.254.3.23 dev "$rp13" In router_multipath.sh line 87: nexthop via fe80:2::22 dev $rp12 \ ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: nexthop via fe80:2::22 dev "$rp12" \ In router_multipath.sh line 88: nexthop via fe80:3::23 dev $rp13 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: nexthop via fe80:3::23 dev "$rp13" In router_multipath.sh line 96: ip address del fe80:3::13/64 dev $rp13 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip address del fe80:3::13/64 dev "$rp13" In router_multipath.sh line 97: ip address del 169.254.3.13/24 dev $rp13 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip address del 169.254.3.13/24 dev "$rp13" In router_multipath.sh line 99: ip address del fe80:2::12/64 dev $rp12 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip address del fe80:2::12/64 dev "$rp12" In router_multipath.sh line 100: ip address del 169.254.2.12/24 dev $rp12 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip address del 169.254.2.12/24 dev "$rp12" In router_multipath.sh line 102: ip address del 2001:db8:1::1/64 dev $rp11 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip address del 2001:db8:1::1/64 dev "$rp11" In router_multipath.sh line 103: ip address del 192.0.2.1/24 dev $rp11 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip address del 192.0.2.1/24 dev "$rp11" In router_multipath.sh line 105: ip link set dev $rp13 down ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link set dev "$rp13" down In router_multipath.sh line 106: ip link set dev $rp12 down ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link set dev "$rp12" down In router_multipath.sh line 107: ip link set dev $rp11 down ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link set dev "$rp11" down In router_multipath.sh line 115: ip link set dev $rp21 master vrf-r2 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link set dev "$rp21" master vrf-r2 In router_multipath.sh line 116: ip link set dev $rp22 master vrf-r2 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link set dev "$rp22" master vrf-r2 In router_multipath.sh line 117: ip link set dev $rp23 master vrf-r2 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link set dev "$rp23" master vrf-r2 In router_multipath.sh line 120: ip link set dev $rp21 up ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link set dev "$rp21" up In router_multipath.sh line 121: ip link set dev $rp22 up ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link set dev "$rp22" up In router_multipath.sh line 122: ip link set dev $rp23 up ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link set dev "$rp23" up In router_multipath.sh line 124: ip address add 198.51.100.1/24 dev $rp21 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip address add 198.51.100.1/24 dev "$rp21" In router_multipath.sh line 125: ip address add 2001:db8:2::1/64 dev $rp21 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip address add 2001:db8:2::1/64 dev "$rp21" In router_multipath.sh line 127: ip address add 169.254.2.22/24 dev $rp22 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip address add 169.254.2.22/24 dev "$rp22" In router_multipath.sh line 128: ip address add fe80:2::22/64 dev $rp22 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip address add fe80:2::22/64 dev "$rp22" In router_multipath.sh line 130: ip address add 169.254.3.23/24 dev $rp23 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip address add 169.254.3.23/24 dev "$rp23" In router_multipath.sh line 131: ip address add fe80:3::23/64 dev $rp23 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip address add fe80:3::23/64 dev "$rp23" In router_multipath.sh line 134: nexthop via 169.254.2.12 dev $rp22 \ ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: nexthop via 169.254.2.12 dev "$rp22" \ In router_multipath.sh line 135: nexthop via 169.254.3.13 dev $rp23 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: nexthop via 169.254.3.13 dev "$rp23" In router_multipath.sh line 137: nexthop via fe80:2::12 dev $rp22 \ ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: nexthop via fe80:2::12 dev "$rp22" \ In router_multipath.sh line 138: nexthop via fe80:3::13 dev $rp23 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: nexthop via fe80:3::13 dev "$rp23" In router_multipath.sh line 146: ip address del fe80:3::23/64 dev $rp23 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip address del fe80:3::23/64 dev "$rp23" In router_multipath.sh line 147: ip address del 169.254.3.23/24 dev $rp23 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip address del 169.254.3.23/24 dev "$rp23" In router_multipath.sh line 149: ip address del fe80:2::22/64 dev $rp22 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip address del fe80:2::22/64 dev "$rp22" In router_multipath.sh line 150: ip address del 169.254.2.22/24 dev $rp22 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip address del 169.254.2.22/24 dev "$rp22" In router_multipath.sh line 152: ip address del 2001:db8:2::1/64 dev $rp21 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip address del 2001:db8:2::1/64 dev "$rp21" In router_multipath.sh line 153: ip address del 198.51.100.1/24 dev $rp21 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip address del 198.51.100.1/24 dev "$rp21" In router_multipath.sh line 155: ip link set dev $rp23 down ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link set dev "$rp23" down In router_multipath.sh line 156: ip link set dev $rp22 down ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link set dev "$rp22" down In router_multipath.sh line 157: ip link set dev $rp21 down ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link set dev "$rp21" down In router_multipath.sh line 175: nexthop via 169.254.2.22 dev $rp12 weight $weight_rp12 \ ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. ^----------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: nexthop via 169.254.2.22 dev "$rp12" weight "$weight_rp12" \ In router_multipath.sh line 176: nexthop via 169.254.3.23 dev $rp13 weight $weight_rp13 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. ^----------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: nexthop via 169.254.3.23 dev "$rp13" weight "$weight_rp13" In router_multipath.sh line 178: t0_rp12=$(link_stats_tx_packets_get $rp12) ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: t0_rp12=$(link_stats_tx_packets_get "$rp12") In router_multipath.sh line 179: t0_rp13=$(link_stats_tx_packets_get $rp13) ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: t0_rp13=$(link_stats_tx_packets_get "$rp13") In router_multipath.sh line 181: ip vrf exec vrf-h1 $MZ -q -p 64 -A 192.0.2.2 -B 198.51.100.2 \ ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip vrf exec vrf-h1 "$MZ" -q -p 64 -A 192.0.2.2 -B 198.51.100.2 \ In router_multipath.sh line 182: -d $MZ_DELAY -t udp $h1"sp=1024,dp=0-32768" ^-------^ SC2086 (info): Double quote to prevent globbing and word splitting. ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: -d "$MZ_DELAY" -t udp "$h1""sp=1024,dp=0-32768" In router_multipath.sh line 185: t1_rp12=$(link_stats_tx_packets_get $rp12) ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: t1_rp12=$(link_stats_tx_packets_get "$rp12") In router_multipath.sh line 186: t1_rp13=$(link_stats_tx_packets_get $rp13) ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: t1_rp13=$(link_stats_tx_packets_get "$rp13") In router_multipath.sh line 188: let "packets_rp12 = $t1_rp12 - $t0_rp12" ^-- SC2219 (style): Instead of 'let expr', prefer (( expr )) . In router_multipath.sh line 189: let "packets_rp13 = $t1_rp13 - $t0_rp13" ^-- SC2219 (style): Instead of 'let expr', prefer (( expr )) . In router_multipath.sh line 190: multipath_eval "$desc" $weight_rp12 $weight_rp13 $packets_rp12 $packets_rp13 ^----------^ 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 "$desc" "$weight_rp12" "$weight_rp13" "$packets_rp12" "$packets_rp13" In router_multipath.sh line 194: nexthop via 169.254.2.22 dev $rp12 \ ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: nexthop via 169.254.2.22 dev "$rp12" \ In router_multipath.sh line 195: nexthop via 169.254.3.23 dev $rp13 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: nexthop via 169.254.3.23 dev "$rp13" In router_multipath.sh line 213: nexthop via fe80:2::22 dev $rp12 weight $weight_rp12 \ ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. ^----------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: nexthop via fe80:2::22 dev "$rp12" weight "$weight_rp12" \ In router_multipath.sh line 214: nexthop via fe80:3::23 dev $rp13 weight $weight_rp13 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. ^----------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: nexthop via fe80:3::23 dev "$rp13" weight "$weight_rp13" In router_multipath.sh line 216: t0_rp12=$(link_stats_tx_packets_get $rp12) ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: t0_rp12=$(link_stats_tx_packets_get "$rp12") In router_multipath.sh line 217: t0_rp13=$(link_stats_tx_packets_get $rp13) ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: t0_rp13=$(link_stats_tx_packets_get "$rp13") In router_multipath.sh line 220: -d $MZ_DELAY -t udp $h1 "sp=1024,dp=0-32768" ^-------^ SC2086 (info): Double quote to prevent globbing and word splitting. ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: -d "$MZ_DELAY" -t udp "$h1" "sp=1024,dp=0-32768" In router_multipath.sh line 223: t1_rp12=$(link_stats_tx_packets_get $rp12) ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: t1_rp12=$(link_stats_tx_packets_get "$rp12") In router_multipath.sh line 224: t1_rp13=$(link_stats_tx_packets_get $rp13) ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: t1_rp13=$(link_stats_tx_packets_get "$rp13") In router_multipath.sh line 226: let "packets_rp12 = $t1_rp12 - $t0_rp12" ^-- SC2219 (style): Instead of 'let expr', prefer (( expr )) . In router_multipath.sh line 227: let "packets_rp13 = $t1_rp13 - $t0_rp13" ^-- SC2219 (style): Instead of 'let expr', prefer (( expr )) . In router_multipath.sh line 228: multipath_eval "$desc" $weight_rp12 $weight_rp13 $packets_rp12 $packets_rp13 ^----------^ 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 "$desc" "$weight_rp12" "$weight_rp13" "$packets_rp12" "$packets_rp13" In router_multipath.sh line 231: nexthop via fe80:2::22 dev $rp12 \ ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: nexthop via fe80:2::22 dev "$rp12" \ In router_multipath.sh line 232: nexthop via fe80:3::23 dev $rp13 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: nexthop via fe80:3::23 dev "$rp13" In router_multipath.sh line 292: ping_test $h1 198.51.100.2 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ping_test "$h1" 198.51.100.2 In router_multipath.sh line 297: 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 router_multipath.sh line 307: 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/SC2219 -- Instead of 'let expr', prefer (( ... Checking tools/testing/selftests/net/forwarding/sch_red.sh - b974d6ed50fb0f56318fae59a2628612b268dbe080393d0ce1a7bcacbbcc561b In sch_red.sh line 55: simple_if_init $h1 192.0.2.1/28 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: simple_if_init "$h1" 192.0.2.1/28 In sch_red.sh line 56: defer simple_if_fini $h1 192.0.2.1/28 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: defer simple_if_fini "$h1" 192.0.2.1/28 In sch_red.sh line 58: mtu_set $h1 10000 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: mtu_set "$h1" 10000 In sch_red.sh line 59: defer mtu_restore $h1 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: defer mtu_restore "$h1" In sch_red.sh line 61: tc qdisc replace dev $h1 root handle 1: tbf \ ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc qdisc replace dev "$h1" root handle 1: tbf \ In sch_red.sh line 63: defer tc qdisc del dev $h1 root ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: defer tc qdisc del dev "$h1" root In sch_red.sh line 68: simple_if_init $h2 192.0.2.2/28 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: simple_if_init "$h2" 192.0.2.2/28 In sch_red.sh line 69: defer simple_if_fini $h2 192.0.2.2/28 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: defer simple_if_fini "$h2" 192.0.2.2/28 In sch_red.sh line 71: mtu_set $h2 10000 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: mtu_set "$h2" 10000 In sch_red.sh line 72: defer mtu_restore $h2 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: defer mtu_restore "$h2" In sch_red.sh line 77: simple_if_init $h3 192.0.2.3/28 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: simple_if_init "$h3" 192.0.2.3/28 In sch_red.sh line 78: defer simple_if_fini $h3 192.0.2.3/28 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: defer simple_if_fini "$h3" 192.0.2.3/28 In sch_red.sh line 80: mtu_set $h3 10000 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: mtu_set "$h3" 10000 In sch_red.sh line 81: defer mtu_restore $h3 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: defer mtu_restore "$h3" In sch_red.sh line 89: ip link set dev $swp1 up master br ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link set dev "$swp1" up master br In sch_red.sh line 90: defer ip link set dev $swp1 down nomaster ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: defer ip link set dev "$swp1" down nomaster In sch_red.sh line 92: ip link set dev $swp2 up master br ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link set dev "$swp2" up master br In sch_red.sh line 93: defer ip link set dev $swp2 down nomaster ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: defer ip link set dev "$swp2" down nomaster In sch_red.sh line 95: ip link set dev $swp3 up master br ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link set dev "$swp3" up master br In sch_red.sh line 96: defer ip link set dev $swp3 down nomaster ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: defer ip link set dev "$swp3" down nomaster In sch_red.sh line 98: mtu_set $swp1 10000 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: mtu_set "$swp1" 10000 In sch_red.sh line 99: defer mtu_restore $h1 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: defer mtu_restore "$h1" In sch_red.sh line 101: mtu_set $swp2 10000 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: mtu_set "$swp2" 10000 In sch_red.sh line 102: defer mtu_restore $h2 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: defer mtu_restore "$h2" In sch_red.sh line 104: mtu_set $swp3 10000 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: mtu_set "$swp3" 10000 In sch_red.sh line 105: defer mtu_restore $h3 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: defer mtu_restore "$h3" In sch_red.sh line 107: tc qdisc replace dev $swp3 root handle 1: tbf \ ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc qdisc replace dev "$swp3" root handle 1: tbf \ In sch_red.sh line 109: defer tc qdisc del dev $swp3 root ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: defer tc qdisc del dev "$swp3" root In sch_red.sh line 126: h3_mac=$(mac_get $h3) ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: h3_mac=$(mac_get "$h3") In sch_red.sh line 139: ping_test $h1 192.0.2.3 " from host 1" ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ping_test "$h1" 192.0.2.3 " from host 1" In sch_red.sh line 140: ping_test $h2 192.0.2.3 " from host 2" ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ping_test "$h2" 192.0.2.3 " from host 2" In sch_red.sh line 145: qdisc_stats_get $swp3 11: .backlog ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: qdisc_stats_get "$swp3" 11: .backlog In sch_red.sh line 150: qdisc_stats_get $swp3 11: .marked ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: qdisc_stats_get "$swp3" 11: .marked In sch_red.sh line 155: qdisc_stats_get $swp3 11: .packets ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: qdisc_stats_get "$swp3" 11: .packets In sch_red.sh line 168: $MZ -p $PKTSZ -a own -b $h3_mac -A 192.0.2.2 -B 192.0.2.3 -t $proto -q -c $pkts $h2 "$@" ^----^ 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 -p "$PKTSZ" -a own -b "$h3_mac" -A 192.0.2.2 -B 192.0.2.3 -t "$proto" -q -c "$pkts" "$h2" "$@" In sch_red.sh line 182: local cur=$(get_qdisc_backlog) ^-^ SC2155 (warning): Declare and assign separately to avoid masking return values. In sch_red.sh line 187: echo $cur ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: echo "$cur" In sch_red.sh line 190: echo $cur ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: echo "$cur" In sch_red.sh line 194: send_packets $proto $pkts "$@" ^----^ SC2086 (info): Double quote to prevent globbing and word splitting. ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: send_packets "$proto" "$pkts" "$@" In sch_red.sh line 203: local npackets_0=$(get_qdisc_npackets) ^--------^ SC2155 (warning): Declare and assign separately to avoid masking return values. In sch_red.sh line 204: local nmarked_0=$(get_nmarked) ^-------^ SC2155 (warning): Declare and assign separately to avoid masking return values. In sch_red.sh line 206: local npackets_1=$(get_qdisc_npackets) ^--------^ SC2155 (warning): Declare and assign separately to avoid masking return values. In sch_red.sh line 207: local nmarked_1=$(get_nmarked) ^-------^ SC2155 (warning): Declare and assign separately to avoid masking return values. In sch_red.sh line 213: echo $pct ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: echo "$pct" In sch_red.sh line 214: ((pct $cond)) ^-- SC1105 (error): Shells disambiguate (( differently or not at all. For subshell, add spaces around ( . For ((, fix parsing errors. ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ((pct "$cond")) In sch_red.sh line 221: local npackets_0=$(get_qdisc_npackets) ^--------^ SC2155 (warning): Declare and assign separately to avoid masking return values. In sch_red.sh line 222: local nmirrored_0=$(get_nmirrored) ^---------^ SC2155 (warning): Declare and assign separately to avoid masking return values. In sch_red.sh line 224: local npackets_1=$(get_qdisc_npackets) ^--------^ SC2155 (warning): Declare and assign separately to avoid masking return values. In sch_red.sh line 225: local nmirrored_1=$(get_nmirrored) ^---------^ SC2155 (warning): Declare and assign separately to avoid masking return values. In sch_red.sh line 231: echo $pct ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: echo "$pct" In sch_red.sh line 232: ((pct $cond)) ^-- SC1105 (error): Shells disambiguate (( differently or not at all. For subshell, add spaces around ( . For ((, fix parsing errors. ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ((pct "$cond")) In sch_red.sh line 269: $MZ -p $PKTSZ -A 192.0.2.1 -B 192.0.2.3 -c 0 \ ^----^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: $MZ -p "$PKTSZ" -A 192.0.2.1 -B 192.0.2.3 -c 0 \ In sch_red.sh line 270: -a own -b $h3_mac -t tcp -q $h1 tos=0x01 & ^-----^ SC2086 (info): Double quote to prevent globbing and word splitting. ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: -a own -b "$h3_mac" -t tcp -q "$h1" tos=0x01 & In sch_red.sh line 274: ecn_test_common "$name" $limit ^----^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ecn_test_common "$name" "$limit" In sch_red.sh line 290: $MZ -p $PKTSZ -A 192.0.2.1 -B 192.0.2.3 -c 0 \ ^----^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: $MZ -p "$PKTSZ" -A 192.0.2.1 -B 192.0.2.3 -c 0 \ In sch_red.sh line 291: -a own -b $h3_mac -t tcp -q $h1 tos=0x01 & ^-----^ SC2086 (info): Double quote to prevent globbing and word splitting. ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: -a own -b "$h3_mac" -t tcp -q "$h1" tos=0x01 & In sch_red.sh line 295: ecn_test_common "$name" $limit ^----^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ecn_test_common "$name" "$limit" In sch_red.sh line 314: $MZ -p $PKTSZ -A 192.0.2.1 -B 192.0.2.3 -c 0 \ ^----^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: $MZ -p "$PKTSZ" -A 192.0.2.1 -B 192.0.2.3 -c 0 \ In sch_red.sh line 315: -a own -b $h3_mac -t tcp -q $h1 tos=0x01 & ^-----^ SC2086 (info): Double quote to prevent globbing and word splitting. ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: -a own -b "$h3_mac" -t tcp -q "$h1" tos=0x01 & In sch_red.sh line 345: $MZ -p $PKTSZ -A 192.0.2.1 -B 192.0.2.3 -c 0 \ ^----^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: $MZ -p "$PKTSZ" -A 192.0.2.1 -B 192.0.2.3 -c 0 \ In sch_red.sh line 346: -a own -b $h3_mac -t udp -q $h1 & ^-----^ SC2086 (info): Double quote to prevent globbing and word splitting. ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: -a own -b "$h3_mac" -t udp -q "$h1" & In sch_red.sh line 384: $MZ -p $PKTSZ -A 192.0.2.1 -B 192.0.2.3 -c 0 \ ^----^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: $MZ -p "$PKTSZ" -A 192.0.2.1 -B 192.0.2.3 -c 0 \ In sch_red.sh line 385: -a own -b $h3_mac -t tcp -q tos=0x01 $h1 & ^-----^ SC2086 (info): Double quote to prevent globbing and word splitting. ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: -a own -b "$h3_mac" -t tcp -q tos=0x01 "$h1" & In sch_red.sh line 411: tc qdisc replace dev $swp3 parent 1:1 handle 11: red \ ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc qdisc replace dev "$swp3" parent 1:1 handle 11: red \ In sch_red.sh line 412: limit 1M avpkt $PKTSZ probability 1 \ ^----^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: limit 1M avpkt "$PKTSZ" probability 1 \ In sch_red.sh line 413: min $BACKLOG max $((BACKLOG + 1)) burst 38 "${args[@]}" ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: min "$BACKLOG" max $((BACKLOG + 1)) burst 38 "${args[@]}" In sch_red.sh line 419: tc qdisc del dev $swp3 parent 1:1 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc qdisc del dev "$swp3" parent 1:1 In sch_red.sh line 426: xfail_on_slow do_ecn_test $BACKLOG ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: xfail_on_slow do_ecn_test "$BACKLOG" In sch_red.sh line 433: xfail_on_slow do_ecn_nodrop_test $BACKLOG ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: xfail_on_slow do_ecn_nodrop_test "$BACKLOG" In sch_red.sh line 440: xfail_on_slow do_red_test $BACKLOG ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: xfail_on_slow do_red_test "$BACKLOG" In sch_red.sh line 447: xfail_on_slow do_red_qevent_test $BACKLOG ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: xfail_on_slow do_red_qevent_test "$BACKLOG" In sch_red.sh line 454: xfail_on_slow do_ecn_qevent_test $BACKLOG ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: xfail_on_slow do_ecn_qevent_test "$BACKLOG" In sch_red.sh line 464: 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/SC1105 -- Shells disambiguate (( differentl... https://www.shellcheck.net/wiki/SC2155 -- Declare and assign separately to ... https://www.shellcheck.net/wiki/SC2086 -- Double quote to prevent globbing ... Checking tools/testing/selftests/net/forwarding/skbedit_priority.sh - 5eb23473d810f5a1a77102df1d3f9a253d0dfb76e150d81a84b08f5ce006aa26 In skbedit_priority.sh line 33: : ${HIT_TIMEOUT:=2000} # ms ^------------------^ SC2223 (info): This default assignment may cause DoS due to globbing. Quote it. In skbedit_priority.sh line 37: simple_if_init $h1 192.0.2.1/28 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: simple_if_init "$h1" 192.0.2.1/28 In skbedit_priority.sh line 42: 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 skbedit_priority.sh line 47: simple_if_init $h2 192.0.2.2/28 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: simple_if_init "$h2" 192.0.2.2/28 In skbedit_priority.sh line 52: simple_if_fini $h2 192.0.2.2/28 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: simple_if_fini "$h2" 192.0.2.2/28 In skbedit_priority.sh line 60: 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 skbedit_priority.sh line 61: 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 skbedit_priority.sh line 62: 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 skbedit_priority.sh line 63: 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 skbedit_priority.sh line 65: tc qdisc add dev $swp1 clsact ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc qdisc add dev "$swp1" clsact In skbedit_priority.sh line 66: 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 skbedit_priority.sh line 67: tc qdisc add dev $swp2 root handle 10: \ ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc qdisc add dev "$swp2" root handle 10: \ In skbedit_priority.sh line 73: tc qdisc del dev $swp2 root ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc qdisc del dev "$swp2" root In skbedit_priority.sh line 74: 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 skbedit_priority.sh line 75: tc qdisc del dev $swp1 clsact ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc qdisc del dev "$swp1" clsact In skbedit_priority.sh line 77: 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 skbedit_priority.sh line 78: 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 skbedit_priority.sh line 79: 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 skbedit_priority.sh line 80: 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 skbedit_priority.sh line 92: h2mac=$(mac_get $h2) ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: h2mac=$(mac_get "$h2") In skbedit_priority.sh line 112: ping_test $h1 192.0.2.2 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ping_test "$h1" 192.0.2.2 In skbedit_priority.sh line 123: tc filter add $locus handle 101 pref 1 \ ^----^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter add "$locus" handle 101 pref 1 \ In skbedit_priority.sh line 124: flower action skbedit priority $prio ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: flower action skbedit priority "$prio" In skbedit_priority.sh line 126: local pkt0=$(qdisc_parent_stats_get $swp2 $classid .packets) ^--^ SC2155 (warning): Declare and assign separately to avoid masking return values. ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: local pkt0=$(qdisc_parent_stats_get "$swp2" "$classid" .packets) In skbedit_priority.sh line 127: local pkt2=$(tc_rule_handle_stats_get "$locus" 101) ^--^ SC2155 (warning): Declare and assign separately to avoid masking return values. In skbedit_priority.sh line 129: -a own -b $h2mac -A 192.0.2.1 -B 192.0.2.2 -q $h1 "sp=54321,dp=12345" ^----^ SC2086 (info): Double quote to prevent globbing and word splitting. ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: -a own -b "$h2mac" -A 192.0.2.1 -B 192.0.2.2 -q "$h1" "sp=54321,dp=12345" In skbedit_priority.sh line 133: qdisc_parent_stats_get $swp2 $classid .packets) ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: qdisc_parent_stats_get "$swp2" "$classid" .packets) In skbedit_priority.sh line 136: local pkt3=$(tc_rule_handle_stats_get "$locus" 101) ^--^ SC2155 (warning): Declare and assign separately to avoid masking return values. In skbedit_priority.sh line 142: tc filter del $locus pref 1 ^----^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter del "$locus" pref 1 In skbedit_priority.sh line 151: $prio 10:$((8 - prio)) ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: "$prio" 10:$((8 - prio)) In skbedit_priority.sh line 161: $prio 10:$((8 - prio)) ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: "$prio" 10:$((8 - prio)) In skbedit_priority.sh line 172: 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/SC2223 -- This default assignment may cause... Checking tools/testing/selftests/net/forwarding/tc_actions.sh - 214989032c111433771d451139a9586e0e9bbbdbef2ff7a65015fbb75e1f71b6 In tc_actions.sh line 19: simple_if_init $h1 192.0.2.1/24 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: simple_if_init "$h1" 192.0.2.1/24 In tc_actions.sh line 20: tc qdisc add dev $h1 clsact ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc qdisc add dev "$h1" clsact In tc_actions.sh line 25: tc qdisc del dev $h1 clsact ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc qdisc del dev "$h1" clsact In tc_actions.sh line 26: simple_if_fini $h1 192.0.2.1/24 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: simple_if_fini "$h1" 192.0.2.1/24 In tc_actions.sh line 31: simple_if_init $h2 192.0.2.2/24 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: simple_if_init "$h2" 192.0.2.2/24 In tc_actions.sh line 32: tc qdisc add dev $h2 clsact ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc qdisc add dev "$h2" clsact In tc_actions.sh line 37: tc qdisc del dev $h2 clsact ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc qdisc del dev "$h2" clsact In tc_actions.sh line 38: simple_if_fini $h2 192.0.2.2/24 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: simple_if_fini "$h2" 192.0.2.2/24 In tc_actions.sh line 43: simple_if_init $swp1 192.0.2.2/24 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: simple_if_init "$swp1" 192.0.2.2/24 In tc_actions.sh line 44: tc qdisc add dev $swp1 clsact ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc qdisc add dev "$swp1" clsact In tc_actions.sh line 46: simple_if_init $swp2 192.0.2.1/24 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: simple_if_init "$swp2" 192.0.2.1/24 In tc_actions.sh line 51: simple_if_fini $swp2 192.0.2.1/24 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: simple_if_fini "$swp2" 192.0.2.1/24 In tc_actions.sh line 53: tc qdisc del dev $swp1 clsact ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc qdisc del dev "$swp1" clsact In tc_actions.sh line 54: simple_if_fini $swp1 192.0.2.2/24 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: simple_if_fini "$swp1" 192.0.2.2/24 In tc_actions.sh line 66: tc filter add dev $h2 ingress protocol ip pref 1 handle 101 flower \ ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter add dev "$h2" ingress protocol ip pref 1 handle 101 flower \ In tc_actions.sh line 69: $MZ -c 1 -p 64 -a $h1mac -b $h2mac -A 192.0.2.1 -B 192.0.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 -c 1 -p 64 -a "$h1mac" -b "$h2mac" -A 192.0.2.1 -B 192.0.2.2 \ In tc_actions.sh line 70: -t ip -q $h1 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: -t ip -q "$h1" In tc_actions.sh line 75: tc filter add dev $swp1 ingress protocol $protocol pref 1 handle 101 \ ^---^ 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 "$swp1" ingress protocol "$protocol" pref 1 handle 101 \ In tc_actions.sh line 76: $classifier $tcflags $classifier_args \ ^---------^ 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: "$classifier" "$tcflags" "$classifier_args" \ In tc_actions.sh line 77: action mirred egress $action dev $swp2 ^-----^ SC2086 (info): Double quote to prevent globbing and word splitting. ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: action mirred egress "$action" dev "$swp2" In tc_actions.sh line 79: $MZ -c 1 -p 64 -a $h1mac -b $h2mac -A 192.0.2.1 -B 192.0.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 -c 1 -p 64 -a "$h1mac" -b "$h2mac" -A 192.0.2.1 -B 192.0.2.2 \ In tc_actions.sh line 80: -t ip -q $h1 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: -t ip -q "$h1" In tc_actions.sh line 85: tc filter del dev $swp1 ingress protocol $protocol pref 1 handle 101 \ ^---^ 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 "$swp1" ingress protocol "$protocol" pref 1 handle 101 \ In tc_actions.sh line 86: $classifier ^---------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: "$classifier" In tc_actions.sh line 87: tc filter del dev $h2 ingress protocol ip pref 1 handle 101 flower ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter del dev "$h2" ingress protocol ip pref 1 handle 101 flower In tc_actions.sh line 96: tc filter add dev $swp1 ingress protocol ip pref 2 handle 102 flower \ ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter add dev "$swp1" ingress protocol ip pref 2 handle 102 flower \ In tc_actions.sh line 97: $tcflags dst_ip 192.0.2.2 action drop ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: "$tcflags" dst_ip 192.0.2.2 action drop In tc_actions.sh line 99: $MZ -c 1 -p 64 -a $h1mac -b $h2mac -A 192.0.2.1 -B 192.0.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 -c 1 -p 64 -a "$h1mac" -b "$h2mac" -A 192.0.2.1 -B 192.0.2.2 \ In tc_actions.sh line 100: -t ip -q $h1 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: -t ip -q "$h1" In tc_actions.sh line 105: tc filter add dev $swp1 ingress protocol ip pref 1 handle 101 flower \ ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter add dev "$swp1" ingress protocol ip pref 1 handle 101 flower \ In tc_actions.sh line 106: $tcflags dst_ip 192.0.2.2 action ok ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: "$tcflags" dst_ip 192.0.2.2 action ok In tc_actions.sh line 108: $MZ -c 1 -p 64 -a $h1mac -b $h2mac -A 192.0.2.1 -B 192.0.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 -c 1 -p 64 -a "$h1mac" -b "$h2mac" -A 192.0.2.1 -B 192.0.2.2 \ In tc_actions.sh line 109: -t ip -q $h1 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: -t ip -q "$h1" In tc_actions.sh line 117: tc filter del dev $swp1 ingress protocol ip pref 2 handle 102 flower ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter del dev "$swp1" ingress protocol ip pref 2 handle 102 flower In tc_actions.sh line 118: tc filter del dev $swp1 ingress protocol ip pref 1 handle 101 flower ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter del dev "$swp1" ingress protocol ip pref 1 handle 101 flower In tc_actions.sh line 131: tc filter add dev $swp1 ingress protocol ip pref 1 handle 101 flower \ ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter add dev "$swp1" ingress protocol ip pref 1 handle 101 flower \ In tc_actions.sh line 133: tc filter add dev $swp1 ingress protocol ip pref 3 handle 103 flower \ ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter add dev "$swp1" ingress protocol ip pref 3 handle 103 flower \ In tc_actions.sh line 134: $tcflags dst_ip 192.0.2.2 action mirred egress redirect \ ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: "$tcflags" dst_ip 192.0.2.2 action mirred egress redirect \ In tc_actions.sh line 135: dev $swp2 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: dev "$swp2" In tc_actions.sh line 137: $MZ -c 1 -p 64 -a $h1mac -b $h2mac -A 192.0.2.1 -B 192.0.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 -c 1 -p 64 -a "$h1mac" -b "$h2mac" -A 192.0.2.1 -B 192.0.2.2 \ In tc_actions.sh line 138: -t ip -q $h1 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: -t ip -q "$h1" In tc_actions.sh line 143: tc filter add dev $swp1 ingress protocol ip pref 2 handle 102 flower \ ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter add dev "$swp1" ingress protocol ip pref 2 handle 102 flower \ In tc_actions.sh line 144: $tcflags dst_ip 192.0.2.2 action trap ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: "$tcflags" dst_ip 192.0.2.2 action trap In tc_actions.sh line 146: $MZ -c 1 -p 64 -a $h1mac -b $h2mac -A 192.0.2.1 -B 192.0.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 -c 1 -p 64 -a "$h1mac" -b "$h2mac" -A 192.0.2.1 -B 192.0.2.2 \ In tc_actions.sh line 147: -t ip -q $h1 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: -t ip -q "$h1" In tc_actions.sh line 155: tc filter del dev $swp1 ingress protocol ip pref 3 handle 103 flower ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter del dev "$swp1" ingress protocol ip pref 3 handle 103 flower In tc_actions.sh line 156: tc filter del dev $swp1 ingress protocol ip pref 2 handle 102 flower ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter del dev "$swp1" ingress protocol ip pref 2 handle 102 flower In tc_actions.sh line 157: tc filter del dev $swp1 ingress protocol ip pref 1 handle 101 flower ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter del dev "$swp1" ingress protocol ip pref 1 handle 101 flower In tc_actions.sh line 166: tc filter add dev $h1 protocol ip pref 100 handle 100 egress flower \ ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter add dev "$h1" protocol ip pref 100 handle 100 egress flower \ In tc_actions.sh line 171: mirred ingress redirect dev $h1 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: mirred ingress redirect dev "$h1" In tc_actions.sh line 173: tc filter add dev $swp1 protocol ip pref 11 handle 111 ingress flower \ ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter add dev "$swp1" protocol ip pref 11 handle 111 ingress flower \ In tc_actions.sh line 175: tc filter add dev $swp1 protocol ip pref 12 handle 112 ingress flower \ ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter add dev "$swp1" protocol ip pref 12 handle 112 ingress flower \ In tc_actions.sh line 178: $MZ -c 1 -p 64 -a $h1mac -b $h2mac -A 192.0.2.1 -B 192.0.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 -c 1 -p 64 -a "$h1mac" -b "$h2mac" -A 192.0.2.1 -B 192.0.2.2 \ In tc_actions.sh line 179: -t icmp -q $h1 "ping,id=42,seq=10" ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: -t icmp -q "$h1" "ping,id=42,seq=10" In tc_actions.sh line 189: ping 192.0.2.2 -I$h1 -c1 -w1 -q 1>/dev/null 2>&1 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ping 192.0.2.2 -I"$h1" -c1 -w1 -q 1>/dev/null 2>&1 In tc_actions.sh line 198: tc filter del dev $h1 egress protocol ip pref 100 handle 100 flower ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter del dev "$h1" egress protocol ip pref 100 handle 100 flower In tc_actions.sh line 199: tc filter del dev $swp1 ingress protocol ip pref 11 handle 111 flower ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter del dev "$swp1" ingress protocol ip pref 11 handle 111 flower In tc_actions.sh line 200: tc filter del dev $swp1 ingress protocol ip pref 12 handle 112 flower ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter del dev "$swp1" ingress protocol ip pref 12 handle 112 flower In tc_actions.sh line 210: dd conv=sparse status=none if=/dev/zero bs=1M count=2 of=$mirred_e2i_tf1 ^-------------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: dd conv=sparse status=none if=/dev/zero bs=1M count=2 of="$mirred_e2i_tf1" In tc_actions.sh line 211: tc filter add dev $h1 protocol ip pref 100 handle 100 egress flower \ ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter add dev "$h1" protocol ip pref 100 handle 100 egress flower \ In tc_actions.sh line 212: $tcflags ip_proto tcp src_ip 192.0.2.1 dst_ip 192.0.2.2 \ ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: "$tcflags" ip_proto tcp src_ip 192.0.2.1 dst_ip 192.0.2.2 \ In tc_actions.sh line 218: action mirred ingress redirect dev $h1 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: action mirred ingress redirect dev "$h1" In tc_actions.sh line 219: tc filter add dev $h1 protocol ip pref 101 handle 101 egress flower \ ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter add dev "$h1" protocol ip pref 101 handle 101 egress flower \ In tc_actions.sh line 220: $tcflags ip_proto icmp \ ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: "$tcflags" ip_proto icmp \ In tc_actions.sh line 221: action mirred ingress redirect dev $h1 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: action mirred ingress redirect dev "$h1" In tc_actions.sh line 222: tc filter add dev $h1 protocol ip pref 102 handle 102 ingress flower \ ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter add dev "$h1" protocol ip pref 102 handle 102 ingress flower \ In tc_actions.sh line 226: ip vrf exec v$h1 ncat --recv-only -w10 -l -p 12345 -o $mirred_e2i_tf2 & ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. ^-------------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip vrf exec v"$h1" ncat --recv-only -w10 -l -p 12345 -o "$mirred_e2i_tf2" & In tc_actions.sh line 228: ip vrf exec v$h1 ncat -w1 --send-only 192.0.2.2 12345 <$mirred_e2i_tf1 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. ^-------------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip vrf exec v"$h1" ncat -w1 --send-only 192.0.2.2 12345 <"$mirred_e2i_tf1" In tc_actions.sh line 229: wait -n $rpid ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: wait -n "$rpid" In tc_actions.sh line 230: cmp -s $mirred_e2i_tf1 $mirred_e2i_tf2 ^-------------^ SC2086 (info): Double quote to prevent globbing and word splitting. ^-------------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: cmp -s "$mirred_e2i_tf1" "$mirred_e2i_tf2" In tc_actions.sh line 233: $MZ -c 10 -p 64 -a $h1mac -b $h1mac -A 192.0.2.1 -B 192.0.2.1 \ ^----^ SC2086 (info): Double quote to prevent globbing and word splitting. ^----^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: $MZ -c 10 -p 64 -a "$h1mac" -b "$h1mac" -A 192.0.2.1 -B 192.0.2.1 \ In tc_actions.sh line 234: -t icmp -q $h1 "ping,id=42,seq=5" ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: -t icmp -q "$h1" "ping,id=42,seq=5" In tc_actions.sh line 240: tc filter del dev $h1 egress protocol ip pref 100 handle 100 flower ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter del dev "$h1" egress protocol ip pref 100 handle 100 flower In tc_actions.sh line 241: tc filter del dev $h1 egress protocol ip pref 101 handle 101 flower ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter del dev "$h1" egress protocol ip pref 101 handle 101 flower In tc_actions.sh line 242: tc filter del dev $h1 ingress protocol ip pref 102 handle 102 flower ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter del dev "$h1" ingress protocol ip pref 102 handle 102 flower In tc_actions.sh line 244: rm -f $mirred_e2i_tf1 $mirred_e2i_tf2 ^-------------^ SC2086 (info): Double quote to prevent globbing and word splitting. ^-------------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: rm -f "$mirred_e2i_tf1" "$mirred_e2i_tf2" In tc_actions.sh line 250: tc filter add dev $swp1 ingress pref 20 chain 0 handle 20 flower \ ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter add dev "$swp1" ingress pref 20 chain 0 handle 20 flower \ In tc_actions.sh line 251: $tcflags num_of_vlans 1 \ ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: "$tcflags" num_of_vlans 1 \ In tc_actions.sh line 253: tc filter add dev $swp1 ingress pref 30 chain 5 handle 30 flower \ ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter add dev "$swp1" ingress pref 30 chain 5 handle 30 flower \ In tc_actions.sh line 254: $tcflags num_of_vlans 2 \ ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: "$tcflags" num_of_vlans 2 \ In tc_actions.sh line 257: $MZ -c 1 -p 64 -a $h1mac -b $h2mac -A 192.0.2.1 -B 192.0.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 -c 1 -p 64 -a "$h1mac" -b "$h2mac" -A 192.0.2.1 -B 192.0.2.2 \ In tc_actions.sh line 258: -t ip -Q 10 -q $h1 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: -t ip -Q 10 -q "$h1" In tc_actions.sh line 263: tc filter del dev $swp1 ingress pref 20 chain 0 handle 20 flower ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter del dev "$swp1" ingress pref 20 chain 0 handle 20 flower In tc_actions.sh line 264: tc filter del dev $swp1 ingress pref 30 chain 5 handle 30 flower ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter del dev "$swp1" ingress pref 30 chain 5 handle 30 flower In tc_actions.sh line 271: tc filter add dev $h1 egress pref 20 chain 0 handle 20 flower \ ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter add dev "$h1" egress pref 20 chain 0 handle 20 flower \ In tc_actions.sh line 272: $tcflags num_of_vlans 0 \ ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: "$tcflags" num_of_vlans 0 \ In tc_actions.sh line 275: tc filter add dev $h1 egress pref 30 chain 5 handle 30 flower \ ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter add dev "$h1" egress pref 30 chain 5 handle 30 flower \ In tc_actions.sh line 276: $tcflags num_of_vlans 2 \ ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: "$tcflags" num_of_vlans 2 \ In tc_actions.sh line 279: $MZ -c 1 -p 64 -a $h1mac -b $h2mac -A 192.0.2.1 -B 192.0.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 -c 1 -p 64 -a "$h1mac" -b "$h2mac" -A 192.0.2.1 -B 192.0.2.2 \ In tc_actions.sh line 280: -t ip -q $h1 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: -t ip -q "$h1" In tc_actions.sh line 285: tc filter del dev $h1 egress pref 20 chain 0 handle 20 flower ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter del dev "$h1" egress pref 20 chain 0 handle 20 flower In tc_actions.sh line 286: tc filter del dev $h1 egress pref 30 chain 5 handle 30 flower ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter del dev "$h1" egress pref 30 chain 5 handle 30 flower In tc_actions.sh line 299: h1mac=$(mac_get $h1) ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: h1mac=$(mac_get "$h1") In tc_actions.sh line 300: h2mac=$(mac_get $h2) ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: h2mac=$(mac_get "$h2") In tc_actions.sh line 302: swp1origmac=$(mac_get $swp1) ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: swp1origmac=$(mac_get "$swp1") In tc_actions.sh line 303: swp2origmac=$(mac_get $swp2) ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: swp2origmac=$(mac_get "$swp2") In tc_actions.sh line 304: ip link set $swp1 address $h2mac ^---^ 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 "$swp1" address "$h2mac" In tc_actions.sh line 305: ip link set $swp2 address $h1mac ^---^ 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 "$swp2" address "$h1mac" In tc_actions.sh line 326: ip link set $swp2 address $swp2origmac ^---^ 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 "$swp2" address "$swp2origmac" In tc_actions.sh line 327: ip link set $swp1 address $swp1origmac ^---^ 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 "$swp1" address "$swp1origmac" In tc_actions.sh line 329: for tf in $mirred_e2i_tf1 $mirred_e2i_tf2; do rm -f $tf; done ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: for tf in $mirred_e2i_tf1 $mirred_e2i_tf2; do rm -f "$tf"; done In tc_actions.sh line 354: tc_offload_check ^--------------^ SC2119 (info): Use tc_offload_check "$@" if function's $1 should mean script's $1. In tc_actions.sh line 355: if [[ $? -ne 0 ]]; then ^-- SC2181 (style): Check exit code directly with e.g. 'if ! mycmd;', not indirectly with $?. In tc_actions.sh line 362: 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/SC2119 -- Use tc_offload_check "$@" if func... https://www.shellcheck.net/wiki/SC2181 -- Check exit code directly with e.g... Checking tools/testing/selftests/net/forwarding/tc_chains.sh - 3c3555cb54a55e37d1ae2edd1efa9691a4b782565683a8b46f957beb9553cf2f In tc_chains.sh line 14: simple_if_init $h1 192.0.2.1/24 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: simple_if_init "$h1" 192.0.2.1/24 In tc_chains.sh line 19: simple_if_fini $h1 192.0.2.1/24 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: simple_if_fini "$h1" 192.0.2.1/24 In tc_chains.sh line 24: simple_if_init $h2 192.0.2.2/24 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: simple_if_init "$h2" 192.0.2.2/24 In tc_chains.sh line 25: tc qdisc add dev $h2 clsact ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc qdisc add dev "$h2" clsact In tc_chains.sh line 30: tc qdisc del dev $h2 clsact ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc qdisc del dev "$h2" clsact In tc_chains.sh line 31: simple_if_fini $h2 192.0.2.2/24 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: simple_if_fini "$h2" 192.0.2.2/24 In tc_chains.sh line 38: tc filter add dev $h2 ingress chain 1 protocol ip pref 1 handle 1101 \ ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter add dev "$h2" ingress chain 1 protocol ip pref 1 handle 1101 \ In tc_chains.sh line 39: flower $tcflags dst_mac $h2mac action drop ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. ^----^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: flower "$tcflags" dst_mac "$h2mac" action drop In tc_chains.sh line 41: $MZ -c 1 -p 64 -a $h1mac -b $h2mac -A 192.0.2.1 -B 192.0.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 -c 1 -p 64 -a "$h1mac" -b "$h2mac" -A 192.0.2.1 -B 192.0.2.2 \ In tc_chains.sh line 42: -t ip -q $h1 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: -t ip -q "$h1" In tc_chains.sh line 47: tc filter del dev $h2 ingress chain 1 protocol ip pref 1 handle 1101 \ ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter del dev "$h2" ingress chain 1 protocol ip pref 1 handle 1101 \ In tc_chains.sh line 57: tc filter add dev $h2 ingress chain 1 protocol ip pref 1 handle 1101 \ ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter add dev "$h2" ingress chain 1 protocol ip pref 1 handle 1101 \ In tc_chains.sh line 58: flower $tcflags dst_mac $h2mac action drop ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. ^----^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: flower "$tcflags" dst_mac "$h2mac" action drop In tc_chains.sh line 59: tc filter add dev $h2 ingress protocol ip pref 2 handle 102 flower \ ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter add dev "$h2" ingress protocol ip pref 2 handle 102 flower \ In tc_chains.sh line 60: $tcflags dst_mac $h2mac action drop ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. ^----^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: "$tcflags" dst_mac "$h2mac" action drop In tc_chains.sh line 61: tc filter add dev $h2 ingress protocol ip pref 1 handle 101 flower \ ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter add dev "$h2" ingress protocol ip pref 1 handle 101 flower \ In tc_chains.sh line 62: $tcflags dst_mac $h2mac action goto chain 1 ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. ^----^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: "$tcflags" dst_mac "$h2mac" action goto chain 1 In tc_chains.sh line 64: $MZ -c 1 -p 64 -a $h1mac -b $h2mac -A 192.0.2.1 -B 192.0.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 -c 1 -p 64 -a "$h1mac" -b "$h2mac" -A 192.0.2.1 -B 192.0.2.2 \ In tc_chains.sh line 65: -t ip -q $h1 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: -t ip -q "$h1" In tc_chains.sh line 76: tc filter del dev $h2 ingress protocol ip pref 1 handle 101 flower ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter del dev "$h2" ingress protocol ip pref 1 handle 101 flower In tc_chains.sh line 77: tc filter del dev $h2 ingress protocol ip pref 2 handle 102 flower ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter del dev "$h2" ingress protocol ip pref 2 handle 102 flower In tc_chains.sh line 78: tc filter del dev $h2 ingress chain 1 protocol ip pref 1 handle 1101 \ ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter del dev "$h2" ingress chain 1 protocol ip pref 1 handle 1101 \ In tc_chains.sh line 88: tc chain add dev $h2 ingress ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc chain add dev "$h2" ingress In tc_chains.sh line 91: output="$(tc -j chain get dev $h2 ingress)" ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: output="$(tc -j chain get dev "$h2" ingress)" In tc_chains.sh line 94: echo $output | jq -e ".[] | select(.chain == 0)" &> /dev/null ^-----^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: echo "$output" | jq -e ".[] | select(.chain == 0)" &> /dev/null In tc_chains.sh line 97: tc chain add dev $h2 ingress chain 1 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc chain add dev "$h2" ingress chain 1 In tc_chains.sh line 100: output="$(tc -j chain get dev $h2 ingress chain 1)" ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: output="$(tc -j chain get dev "$h2" ingress chain 1)" In tc_chains.sh line 103: echo $output | jq -e ".[] | select(.chain == 1)" &> /dev/null ^-----^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: echo "$output" | jq -e ".[] | select(.chain == 1)" &> /dev/null In tc_chains.sh line 106: output="$(tc -j chain show dev $h2 ingress)" ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: output="$(tc -j chain show dev "$h2" ingress)" In tc_chains.sh line 109: echo $output | jq -e ".[] | select(.chain == 0)" &> /dev/null ^-----^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: echo "$output" | jq -e ".[] | select(.chain == 0)" &> /dev/null In tc_chains.sh line 112: echo $output | jq -e ".[] | select(.chain == 1)" &> /dev/null ^-----^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: echo "$output" | jq -e ".[] | select(.chain == 1)" &> /dev/null In tc_chains.sh line 115: tc chain del dev $h2 ingress ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc chain del dev "$h2" ingress In tc_chains.sh line 118: tc chain del dev $h2 ingress chain 1 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc chain del dev "$h2" ingress chain 1 In tc_chains.sh line 128: tc chain add dev $h2 ingress protocol ip \ ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc chain add dev "$h2" ingress protocol ip \ In tc_chains.sh line 130: tc chain add dev $h2 ingress chain 1 protocol ip \ ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc chain add dev "$h2" ingress chain 1 protocol ip \ In tc_chains.sh line 133: tc filter add dev $h2 ingress protocol ip pref 1 handle 1101 \ ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter add dev "$h2" ingress protocol ip pref 1 handle 1101 \ In tc_chains.sh line 134: flower dst_mac $h2mac action drop ^----^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: flower dst_mac "$h2mac" action drop In tc_chains.sh line 137: tc filter add dev $h2 ingress protocol ip pref 1 handle 1102 \ ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter add dev "$h2" ingress protocol ip pref 1 handle 1102 \ In tc_chains.sh line 138: flower src_mac $h2mac action drop &> /dev/null ^----^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: flower src_mac "$h2mac" action drop &> /dev/null In tc_chains.sh line 141: tc filter add dev $h2 ingress chain 1 protocol ip pref 1 handle 1101 \ ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter add dev "$h2" ingress chain 1 protocol ip pref 1 handle 1101 \ In tc_chains.sh line 142: flower src_mac $h2mac action drop ^----^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: flower src_mac "$h2mac" action drop In tc_chains.sh line 145: tc filter add dev $h2 ingress chain 1 protocol ip pref 1 handle 1102 \ ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter add dev "$h2" ingress chain 1 protocol ip pref 1 handle 1102 \ In tc_chains.sh line 146: flower dst_mac $h2mac action drop &> /dev/null ^----^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: flower dst_mac "$h2mac" action drop &> /dev/null In tc_chains.sh line 149: tc filter del dev $h2 ingress chain 1 protocol ip pref 1 handle 1102 \ ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter del dev "$h2" ingress chain 1 protocol ip pref 1 handle 1102 \ In tc_chains.sh line 151: tc filter del dev $h2 ingress chain 1 protocol ip pref 1 handle 1101 \ ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter del dev "$h2" ingress chain 1 protocol ip pref 1 handle 1101 \ In tc_chains.sh line 154: tc filter del dev $h2 ingress protocol ip pref 1 handle 1102 \ ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter del dev "$h2" ingress protocol ip pref 1 handle 1102 \ In tc_chains.sh line 156: tc filter del dev $h2 ingress protocol ip pref 1 handle 1101 \ ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter del dev "$h2" ingress protocol ip pref 1 handle 1101 \ In tc_chains.sh line 159: tc chain del dev $h2 ingress chain 1 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc chain del dev "$h2" ingress chain 1 In tc_chains.sh line 160: tc chain del dev $h2 ingress ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc chain del dev "$h2" ingress In tc_chains.sh line 169: h1mac=$(mac_get $h1) ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: h1mac=$(mac_get "$h1") In tc_chains.sh line 170: h2mac=$(mac_get $h2) ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: h2mac=$(mac_get "$h2") In tc_chains.sh line 197: tc_offload_check ^--------------^ SC2119 (info): Use tc_offload_check "$@" if function's $1 should mean script's $1. In tc_chains.sh line 198: if [[ $? -ne 0 ]]; then ^-- SC2181 (style): Check exit code directly with e.g. 'if ! mycmd;', not indirectly with $?. In tc_chains.sh line 205: 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/SC2119 -- Use tc_offload_check "$@" if func... https://www.shellcheck.net/wiki/SC2181 -- Check exit code directly with e.g... Checking tools/testing/selftests/net/forwarding/tc_flower.sh - 55a6132b278432de62e5b75aa7b8112f70c4e3f63e33c54d77f351d49b845776 In tc_flower.sh line 18: simple_if_init $h1 192.0.2.1/24 198.51.100.1/24 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: simple_if_init "$h1" 192.0.2.1/24 198.51.100.1/24 In tc_flower.sh line 23: simple_if_fini $h1 192.0.2.1/24 198.51.100.1/24 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: simple_if_fini "$h1" 192.0.2.1/24 198.51.100.1/24 In tc_flower.sh line 28: simple_if_init $h2 192.0.2.2/24 198.51.100.2/24 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: simple_if_init "$h2" 192.0.2.2/24 198.51.100.2/24 In tc_flower.sh line 29: tc qdisc add dev $h2 clsact ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc qdisc add dev "$h2" clsact In tc_flower.sh line 34: tc qdisc del dev $h2 clsact ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc qdisc del dev "$h2" clsact In tc_flower.sh line 35: simple_if_fini $h2 192.0.2.2/24 198.51.100.2/24 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: simple_if_fini "$h2" 192.0.2.2/24 198.51.100.2/24 In tc_flower.sh line 44: tc filter add dev $h2 ingress protocol ip pref 1 handle 101 flower \ ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter add dev "$h2" ingress protocol ip pref 1 handle 101 flower \ In tc_flower.sh line 45: $tcflags dst_mac $dummy_mac action drop ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. ^--------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: "$tcflags" dst_mac "$dummy_mac" action drop In tc_flower.sh line 46: tc filter add dev $h2 ingress protocol ip pref 2 handle 102 flower \ ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter add dev "$h2" ingress protocol ip pref 2 handle 102 flower \ In tc_flower.sh line 47: $tcflags dst_mac $h2mac action drop ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. ^----^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: "$tcflags" dst_mac "$h2mac" action drop In tc_flower.sh line 49: $MZ -c 1 -p 64 -a $h1mac -b $h2mac -A 192.0.2.1 -B 192.0.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 -c 1 -p 64 -a "$h1mac" -b "$h2mac" -A 192.0.2.1 -B 192.0.2.2 \ In tc_flower.sh line 50: -t ip -q $h1 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: -t ip -q "$h1" In tc_flower.sh line 58: tc filter del dev $h2 ingress protocol ip pref 1 handle 101 flower ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter del dev "$h2" ingress protocol ip pref 1 handle 101 flower In tc_flower.sh line 59: tc filter del dev $h2 ingress protocol ip pref 2 handle 102 flower ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter del dev "$h2" ingress protocol ip pref 2 handle 102 flower In tc_flower.sh line 70: tc filter add dev $h2 ingress protocol ip pref 1 handle 101 flower \ ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter add dev "$h2" ingress protocol ip pref 1 handle 101 flower \ In tc_flower.sh line 71: $tcflags src_mac $dummy_mac action drop ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. ^--------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: "$tcflags" src_mac "$dummy_mac" action drop In tc_flower.sh line 72: tc filter add dev $h2 ingress protocol ip pref 2 handle 102 flower \ ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter add dev "$h2" ingress protocol ip pref 2 handle 102 flower \ In tc_flower.sh line 73: $tcflags src_mac $h1mac action drop ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. ^----^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: "$tcflags" src_mac "$h1mac" action drop In tc_flower.sh line 75: $MZ -c 1 -p 64 -a $h1mac -b $h2mac -A 192.0.2.1 -B 192.0.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 -c 1 -p 64 -a "$h1mac" -b "$h2mac" -A 192.0.2.1 -B 192.0.2.2 \ In tc_flower.sh line 76: -t ip -q $h1 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: -t ip -q "$h1" In tc_flower.sh line 84: tc filter del dev $h2 ingress protocol ip pref 1 handle 101 flower ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter del dev "$h2" ingress protocol ip pref 1 handle 101 flower In tc_flower.sh line 85: tc filter del dev $h2 ingress protocol ip pref 2 handle 102 flower ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter del dev "$h2" ingress protocol ip pref 2 handle 102 flower In tc_flower.sh line 94: tc filter add dev $h2 ingress protocol ip pref 1 handle 101 flower \ ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter add dev "$h2" ingress protocol ip pref 1 handle 101 flower \ In tc_flower.sh line 95: $tcflags dst_ip 198.51.100.2 action drop ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: "$tcflags" dst_ip 198.51.100.2 action drop In tc_flower.sh line 96: tc filter add dev $h2 ingress protocol ip pref 2 handle 102 flower \ ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter add dev "$h2" ingress protocol ip pref 2 handle 102 flower \ In tc_flower.sh line 97: $tcflags dst_ip 192.0.2.2 action drop ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: "$tcflags" dst_ip 192.0.2.2 action drop In tc_flower.sh line 98: tc filter add dev $h2 ingress protocol ip pref 3 handle 103 flower \ ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter add dev "$h2" ingress protocol ip pref 3 handle 103 flower \ In tc_flower.sh line 99: $tcflags dst_ip 192.0.2.0/24 action drop ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: "$tcflags" dst_ip 192.0.2.0/24 action drop In tc_flower.sh line 101: $MZ -c 1 -p 64 -a $h1mac -b $h2mac -A 192.0.2.1 -B 192.0.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 -c 1 -p 64 -a "$h1mac" -b "$h2mac" -A 192.0.2.1 -B 192.0.2.2 \ In tc_flower.sh line 102: -t ip -q $h1 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: -t ip -q "$h1" In tc_flower.sh line 110: tc filter del dev $h2 ingress protocol ip pref 2 handle 102 flower ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter del dev "$h2" ingress protocol ip pref 2 handle 102 flower In tc_flower.sh line 112: $MZ -c 1 -p 64 -a $h1mac -b $h2mac -A 192.0.2.1 -B 192.0.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 -c 1 -p 64 -a "$h1mac" -b "$h2mac" -A 192.0.2.1 -B 192.0.2.2 \ In tc_flower.sh line 113: -t ip -q $h1 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: -t ip -q "$h1" In tc_flower.sh line 118: tc filter del dev $h2 ingress protocol ip pref 1 handle 101 flower ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter del dev "$h2" ingress protocol ip pref 1 handle 101 flower In tc_flower.sh line 119: tc filter del dev $h2 ingress protocol ip pref 3 handle 103 flower ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter del dev "$h2" ingress protocol ip pref 3 handle 103 flower In tc_flower.sh line 128: tc filter add dev $h2 ingress protocol ip pref 1 handle 101 flower \ ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter add dev "$h2" ingress protocol ip pref 1 handle 101 flower \ In tc_flower.sh line 129: $tcflags src_ip 198.51.100.1 action drop ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: "$tcflags" src_ip 198.51.100.1 action drop In tc_flower.sh line 130: tc filter add dev $h2 ingress protocol ip pref 2 handle 102 flower \ ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter add dev "$h2" ingress protocol ip pref 2 handle 102 flower \ In tc_flower.sh line 131: $tcflags src_ip 192.0.2.1 action drop ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: "$tcflags" src_ip 192.0.2.1 action drop In tc_flower.sh line 132: tc filter add dev $h2 ingress protocol ip pref 3 handle 103 flower \ ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter add dev "$h2" ingress protocol ip pref 3 handle 103 flower \ In tc_flower.sh line 133: $tcflags src_ip 192.0.2.0/24 action drop ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: "$tcflags" src_ip 192.0.2.0/24 action drop In tc_flower.sh line 135: $MZ -c 1 -p 64 -a $h1mac -b $h2mac -A 192.0.2.1 -B 192.0.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 -c 1 -p 64 -a "$h1mac" -b "$h2mac" -A 192.0.2.1 -B 192.0.2.2 \ In tc_flower.sh line 136: -t ip -q $h1 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: -t ip -q "$h1" In tc_flower.sh line 144: tc filter del dev $h2 ingress protocol ip pref 2 handle 102 flower ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter del dev "$h2" ingress protocol ip pref 2 handle 102 flower In tc_flower.sh line 146: $MZ -c 1 -p 64 -a $h1mac -b $h2mac -A 192.0.2.1 -B 192.0.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 -c 1 -p 64 -a "$h1mac" -b "$h2mac" -A 192.0.2.1 -B 192.0.2.2 \ In tc_flower.sh line 147: -t ip -q $h1 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: -t ip -q "$h1" In tc_flower.sh line 152: tc filter del dev $h2 ingress protocol ip pref 1 handle 101 flower ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter del dev "$h2" ingress protocol ip pref 1 handle 101 flower In tc_flower.sh line 153: tc filter del dev $h2 ingress protocol ip pref 3 handle 103 flower ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter del dev "$h2" ingress protocol ip pref 3 handle 103 flower In tc_flower.sh line 162: tc filter add dev $h2 ingress protocol ip pref 1 handle 101 flower \ ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter add dev "$h2" ingress protocol ip pref 1 handle 101 flower \ In tc_flower.sh line 163: $tcflags ip_flags frag action continue ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: "$tcflags" ip_flags frag action continue In tc_flower.sh line 164: tc filter add dev $h2 ingress protocol ip pref 2 handle 102 flower \ ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter add dev "$h2" ingress protocol ip pref 2 handle 102 flower \ In tc_flower.sh line 165: $tcflags ip_flags firstfrag action continue ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: "$tcflags" ip_flags firstfrag action continue In tc_flower.sh line 166: tc filter add dev $h2 ingress protocol ip pref 3 handle 103 flower \ ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter add dev "$h2" ingress protocol ip pref 3 handle 103 flower \ In tc_flower.sh line 167: $tcflags ip_flags nofirstfrag action continue ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: "$tcflags" ip_flags nofirstfrag action continue In tc_flower.sh line 168: tc filter add dev $h2 ingress protocol ip pref 4 handle 104 flower \ ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter add dev "$h2" ingress protocol ip pref 4 handle 104 flower \ In tc_flower.sh line 169: $tcflags ip_flags nofrag action drop ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: "$tcflags" ip_flags nofrag action drop In tc_flower.sh line 171: $MZ -c 1 -p 1000 -a $h1mac -b $h2mac -A 192.0.2.1 -B 192.0.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 -c 1 -p 1000 -a "$h1mac" -b "$h2mac" -A 192.0.2.1 -B 192.0.2.2 \ In tc_flower.sh line 172: -t ip -q $h1 "frag=0" ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: -t ip -q "$h1" "frag=0" In tc_flower.sh line 186: $MZ -c 1 -p 1000 -a $h1mac -b $h2mac -A 192.0.2.1 -B 192.0.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 -c 1 -p 1000 -a "$h1mac" -b "$h2mac" -A 192.0.2.1 -B 192.0.2.2 \ In tc_flower.sh line 187: -t ip -q $h1"frag=0,mf" ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: -t ip -q "$h1""frag=0,mf" In tc_flower.sh line 201: $MZ -c 1 -p 1000 -a $h1mac -b $h2mac -A 192.0.2.1 -B 192.0.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 -c 1 -p 1000 -a "$h1mac" -b "$h2mac" -A 192.0.2.1 -B 192.0.2.2 \ In tc_flower.sh line 202: -t ip -q $h1 "frag=256,mf" ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: -t ip -q "$h1" "frag=256,mf" In tc_flower.sh line 203: $MZ -c 1 -p 1000 -a $h1mac -b $h2mac -A 192.0.2.1 -B 192.0.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 -c 1 -p 1000 -a "$h1mac" -b "$h2mac" -A 192.0.2.1 -B 192.0.2.2 \ In tc_flower.sh line 204: -t ip -q $h1 "frag=256" ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: -t ip -q "$h1" "frag=256" In tc_flower.sh line 218: tc filter del dev $h2 ingress protocol ip pref 1 handle 101 flower ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter del dev "$h2" ingress protocol ip pref 1 handle 101 flower In tc_flower.sh line 219: tc filter del dev $h2 ingress protocol ip pref 2 handle 102 flower ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter del dev "$h2" ingress protocol ip pref 2 handle 102 flower In tc_flower.sh line 220: tc filter del dev $h2 ingress protocol ip pref 3 handle 103 flower ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter del dev "$h2" ingress protocol ip pref 3 handle 103 flower In tc_flower.sh line 221: tc filter del dev $h2 ingress protocol ip pref 4 handle 104 flower ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter del dev "$h2" ingress protocol ip pref 4 handle 104 flower In tc_flower.sh line 230: vlan_create $h2 85 v$h2 192.0.2.11/24 ^-^ 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 "$h2" 85 v"$h2" 192.0.2.11/24 In tc_flower.sh line 232: tc filter add dev $h2 ingress protocol 802.1q pref 1 handle 101 \ ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter add dev "$h2" ingress protocol 802.1q pref 1 handle 101 \ In tc_flower.sh line 233: flower vlan_prio 6 $tcflags dst_mac $h2mac action drop ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. ^----^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: flower vlan_prio 6 "$tcflags" dst_mac "$h2mac" action drop In tc_flower.sh line 234: tc filter add dev $h2 ingress protocol 802.1q pref 2 handle 102 \ ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter add dev "$h2" ingress protocol 802.1q pref 2 handle 102 \ In tc_flower.sh line 235: flower vlan_prio 7 $tcflags dst_mac $h2mac action drop ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. ^----^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: flower vlan_prio 7 "$tcflags" dst_mac "$h2mac" action drop In tc_flower.sh line 237: $MZ -c 1 -p 64 -a $h1mac -b $h2mac -B 192.0.2.11 -Q 7:85 -t ip -q $h1 ^----^ 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 -c 1 -p 64 -a "$h1mac" -b "$h2mac" -B 192.0.2.11 -Q 7:85 -t ip -q "$h1" In tc_flower.sh line 238: $MZ -c 1 -p 64 -a $h1mac -b $h2mac -B 192.0.2.11 -Q 0:85 -t ip -q $h1 ^----^ 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 -c 1 -p 64 -a "$h1mac" -b "$h2mac" -B 192.0.2.11 -Q 0:85 -t ip -q "$h1" In tc_flower.sh line 246: tc filter del dev $h2 ingress protocol 802.1q pref 2 handle 102 flower ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter del dev "$h2" ingress protocol 802.1q pref 2 handle 102 flower In tc_flower.sh line 247: tc filter del dev $h2 ingress protocol 802.1q pref 1 handle 101 flower ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter del dev "$h2" ingress protocol 802.1q pref 1 handle 101 flower In tc_flower.sh line 249: vlan_destroy $h2 85 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: vlan_destroy "$h2" 85 In tc_flower.sh line 258: vlan_create $h2 85 v$h2 192.0.2.11/24 ^-^ 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 "$h2" 85 v"$h2" 192.0.2.11/24 In tc_flower.sh line 259: vlan_create $h2 75 v$h2 192.0.2.10/24 ^-^ 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 "$h2" 75 v"$h2" 192.0.2.10/24 In tc_flower.sh line 261: tc filter add dev $h2 ingress protocol 802.1q pref 1 handle 101 \ ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter add dev "$h2" ingress protocol 802.1q pref 1 handle 101 \ In tc_flower.sh line 262: flower vlan_id 75 $tcflags action drop ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: flower vlan_id 75 "$tcflags" action drop In tc_flower.sh line 263: tc filter add dev $h2 ingress protocol 802.1q pref 2 handle 102 \ ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter add dev "$h2" ingress protocol 802.1q pref 2 handle 102 \ In tc_flower.sh line 264: flower vlan_id 85 $tcflags action drop ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: flower vlan_id 85 "$tcflags" action drop In tc_flower.sh line 266: $MZ -c 1 -p 64 -a $h1mac -b $h2mac -B 192.0.2.11 -Q 0:85 -t ip -q $h1 ^----^ 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 -c 1 -p 64 -a "$h1mac" -b "$h2mac" -B 192.0.2.11 -Q 0:85 -t ip -q "$h1" In tc_flower.sh line 274: tc filter del dev $h2 ingress protocol 802.1q pref 2 handle 102 flower ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter del dev "$h2" ingress protocol 802.1q pref 2 handle 102 flower In tc_flower.sh line 275: tc filter del dev $h2 ingress protocol 802.1q pref 1 handle 101 flower ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter del dev "$h2" ingress protocol 802.1q pref 1 handle 101 flower In tc_flower.sh line 277: vlan_destroy $h2 75 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: vlan_destroy "$h2" 75 In tc_flower.sh line 278: vlan_destroy $h2 85 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: vlan_destroy "$h2" 85 In tc_flower.sh line 287: tc filter add dev $h2 ingress protocol ip pref 1 handle 101 flower \ ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter add dev "$h2" ingress protocol ip pref 1 handle 101 flower \ In tc_flower.sh line 288: $tcflags dst_ip 192.0.2.2 ip_tos 0x20 action drop ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: "$tcflags" dst_ip 192.0.2.2 ip_tos 0x20 action drop In tc_flower.sh line 289: tc filter add dev $h2 ingress protocol ip pref 2 handle 102 flower \ ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter add dev "$h2" ingress protocol ip pref 2 handle 102 flower \ In tc_flower.sh line 290: $tcflags dst_ip 192.0.2.2 ip_tos 0x18 action drop ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: "$tcflags" dst_ip 192.0.2.2 ip_tos 0x18 action drop In tc_flower.sh line 292: $MZ -c 1 -p 64 -a $h1mac -b $h2mac -A 192.0.2.1 -B 192.0.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 -c 1 -p 64 -a "$h1mac" -b "$h2mac" -A 192.0.2.1 -B 192.0.2.2 \ In tc_flower.sh line 293: -t ip -q $h1 tos=18 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: -t ip -q "$h1" tos=18 In tc_flower.sh line 301: $MZ -c 1 -p 64 -a $h1mac -b $h2mac -A 192.0.2.1 -B 192.0.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 -c 1 -p 64 -a "$h1mac" -b "$h2mac" -A 192.0.2.1 -B 192.0.2.2 \ In tc_flower.sh line 302: -t ip -q $h1 tos=20 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: -t ip -q "$h1" tos=20 In tc_flower.sh line 310: tc filter del dev $h2 ingress protocol ip pref 2 handle 102 flower ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter del dev "$h2" ingress protocol ip pref 2 handle 102 flower In tc_flower.sh line 311: tc filter del dev $h2 ingress protocol ip pref 1 handle 101 flower ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter del dev "$h2" ingress protocol ip pref 1 handle 101 flower In tc_flower.sh line 320: tc filter add dev $h2 ingress protocol ip pref 1 handle 101 flower \ ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter add dev "$h2" ingress protocol ip pref 1 handle 101 flower \ In tc_flower.sh line 321: $tcflags dst_ip 192.0.2.2 ip_ttl 63 action drop ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: "$tcflags" dst_ip 192.0.2.2 ip_ttl 63 action drop In tc_flower.sh line 322: tc filter add dev $h2 ingress protocol ip pref 2 handle 102 flower \ ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter add dev "$h2" ingress protocol ip pref 2 handle 102 flower \ In tc_flower.sh line 323: $tcflags dst_ip 192.0.2.2 action drop ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: "$tcflags" dst_ip 192.0.2.2 action drop In tc_flower.sh line 325: $MZ -c 1 -p 64 -a $h1mac -b $h2mac -A 192.0.2.1 -B 192.0.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 -c 1 -p 64 -a "$h1mac" -b "$h2mac" -A 192.0.2.1 -B 192.0.2.2 \ In tc_flower.sh line 326: -t ip -q $h1 "ttl=63" ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: -t ip -q "$h1" "ttl=63" In tc_flower.sh line 328: $MZ -c 1 -p 64 -a $h1mac -b $h2mac -A 192.0.2.1 -B 192.0.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 -c 1 -p 64 -a "$h1mac" -b "$h2mac" -A 192.0.2.1 -B 192.0.2.2 \ In tc_flower.sh line 329: -t ip -q $h1 "ttl=63,mf,frag=256" ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: -t ip -q "$h1" "ttl=63,mf,frag=256" In tc_flower.sh line 337: $MZ -c 1 -p 64 -a $h1mac -b $h2mac -A 192.0.2.1 -B 192.0.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 -c 1 -p 64 -a "$h1mac" -b "$h2mac" -A 192.0.2.1 -B 192.0.2.2 \ In tc_flower.sh line 338: -t ip -q $h1 "ttl=255" ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: -t ip -q "$h1" "ttl=255" In tc_flower.sh line 346: tc filter del dev $h2 ingress protocol ip pref 2 handle 102 flower ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter del dev "$h2" ingress protocol ip pref 2 handle 102 flower In tc_flower.sh line 347: tc filter del dev $h2 ingress protocol ip pref 1 handle 101 flower ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter del dev "$h2" ingress protocol ip pref 1 handle 101 flower In tc_flower.sh line 356: tc filter add dev $h2 ingress protocol ip pref 1 handle 101 flower \ ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter add dev "$h2" ingress protocol ip pref 1 handle 101 flower \ In tc_flower.sh line 357: $tcflags indev $h1 dst_mac $h2mac action drop ^------^ 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: "$tcflags" indev "$h1" dst_mac "$h2mac" action drop In tc_flower.sh line 358: tc filter add dev $h2 ingress protocol ip pref 2 handle 102 flower \ ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter add dev "$h2" ingress protocol ip pref 2 handle 102 flower \ In tc_flower.sh line 359: $tcflags indev $h2 dst_mac $h2mac action drop ^------^ 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: "$tcflags" indev "$h2" dst_mac "$h2mac" action drop In tc_flower.sh line 361: $MZ -c 1 -p 64 -a $h1mac -b $h2mac -A 192.0.2.1 -B 192.0.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 -c 1 -p 64 -a "$h1mac" -b "$h2mac" -A 192.0.2.1 -B 192.0.2.2 \ In tc_flower.sh line 362: -t ip -q $h1 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: -t ip -q "$h1" In tc_flower.sh line 370: tc filter del dev $h2 ingress protocol ip pref 2 handle 102 flower ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter del dev "$h2" ingress protocol ip pref 2 handle 102 flower In tc_flower.sh line 371: tc filter del dev $h2 ingress protocol ip pref 1 handle 101 flower ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter del dev "$h2" ingress protocol ip pref 1 handle 101 flower In tc_flower.sh line 389: $ttl ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: "$ttl" In tc_flower.sh line 399: check_tc_mpls_support $h2 || return 0 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: check_tc_mpls_support "$h2" || return 0 In tc_flower.sh line 401: tc filter add dev $h2 ingress protocol mpls_uc pref 1 handle 101 \ ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter add dev "$h2" ingress protocol mpls_uc pref 1 handle 101 \ In tc_flower.sh line 402: flower $tcflags mpls_label 0 action drop ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: flower "$tcflags" mpls_label 0 action drop In tc_flower.sh line 403: tc filter add dev $h2 ingress protocol mpls_uc pref 2 handle 102 \ ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter add dev "$h2" ingress protocol mpls_uc pref 2 handle 102 \ In tc_flower.sh line 404: flower $tcflags mpls_label 1048575 action drop ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: flower "$tcflags" mpls_label 1048575 action drop In tc_flower.sh line 407: $MZ -c 1 -p 64 -a $h1mac -b $h2mac -q $h1 "$pkt" ^----^ 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 -c 1 -p 64 -a "$h1mac" -b "$h2mac" -q "$h1" "$pkt" In tc_flower.sh line 416: $MZ -c 1 -p 64 -a $h1mac -b $h2mac -q $h1 "$pkt" ^----^ 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 -c 1 -p 64 -a "$h1mac" -b "$h2mac" -q "$h1" "$pkt" In tc_flower.sh line 424: tc filter del dev $h2 ingress protocol mpls_uc pref 2 handle 102 flower ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter del dev "$h2" ingress protocol mpls_uc pref 2 handle 102 flower In tc_flower.sh line 425: tc filter del dev $h2 ingress protocol mpls_uc pref 1 handle 101 flower ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter del dev "$h2" ingress protocol mpls_uc pref 1 handle 101 flower In tc_flower.sh line 437: check_tc_mpls_support $h2 || return 0 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: check_tc_mpls_support "$h2" || return 0 In tc_flower.sh line 439: tc filter add dev $h2 ingress protocol mpls_uc pref 1 handle 101 \ ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter add dev "$h2" ingress protocol mpls_uc pref 1 handle 101 \ In tc_flower.sh line 440: flower $tcflags mpls_tc 0 action drop ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: flower "$tcflags" mpls_tc 0 action drop In tc_flower.sh line 441: tc filter add dev $h2 ingress protocol mpls_uc pref 2 handle 102 \ ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter add dev "$h2" ingress protocol mpls_uc pref 2 handle 102 \ In tc_flower.sh line 442: flower $tcflags mpls_tc 7 action drop ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: flower "$tcflags" mpls_tc 7 action drop In tc_flower.sh line 445: $MZ -c 1 -p 64 -a $h1mac -b $h2mac -q $h1 "$pkt" ^----^ 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 -c 1 -p 64 -a "$h1mac" -b "$h2mac" -q "$h1" "$pkt" In tc_flower.sh line 454: $MZ -c 1 -p 64 -a $h1mac -b $h2mac -q $h1 "$pkt" ^----^ 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 -c 1 -p 64 -a "$h1mac" -b "$h2mac" -q "$h1" "$pkt" In tc_flower.sh line 462: tc filter del dev $h2 ingress protocol mpls_uc pref 2 handle 102 flower ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter del dev "$h2" ingress protocol mpls_uc pref 2 handle 102 flower In tc_flower.sh line 463: tc filter del dev $h2 ingress protocol mpls_uc pref 1 handle 101 flower ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter del dev "$h2" ingress protocol mpls_uc pref 1 handle 101 flower In tc_flower.sh line 475: check_tc_mpls_support $h2 || return 0 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: check_tc_mpls_support "$h2" || return 0 In tc_flower.sh line 477: tc filter add dev $h2 ingress protocol mpls_uc pref 1 handle 101 \ ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter add dev "$h2" ingress protocol mpls_uc pref 1 handle 101 \ In tc_flower.sh line 478: flower $tcflags mpls_bos 0 action drop ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: flower "$tcflags" mpls_bos 0 action drop In tc_flower.sh line 479: tc filter add dev $h2 ingress protocol mpls_uc pref 2 handle 102 \ ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter add dev "$h2" ingress protocol mpls_uc pref 2 handle 102 \ In tc_flower.sh line 480: flower $tcflags mpls_bos 1 action drop ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: flower "$tcflags" mpls_bos 1 action drop In tc_flower.sh line 483: $MZ -c 1 -p 64 -a $h1mac -b $h2mac -q $h1 "$pkt" ^----^ 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 -c 1 -p 64 -a "$h1mac" -b "$h2mac" -q "$h1" "$pkt" In tc_flower.sh line 493: $MZ -c 1 -p 64 -a $h1mac -b $h2mac -q $h1 "$pkt" ^----^ 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 -c 1 -p 64 -a "$h1mac" -b "$h2mac" -q "$h1" "$pkt" In tc_flower.sh line 501: tc filter del dev $h2 ingress protocol mpls_uc pref 2 handle 102 flower ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter del dev "$h2" ingress protocol mpls_uc pref 2 handle 102 flower In tc_flower.sh line 502: tc filter del dev $h2 ingress protocol mpls_uc pref 1 handle 101 flower ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter del dev "$h2" ingress protocol mpls_uc pref 1 handle 101 flower In tc_flower.sh line 514: check_tc_mpls_support $h2 || return 0 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: check_tc_mpls_support "$h2" || return 0 In tc_flower.sh line 516: tc filter add dev $h2 ingress protocol mpls_uc pref 1 handle 101 \ ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter add dev "$h2" ingress protocol mpls_uc pref 1 handle 101 \ In tc_flower.sh line 517: flower $tcflags mpls_ttl 0 action drop ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: flower "$tcflags" mpls_ttl 0 action drop In tc_flower.sh line 518: tc filter add dev $h2 ingress protocol mpls_uc pref 2 handle 102 \ ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter add dev "$h2" ingress protocol mpls_uc pref 2 handle 102 \ In tc_flower.sh line 519: flower $tcflags mpls_ttl 255 action drop ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: flower "$tcflags" mpls_ttl 255 action drop In tc_flower.sh line 522: $MZ -c 1 -p 64 -a $h1mac -b $h2mac -q $h1 "$pkt" ^----^ 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 -c 1 -p 64 -a "$h1mac" -b "$h2mac" -q "$h1" "$pkt" In tc_flower.sh line 531: $MZ -c 1 -p 64 -a $h1mac -b $h2mac -q $h1 "$pkt" ^----^ 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 -c 1 -p 64 -a "$h1mac" -b "$h2mac" -q "$h1" "$pkt" In tc_flower.sh line 539: tc filter del dev $h2 ingress protocol mpls_uc pref 2 handle 102 flower ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter del dev "$h2" ingress protocol mpls_uc pref 2 handle 102 flower In tc_flower.sh line 540: tc filter del dev $h2 ingress protocol mpls_uc pref 1 handle 101 flower ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter del dev "$h2" ingress protocol mpls_uc pref 1 handle 101 flower In tc_flower.sh line 552: check_tc_mpls_lse_stats $h2 || return 0 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: check_tc_mpls_lse_stats "$h2" || return 0 In tc_flower.sh line 555: tc filter add dev $h2 ingress protocol mpls_uc pref 1 handle 101 \ ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter add dev "$h2" ingress protocol mpls_uc pref 1 handle 101 \ In tc_flower.sh line 556: flower $tcflags mpls lse depth 1 label 0 action continue ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: flower "$tcflags" mpls lse depth 1 label 0 action continue In tc_flower.sh line 557: tc filter add dev $h2 ingress protocol mpls_uc pref 2 handle 102 \ ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter add dev "$h2" ingress protocol mpls_uc pref 2 handle 102 \ In tc_flower.sh line 558: flower $tcflags mpls lse depth 1 tc 0 action continue ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: flower "$tcflags" mpls lse depth 1 tc 0 action continue In tc_flower.sh line 559: tc filter add dev $h2 ingress protocol mpls_uc pref 3 handle 103 \ ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter add dev "$h2" ingress protocol mpls_uc pref 3 handle 103 \ In tc_flower.sh line 560: flower $tcflags mpls lse depth 1 bos 0 action continue ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: flower "$tcflags" mpls lse depth 1 bos 0 action continue In tc_flower.sh line 561: tc filter add dev $h2 ingress protocol mpls_uc pref 4 handle 104 \ ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter add dev "$h2" ingress protocol mpls_uc pref 4 handle 104 \ In tc_flower.sh line 562: flower $tcflags mpls lse depth 1 ttl 0 action continue ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: flower "$tcflags" mpls lse depth 1 ttl 0 action continue In tc_flower.sh line 565: tc filter add dev $h2 ingress protocol mpls_uc pref 5 handle 105 \ ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter add dev "$h2" ingress protocol mpls_uc pref 5 handle 105 \ In tc_flower.sh line 566: flower $tcflags mpls lse depth 2 label 1048575 action continue ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: flower "$tcflags" mpls lse depth 2 label 1048575 action continue In tc_flower.sh line 567: tc filter add dev $h2 ingress protocol mpls_uc pref 6 handle 106 \ ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter add dev "$h2" ingress protocol mpls_uc pref 6 handle 106 \ In tc_flower.sh line 568: flower $tcflags mpls lse depth 2 tc 7 action continue ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: flower "$tcflags" mpls lse depth 2 tc 7 action continue In tc_flower.sh line 569: tc filter add dev $h2 ingress protocol mpls_uc pref 7 handle 107 \ ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter add dev "$h2" ingress protocol mpls_uc pref 7 handle 107 \ In tc_flower.sh line 570: flower $tcflags mpls lse depth 2 bos 1 action continue ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: flower "$tcflags" mpls lse depth 2 bos 1 action continue In tc_flower.sh line 571: tc filter add dev $h2 ingress protocol mpls_uc pref 8 handle 108 \ ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter add dev "$h2" ingress protocol mpls_uc pref 8 handle 108 \ In tc_flower.sh line 572: flower $tcflags mpls lse depth 2 ttl 255 action continue ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: flower "$tcflags" mpls lse depth 2 ttl 255 action continue In tc_flower.sh line 575: tc filter add dev $h2 ingress protocol mpls_uc pref 9 handle 109 \ ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter add dev "$h2" ingress protocol mpls_uc pref 9 handle 109 \ In tc_flower.sh line 576: flower $tcflags mpls lse depth 1 action continue ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: flower "$tcflags" mpls lse depth 1 action continue In tc_flower.sh line 577: tc filter add dev $h2 ingress protocol mpls_uc pref 10 handle 110 \ ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter add dev "$h2" ingress protocol mpls_uc pref 10 handle 110 \ In tc_flower.sh line 578: flower $tcflags mpls lse depth 2 action continue ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: flower "$tcflags" mpls lse depth 2 action continue In tc_flower.sh line 579: tc filter add dev $h2 ingress protocol mpls_uc pref 11 handle 111 \ ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter add dev "$h2" ingress protocol mpls_uc pref 11 handle 111 \ In tc_flower.sh line 580: flower $tcflags mpls lse depth 3 action continue ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: flower "$tcflags" mpls lse depth 3 action continue In tc_flower.sh line 584: $MZ -c 1 -p 64 -a $h1mac -b $h2mac -q $h1 "$pkt" ^----^ 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 -c 1 -p 64 -a "$h1mac" -b "$h2mac" -q "$h1" "$pkt" In tc_flower.sh line 591: $MZ -c 1 -p 64 -a $h1mac -b $h2mac -q $h1 "$pkt" ^----^ 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 -c 1 -p 64 -a "$h1mac" -b "$h2mac" -q "$h1" "$pkt" In tc_flower.sh line 595: $MZ -c 1 -p 64 -a $h1mac -b $h2mac -q $h1 "$pkt" ^----^ 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 -c 1 -p 64 -a "$h1mac" -b "$h2mac" -q "$h1" "$pkt" In tc_flower.sh line 600: $MZ -c 1 -p 64 -a $h1mac -b $h2mac -q $h1 "$pkt" ^----^ 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 -c 1 -p 64 -a "$h1mac" -b "$h2mac" -q "$h1" "$pkt" In tc_flower.sh line 604: $MZ -c 1 -p 64 -a $h1mac -b $h2mac -q $h1 "$pkt" ^----^ 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 -c 1 -p 64 -a "$h1mac" -b "$h2mac" -q "$h1" "$pkt" In tc_flower.sh line 608: $MZ -c 1 -p 64 -a $h1mac -b $h2mac -q $h1 "$pkt" ^----^ 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 -c 1 -p 64 -a "$h1mac" -b "$h2mac" -q "$h1" "$pkt" In tc_flower.sh line 612: $MZ -c 1 -p 64 -a $h1mac -b $h2mac -q $h1 "$pkt" ^----^ 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 -c 1 -p 64 -a "$h1mac" -b "$h2mac" -q "$h1" "$pkt" In tc_flower.sh line 618: $MZ -c 1 -p 64 -a $h1mac -b $h2mac -q $h1 "$pkt" ^----^ 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 -c 1 -p 64 -a "$h1mac" -b "$h2mac" -q "$h1" "$pkt" In tc_flower.sh line 622: $MZ -c 1 -p 64 -a $h1mac -b $h2mac -q $h1 "$pkt" ^----^ 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 -c 1 -p 64 -a "$h1mac" -b "$h2mac" -q "$h1" "$pkt" In tc_flower.sh line 664: tc filter del dev $h2 ingress protocol mpls_uc pref 11 handle 111 flower ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter del dev "$h2" ingress protocol mpls_uc pref 11 handle 111 flower In tc_flower.sh line 665: tc filter del dev $h2 ingress protocol mpls_uc pref 10 handle 110 flower ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter del dev "$h2" ingress protocol mpls_uc pref 10 handle 110 flower In tc_flower.sh line 666: tc filter del dev $h2 ingress protocol mpls_uc pref 9 handle 109 flower ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter del dev "$h2" ingress protocol mpls_uc pref 9 handle 109 flower In tc_flower.sh line 667: tc filter del dev $h2 ingress protocol mpls_uc pref 8 handle 108 flower ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter del dev "$h2" ingress protocol mpls_uc pref 8 handle 108 flower In tc_flower.sh line 668: tc filter del dev $h2 ingress protocol mpls_uc pref 7 handle 107 flower ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter del dev "$h2" ingress protocol mpls_uc pref 7 handle 107 flower In tc_flower.sh line 669: tc filter del dev $h2 ingress protocol mpls_uc pref 6 handle 106 flower ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter del dev "$h2" ingress protocol mpls_uc pref 6 handle 106 flower In tc_flower.sh line 670: tc filter del dev $h2 ingress protocol mpls_uc pref 5 handle 105 flower ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter del dev "$h2" ingress protocol mpls_uc pref 5 handle 105 flower In tc_flower.sh line 671: tc filter del dev $h2 ingress protocol mpls_uc pref 4 handle 104 flower ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter del dev "$h2" ingress protocol mpls_uc pref 4 handle 104 flower In tc_flower.sh line 672: tc filter del dev $h2 ingress protocol mpls_uc pref 3 handle 103 flower ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter del dev "$h2" ingress protocol mpls_uc pref 3 handle 103 flower In tc_flower.sh line 673: tc filter del dev $h2 ingress protocol mpls_uc pref 2 handle 102 flower ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter del dev "$h2" ingress protocol mpls_uc pref 2 handle 102 flower In tc_flower.sh line 674: tc filter del dev $h2 ingress protocol mpls_uc pref 1 handle 101 flower ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter del dev "$h2" ingress protocol mpls_uc pref 1 handle 101 flower In tc_flower.sh line 683: check_tc_erspan_support $h2 || return 0 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: check_tc_erspan_support "$h2" || return 0 In tc_flower.sh line 686: tunnel_create erspan1 erspan 192.0.2.1 192.0.2.2 dev $h1 seq key 1001 \ ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tunnel_create erspan1 erspan 192.0.2.1 192.0.2.2 dev "$h1" seq key 1001 \ In tc_flower.sh line 688: tunnel_create erspan2 erspan 192.0.2.1 192.0.2.2 dev $h1 seq key 1002 \ ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tunnel_create erspan2 erspan 192.0.2.1 192.0.2.2 dev "$h1" seq key 1002 \ In tc_flower.sh line 691: ip link set dev erspan1 master v$h1 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link set dev erspan1 master v"$h1" In tc_flower.sh line 692: ip link set dev erspan2 master v$h1 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link set dev erspan2 master v"$h1" In tc_flower.sh line 696: ip link set dev ep-ex master v$h2 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link set dev ep-ex master v"$h2" In tc_flower.sh line 701: $tcflags enc_src_ip 192.0.2.1 enc_dst_ip 192.0.2.2 \ ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: "$tcflags" enc_src_ip 192.0.2.1 enc_dst_ip 192.0.2.2 \ In tc_flower.sh line 706: $tcflags enc_src_ip 192.0.2.1 enc_dst_ip 192.0.2.2 \ ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: "$tcflags" enc_src_ip 192.0.2.1 enc_dst_ip 192.0.2.2 \ In tc_flower.sh line 710: $MZ -c 1 -p 64 -a $ep1mac -b $h2mac -t ip -q erspan1 ^-----^ SC2086 (info): Double quote to prevent globbing and word splitting. ^----^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: $MZ -c 1 -p 64 -a "$ep1mac" -b "$h2mac" -t ip -q erspan1 In tc_flower.sh line 714: ep2mac=$(mac_get erspan2) ^----^ SC2034 (warning): ep2mac appears unused. Verify use (or export if used externally). In tc_flower.sh line 715: $MZ -c 1 -p 64 -a $ep1mac -b $h2mac -t ip -q erspan2 ^-----^ SC2086 (info): Double quote to prevent globbing and word splitting. ^----^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: $MZ -c 1 -p 64 -a "$ep1mac" -b "$h2mac" -t ip -q erspan2 In tc_flower.sh line 733: h1mac=$(mac_get $h1) ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: h1mac=$(mac_get "$h1") In tc_flower.sh line 734: h2mac=$(mac_get $h2) ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: h2mac=$(mac_get "$h2") In tc_flower.sh line 759: tc_offload_check ^--------------^ SC2119 (info): Use tc_offload_check "$@" if function's $1 should mean script's $1. In tc_flower.sh line 760: if [[ $? -ne 0 ]]; then ^-- SC2181 (style): Check exit code directly with e.g. 'if ! mycmd;', not indirectly with $?. In tc_flower.sh line 767: 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/SC2034 -- ep2mac appears unused. Verify use... https://www.shellcheck.net/wiki/SC2086 -- Double quote to prevent globbing ... https://www.shellcheck.net/wiki/SC2119 -- Use tc_offload_check "$@" if func... Checking tools/testing/selftests/net/forwarding/tc_flower_cfm.sh - 5c092ce66c0f07bbdec605badcff8a27219ba227023f9515546e63f4ecf7e9a2 In tc_flower_cfm.sh line 11: simple_if_init $h1 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: simple_if_init "$h1" In tc_flower_cfm.sh line 16: simple_if_fini $h1 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: simple_if_fini "$h1" In tc_flower_cfm.sh line 21: simple_if_init $h2 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: simple_if_init "$h2" In tc_flower_cfm.sh line 22: tc qdisc add dev $h2 clsact ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc qdisc add dev "$h2" clsact In tc_flower_cfm.sh line 27: tc qdisc del dev $h2 clsact ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc qdisc del dev "$h2" clsact In tc_flower_cfm.sh line 28: simple_if_fini $h2 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: simple_if_fini "$h2" In tc_flower_cfm.sh line 35: printf "%02x" $u8 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: printf "%02x" "$u8" In tc_flower_cfm.sh line 45: local cfm_hdr=$(: ^-----^ SC2155 (warning): Declare and assign separately to avoid masking return values. In tc_flower_cfm.sh line 46: )"$(u8_to_hex $((mdl << 5))):"$( : MD level and Version ^-- SC2027 (warning): The surrounding quotes actually unquote this. Remove or escape them. In tc_flower_cfm.sh line 47: )"$(u8_to_hex $op):"$( : OpCode ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. ^-- SC2027 (warning): The surrounding quotes actually unquote this. Remove or escape them. Did you mean: )"$(u8_to_hex "$op"):"$( : OpCode In tc_flower_cfm.sh line 48: )"$(u8_to_hex $flags):"$( : Flags ^----^ SC2086 (info): Double quote to prevent globbing and word splitting. ^-- SC2027 (warning): The surrounding quotes actually unquote this. Remove or escape them. Did you mean: )"$(u8_to_hex "$flags"):"$( : Flags In tc_flower_cfm.sh line 49: )"$(u8_to_hex $tlv_offset)"$( : TLV offset ^---------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: )"$(u8_to_hex "$tlv_offset")"$( : TLV offset In tc_flower_cfm.sh line 52: echo $cfm_hdr ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: echo "$cfm_hdr" In tc_flower_cfm.sh line 60: tc filter add dev $h2 ingress protocol cfm pref 1 handle 101 \ ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter add dev "$h2" ingress protocol cfm pref 1 handle 101 \ In tc_flower_cfm.sh line 62: tc filter add dev $h2 ingress protocol cfm pref 1 handle 102 \ ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter add dev "$h2" ingress protocol cfm pref 1 handle 102 \ In tc_flower_cfm.sh line 66: $MZ -c 1 -p 64 -a $h1mac -b $h2mac -q $h1 "$pkt" ^----^ 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 -c 1 -p 64 -a "$h1mac" -b "$h2mac" -q "$h1" "$pkt" In tc_flower_cfm.sh line 68: $MZ -c 1 -p 64 -a $h1mac -b $h2mac -q $h1 "$pkt" ^----^ 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 -c 1 -p 64 -a "$h1mac" -b "$h2mac" -q "$h1" "$pkt" In tc_flower_cfm.sh line 77: $MZ -c 1 -p 64 -a $h1mac -b $h2mac -q $h1 "$pkt" ^----^ 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 -c 1 -p 64 -a "$h1mac" -b "$h2mac" -q "$h1" "$pkt" In tc_flower_cfm.sh line 85: tc filter del dev $h2 ingress protocol cfm pref 1 handle 101 flower ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter del dev "$h2" ingress protocol cfm pref 1 handle 101 flower In tc_flower_cfm.sh line 86: tc filter del dev $h2 ingress protocol cfm pref 1 handle 102 flower ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter del dev "$h2" ingress protocol cfm pref 1 handle 102 flower In tc_flower_cfm.sh line 96: tc filter add dev $h2 ingress protocol cfm pref 1 handle 101 \ ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter add dev "$h2" ingress protocol cfm pref 1 handle 101 \ In tc_flower_cfm.sh line 98: tc filter add dev $h2 ingress protocol cfm pref 1 handle 102 \ ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter add dev "$h2" ingress protocol cfm pref 1 handle 102 \ In tc_flower_cfm.sh line 100: tc filter add dev $h2 ingress protocol cfm pref 1 handle 103 \ ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter add dev "$h2" ingress protocol cfm pref 1 handle 103 \ In tc_flower_cfm.sh line 104: $MZ -c 1 -p 64 -a $h1mac -b $h2mac -q $h1 "$pkt" ^----^ 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 -c 1 -p 64 -a "$h1mac" -b "$h2mac" -q "$h1" "$pkt" In tc_flower_cfm.sh line 106: $MZ -c 1 -p 64 -a $h1mac -b $h2mac -q $h1 "$pkt" ^----^ 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 -c 1 -p 64 -a "$h1mac" -b "$h2mac" -q "$h1" "$pkt" In tc_flower_cfm.sh line 108: $MZ -c 1 -p 64 -a $h1mac -b $h2mac -q $h1 "$pkt" ^----^ 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 -c 1 -p 64 -a "$h1mac" -b "$h2mac" -q "$h1" "$pkt" In tc_flower_cfm.sh line 120: $MZ -c 1 -p 64 -a $h1mac -b $h2mac -q $h1 "$pkt" ^----^ 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 -c 1 -p 64 -a "$h1mac" -b "$h2mac" -q "$h1" "$pkt" In tc_flower_cfm.sh line 131: tc filter del dev $h2 ingress protocol cfm pref 1 handle 101 flower ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter del dev "$h2" ingress protocol cfm pref 1 handle 101 flower In tc_flower_cfm.sh line 132: tc filter del dev $h2 ingress protocol cfm pref 1 handle 102 flower ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter del dev "$h2" ingress protocol cfm pref 1 handle 102 flower In tc_flower_cfm.sh line 133: tc filter del dev $h2 ingress protocol cfm pref 1 handle 103 flower ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter del dev "$h2" ingress protocol cfm pref 1 handle 103 flower In tc_flower_cfm.sh line 143: tc filter add dev $h2 ingress protocol cfm pref 1 handle 101 \ ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter add dev "$h2" ingress protocol cfm pref 1 handle 101 \ In tc_flower_cfm.sh line 145: tc filter add dev $h2 ingress protocol cfm pref 1 handle 102 \ ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter add dev "$h2" ingress protocol cfm pref 1 handle 102 \ In tc_flower_cfm.sh line 149: $MZ -c 1 -p 64 -a $h1mac -b $h2mac -q $h1 "$pkt" ^----^ 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 -c 1 -p 64 -a "$h1mac" -b "$h2mac" -q "$h1" "$pkt" In tc_flower_cfm.sh line 151: $MZ -c 1 -p 64 -a $h1mac -b $h2mac -q $h1 "$pkt" ^----^ 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 -c 1 -p 64 -a "$h1mac" -b "$h2mac" -q "$h1" "$pkt" In tc_flower_cfm.sh line 153: $MZ -c 1 -p 64 -a $h1mac -b $h2mac -q $h1 "$pkt" ^----^ 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 -c 1 -p 64 -a "$h1mac" -b "$h2mac" -q "$h1" "$pkt" In tc_flower_cfm.sh line 162: $MZ -c 1 -p 64 -a $h1mac -b $h2mac -q $h1 "$pkt" ^----^ 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 -c 1 -p 64 -a "$h1mac" -b "$h2mac" -q "$h1" "$pkt" In tc_flower_cfm.sh line 170: tc filter del dev $h2 ingress protocol cfm pref 1 handle 101 flower ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter del dev "$h2" ingress protocol cfm pref 1 handle 101 flower In tc_flower_cfm.sh line 171: tc filter del dev $h2 ingress protocol cfm pref 1 handle 102 flower ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter del dev "$h2" ingress protocol cfm pref 1 handle 102 flower In tc_flower_cfm.sh line 180: h1mac=$(mac_get $h1) ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: h1mac=$(mac_get "$h1") In tc_flower_cfm.sh line 181: h2mac=$(mac_get $h2) ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: h2mac=$(mac_get "$h2") In tc_flower_cfm.sh line 206: 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/SC2027 -- The surrounding quotes actually u... https://www.shellcheck.net/wiki/SC2155 -- Declare and assign separately to ... https://www.shellcheck.net/wiki/SC2086 -- Double quote to prevent globbing ... 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 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 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 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 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 -a own -b $dmac -t ip -A $sip -B $dip -c 1 -p 100 -q $h1 ^---^ 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 -a own -b "$dmac" -t ip -A "$sip" -B "$dip" -c 1 -p 100 -q "$h1" 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 -a own -b $dmac -t ip -A $sip -B $dip -c 1 -p 100 -q $h1 ^---^ 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 -a own -b "$dmac" -t ip -A "$sip" -B "$dip" -c 1 -p 100 -q "$h1" 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 -a own -b $dmac -t ip -A $sip -B $dip -c 1 -p 100 -q $h1 ^---^ 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 -a own -b "$dmac" -t ip -A "$sip" -B "$dip" -c 1 -p 100 -q "$h1" 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 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 -a own -b $dmac -t ip -A $sip -B $dip -c 1 -p 100 -q $h1 ^---^ 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" -a own -b "$dmac" -t ip -A "$sip" -B "$dip" -c 1 -p 100 -q "$h1" 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 -a own -b $dmac -t ip -A $sip -B $dip -c 1 -p 100 -q $h1 ^---^ 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" -a own -b "$dmac" -t ip -A "$sip" -B "$dip" -c 1 -p 100 -q "$h1" 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 -a own -b $dmac -t ip -A $sip -B $dip -c 1 -p 100 -q $h1 ^---^ 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" -a own -b "$dmac" -t ip -A "$sip" -B "$dip" -c 1 -p 100 -q "$h1" 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 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 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 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 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 -a own -b $dmac -t ip -A $sip -B $dip -c 1 -p 100 -q $h1 ^---^ 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" -a own -b "$dmac" -t ip -A "$sip" -B "$dip" -c 1 -p 100 -q "$h1" 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 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 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 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 -a $smac -b $dmac -c 1 -p 100 -q $h1 ^---^ 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 -a "$smac" -b "$dmac" -c 1 -p 100 -q "$h1" 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 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 ... Checking tools/testing/selftests/net/forwarding/tc_flower_port_range.sh - 56066df27fb185a5fce090bdeb8c62fafff5e434675e5e537f15d46724fdf7e1 In tc_flower_port_range.sh line 32: 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_port_range.sh line 37: 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_port_range.sh line 42: 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_port_range.sh line 47: 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_port_range.sh line 53: 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_port_range.sh line 54: 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_port_range.sh line 55: 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_port_range.sh line 56: 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_port_range.sh line 59: tc qdisc add dev $swp1 clsact ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc qdisc add dev "$swp1" clsact In tc_flower_port_range.sh line 60: 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_port_range.sh line 65: 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_port_range.sh line 66: tc qdisc del dev $swp1 clsact ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc qdisc del dev "$swp1" clsact In tc_flower_port_range.sh line 69: 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_port_range.sh line 70: 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_port_range.sh line 71: 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_port_range.sh line 72: 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_port_range.sh line 84: local dmac=$(mac_get $h2) ^--^ 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 dmac=$(mac_get "$h2") In tc_flower_port_range.sh line 85: local smac=$(mac_get $h1) ^--^ 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 smac=$(mac_get "$h1") In tc_flower_port_range.sh line 95: tc filter add dev $swp1 ingress 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 "$swp1" ingress protocol "$proto" handle 101 pref 1 \ In tc_flower_port_range.sh line 96: flower src_ip $sip dst_ip $dip ip_proto $ip_proto \ ^--^ 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 src_ip "$sip" dst_ip "$dip" ip_proto "$ip_proto" \ In tc_flower_port_range.sh line 97: src_port $sport_min-$sport_max \ ^--------^ SC2086 (info): Double quote to prevent globbing and word splitting. ^--------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: src_port "$sport_min"-"$sport_max" \ In tc_flower_port_range.sh line 98: dst_port $dport_min-$dport_max \ ^--------^ SC2086 (info): Double quote to prevent globbing and word splitting. ^--------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: dst_port "$dport_min"-"$dport_max" \ In tc_flower_port_range.sh line 100: 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_port_range.sh line 101: flower src_ip $sip dst_ip $dip ip_proto $ip_proto \ ^--^ 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 src_ip "$sip" dst_ip "$dip" ip_proto "$ip_proto" \ In tc_flower_port_range.sh line 102: src_port $sport_min-$sport_max \ ^--------^ SC2086 (info): Double quote to prevent globbing and word splitting. ^--------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: src_port "$sport_min"-"$sport_max" \ In tc_flower_port_range.sh line 103: dst_port $dport_min-$dport_max \ ^--------^ SC2086 (info): Double quote to prevent globbing and word splitting. ^--------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: dst_port "$dport_min"-"$dport_max" \ In tc_flower_port_range.sh line 106: $MZ $mode -c 1 -q -p 100 -a $smac -b $dmac -A $sip -B $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. ^--^ 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" -c 1 -q -p 100 -a "$smac" -b "$dmac" -A "$sip" -B "$dip" \ In tc_flower_port_range.sh line 107: -t $ip_proto $h1 "sp=$sport_min,dp=$dport_min" ^-------^ SC2086 (info): Double quote to prevent globbing and word splitting. ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: -t "$ip_proto" "$h1" "sp=$sport_min,dp=$dport_min" In tc_flower_port_range.sh line 113: $MZ $mode -c 1 -q -p 100 -a $smac -b $dmac -A $sip -B $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. ^--^ 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" -c 1 -q -p 100 -a "$smac" -b "$dmac" -A "$sip" -B "$dip" \ In tc_flower_port_range.sh line 114: -t $ip_proto $h1 "sp=$sport_mid,dp=$dport_mid" ^-------^ SC2086 (info): Double quote to prevent globbing and word splitting. ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: -t "$ip_proto" "$h1" "sp=$sport_mid,dp=$dport_mid" In tc_flower_port_range.sh line 120: $MZ $mode -c 1 -q -p 100 -a $smac -b $dmac -A $sip -B $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. ^--^ 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" -c 1 -q -p 100 -a "$smac" -b "$dmac" -A "$sip" -B "$dip" \ In tc_flower_port_range.sh line 121: -t $ip_proto $h1 "sp=$sport_max,dp=$dport_max" ^-------^ SC2086 (info): Double quote to prevent globbing and word splitting. ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: -t "$ip_proto" "$h1" "sp=$sport_max,dp=$dport_max" In tc_flower_port_range.sh line 129: $MZ $mode -c 1 -q -p 100 -a $smac -b $dmac -A $sip -B $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. ^--^ 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" -c 1 -q -p 100 -a "$smac" -b "$dmac" -A "$sip" -B "$dip" \ In tc_flower_port_range.sh line 130: -t $ip_proto $h1 "sp=$((sport_min - 1)),dp=$dport_min" ^-------^ SC2086 (info): Double quote to prevent globbing and word splitting. ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: -t "$ip_proto" "$h1" "sp=$((sport_min - 1)),dp=$dport_min" In tc_flower_port_range.sh line 131: $MZ $mode -c 1 -q -p 100 -a $smac -b $dmac -A $sip -B $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. ^--^ 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" -c 1 -q -p 100 -a "$smac" -b "$dmac" -A "$sip" -B "$dip" \ In tc_flower_port_range.sh line 132: -t $ip_proto $h1 "sp=$((sport_max + 1)),dp=$dport_min" ^-------^ SC2086 (info): Double quote to prevent globbing and word splitting. ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: -t "$ip_proto" "$h1" "sp=$((sport_max + 1)),dp=$dport_min" In tc_flower_port_range.sh line 133: $MZ $mode -c 1 -q -p 100 -a $smac -b $dmac -A $sip -B $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. ^--^ 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" -c 1 -q -p 100 -a "$smac" -b "$dmac" -A "$sip" -B "$dip" \ In tc_flower_port_range.sh line 134: -t $ip_proto $h1 "sp=$sport_min,dp=$((dport_min - 1))" ^-------^ SC2086 (info): Double quote to prevent globbing and word splitting. ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: -t "$ip_proto" "$h1" "sp=$sport_min,dp=$((dport_min - 1))" In tc_flower_port_range.sh line 135: $MZ $mode -c 1 -q -p 100 -a $smac -b $dmac -A $sip -B $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. ^--^ 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" -c 1 -q -p 100 -a "$smac" -b "$dmac" -A "$sip" -B "$dip" \ In tc_flower_port_range.sh line 136: -t $ip_proto $h1 "sp=$sport_min,dp=$((dport_max + 1))" ^-------^ SC2086 (info): Double quote to prevent globbing and word splitting. ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: -t "$ip_proto" "$h1" "sp=$sport_min,dp=$((dport_max + 1))" In tc_flower_port_range.sh line 137: $MZ $mode -c 1 -q -p 100 -a $smac -b $dmac -A $sip -B $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. ^--^ 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" -c 1 -q -p 100 -a "$smac" -b "$dmac" -A "$sip" -B "$dip" \ In tc_flower_port_range.sh line 138: -t $ip_proto $h1 "sp=$((sport_max + 1)),dp=$((dport_max + 1))" ^-------^ SC2086 (info): Double quote to prevent globbing and word splitting. ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: -t "$ip_proto" "$h1" "sp=$((sport_max + 1)),dp=$((dport_max + 1))" In tc_flower_port_range.sh line 144: 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_port_range.sh line 145: tc filter del dev $swp1 ingress 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 "$swp1" ingress protocol "$proto" pref 1 handle 101 flower In tc_flower_port_range.sh line 159: __test_port_range $proto $ip_proto $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. Did you mean: __test_port_range "$proto" "$ip_proto" "$sip" "$dip" "$mode" "$name" In tc_flower_port_range.sh line 171: __test_port_range $proto $ip_proto $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. Did you mean: __test_port_range "$proto" "$ip_proto" "$sip" "$dip" "$mode" "$name" In tc_flower_port_range.sh line 183: __test_port_range $proto $ip_proto $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. Did you mean: __test_port_range "$proto" "$ip_proto" "$sip" "$dip" "$mode" "$name" In tc_flower_port_range.sh line 195: __test_port_range $proto $ip_proto $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. Did you mean: __test_port_range "$proto" "$ip_proto" "$sip" "$dip" "$mode" "$name" In tc_flower_port_range.sh line 206: local dmac=$(mac_get $h2) ^--^ 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 dmac=$(mac_get "$h2") In tc_flower_port_range.sh line 207: local smac=$(mac_get $h1) ^--^ 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 smac=$(mac_get "$h1") In tc_flower_port_range.sh line 215: tc filter add dev $swp1 ingress 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 "$swp1" ingress protocol "$proto" handle 101 pref 1 \ In tc_flower_port_range.sh line 216: flower src_ip $sip dst_ip $dip ip_proto $ip_proto \ ^--^ 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 src_ip "$sip" dst_ip "$dip" ip_proto "$ip_proto" \ In tc_flower_port_range.sh line 217: src_port $sport_min-$sport_max \ ^--------^ SC2086 (info): Double quote to prevent globbing and word splitting. ^--------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: src_port "$sport_min"-"$sport_max" \ In tc_flower_port_range.sh line 218: dst_port $dport \ ^----^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: dst_port "$dport" \ In tc_flower_port_range.sh line 222: $MZ $mode -c 1 -q -p 100 -a $smac -b $dmac -A $sip -B $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. ^--^ 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" -c 1 -q -p 100 -a "$smac" -b "$dmac" -A "$sip" -B "$dip" \ In tc_flower_port_range.sh line 223: -t $ip_proto $h1 "sp=$((sport_min - 1)),dp=$dport" ^-------^ SC2086 (info): Double quote to prevent globbing and word splitting. ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: -t "$ip_proto" "$h1" "sp=$((sport_min - 1)),dp=$dport" In tc_flower_port_range.sh line 224: $MZ $mode -c 1 -q -p 100 -a $smac -b $dmac -A $sip -B $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. ^--^ 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" -c 1 -q -p 100 -a "$smac" -b "$dmac" -A "$sip" -B "$dip" \ In tc_flower_port_range.sh line 225: -t $ip_proto $h1 "sp=$((sport_max + 1)),dp=$dport" ^-------^ SC2086 (info): Double quote to prevent globbing and word splitting. ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: -t "$ip_proto" "$h1" "sp=$((sport_max + 1)),dp=$dport" In tc_flower_port_range.sh line 228: $MZ $mode -c 1 -q -p 100 -a $smac -b $dmac -A $sip -B $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. ^--^ 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" -c 1 -q -p 100 -a "$smac" -b "$dmac" -A "$sip" -B "$dip" \ In tc_flower_port_range.sh line 229: -t $ip_proto $h1 "sp=$sport_min,dp=$dport" ^-------^ SC2086 (info): Double quote to prevent globbing and word splitting. ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: -t "$ip_proto" "$h1" "sp=$sport_min,dp=$dport" In tc_flower_port_range.sh line 230: $MZ $mode -c 1 -q -p 100 -a $smac -b $dmac -A $sip -B $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. ^--^ 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" -c 1 -q -p 100 -a "$smac" -b "$dmac" -A "$sip" -B "$dip" \ In tc_flower_port_range.sh line 231: -t $ip_proto $h1 "sp=$sport_mid,dp=$dport" ^-------^ SC2086 (info): Double quote to prevent globbing and word splitting. ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: -t "$ip_proto" "$h1" "sp=$sport_mid,dp=$dport" In tc_flower_port_range.sh line 232: $MZ $mode -c 1 -q -p 100 -a $smac -b $dmac -A $sip -B $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. ^--^ 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" -c 1 -q -p 100 -a "$smac" -b "$dmac" -A "$sip" -B "$dip" \ In tc_flower_port_range.sh line 233: -t $ip_proto $h1 "sp=$sport_max,dp=$dport" ^-------^ SC2086 (info): Double quote to prevent globbing and word splitting. ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: -t "$ip_proto" "$h1" "sp=$sport_max,dp=$dport" In tc_flower_port_range.sh line 238: tc filter del dev $swp1 ingress 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 "$swp1" ingress protocol "$proto" pref 1 handle 101 flower In tc_flower_port_range.sh line 274: 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 ... Checking tools/testing/selftests/net/forwarding/tc_flower_router.sh - aebbfe1990b954a4e7a857d84413b7fb804c10ad045d6c4fd8e123515e28d3f2 In tc_flower_router.sh line 11: simple_if_init $h1 192.0.1.1/24 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: simple_if_init "$h1" 192.0.1.1/24 In tc_flower_router.sh line 13: ip route add 192.0.2.0/24 vrf v$h1 nexthop via 192.0.1.2 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip route add 192.0.2.0/24 vrf v"$h1" nexthop via 192.0.1.2 In tc_flower_router.sh line 14: ip route add 192.0.3.0/24 vrf v$h1 nexthop via 192.0.1.2 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip route add 192.0.3.0/24 vrf v"$h1" nexthop via 192.0.1.2 In tc_flower_router.sh line 19: ip route del 192.0.3.0/24 vrf v$h1 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip route del 192.0.3.0/24 vrf v"$h1" In tc_flower_router.sh line 20: ip route del 192.0.2.0/24 vrf v$h1 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip route del 192.0.2.0/24 vrf v"$h1" In tc_flower_router.sh line 22: simple_if_fini $h1 192.0.1.1/24 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: simple_if_fini "$h1" 192.0.1.1/24 In tc_flower_router.sh line 27: simple_if_init $h2 192.0.2.1/24 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: simple_if_init "$h2" 192.0.2.1/24 In tc_flower_router.sh line 29: ip route add 192.0.1.0/24 vrf v$h2 nexthop via 192.0.2.2 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip route add 192.0.1.0/24 vrf v"$h2" nexthop via 192.0.2.2 In tc_flower_router.sh line 30: ip route add 192.0.3.0/24 vrf v$h2 nexthop via 192.0.2.2 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip route add 192.0.3.0/24 vrf v"$h2" nexthop via 192.0.2.2 In tc_flower_router.sh line 35: ip route del 192.0.3.0/24 vrf v$h2 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip route del 192.0.3.0/24 vrf v"$h2" In tc_flower_router.sh line 36: ip route del 192.0.1.0/24 vrf v$h2 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip route del 192.0.1.0/24 vrf v"$h2" In tc_flower_router.sh line 38: simple_if_fini $h2 192.0.2.1/24 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: simple_if_fini "$h2" 192.0.2.1/24 In tc_flower_router.sh line 43: simple_if_init $h3 192.0.3.1/24 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: simple_if_init "$h3" 192.0.3.1/24 In tc_flower_router.sh line 45: ip route add 192.0.1.0/24 vrf v$h3 nexthop via 192.0.3.2 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip route add 192.0.1.0/24 vrf v"$h3" nexthop via 192.0.3.2 In tc_flower_router.sh line 46: ip route add 192.0.2.0/24 vrf v$h3 nexthop via 192.0.3.2 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip route add 192.0.2.0/24 vrf v"$h3" nexthop via 192.0.3.2 In tc_flower_router.sh line 51: ip route del 192.0.2.0/24 vrf v$h3 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip route del 192.0.2.0/24 vrf v"$h3" In tc_flower_router.sh line 52: ip route del 192.0.1.0/24 vrf v$h3 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip route del 192.0.1.0/24 vrf v"$h3" In tc_flower_router.sh line 54: simple_if_fini $h3 192.0.3.1/24 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: simple_if_fini "$h3" 192.0.3.1/24 In tc_flower_router.sh line 60: ip link set dev $rp1 up ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link set dev "$rp1" up In tc_flower_router.sh line 61: ip link set dev $rp2 up ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link set dev "$rp2" up In tc_flower_router.sh line 62: ip link set dev $rp3 up ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link set dev "$rp3" up In tc_flower_router.sh line 64: tc qdisc add dev $rp3 clsact ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc qdisc add dev "$rp3" clsact In tc_flower_router.sh line 66: ip address add 192.0.1.2/24 dev $rp1 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip address add 192.0.1.2/24 dev "$rp1" In tc_flower_router.sh line 67: ip address add 192.0.2.2/24 dev $rp2 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip address add 192.0.2.2/24 dev "$rp2" In tc_flower_router.sh line 68: ip address add 192.0.3.2/24 dev $rp3 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip address add 192.0.3.2/24 dev "$rp3" In tc_flower_router.sh line 73: ip address del 192.0.3.2/24 dev $rp3 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip address del 192.0.3.2/24 dev "$rp3" In tc_flower_router.sh line 74: ip address del 192.0.2.2/24 dev $rp2 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip address del 192.0.2.2/24 dev "$rp2" In tc_flower_router.sh line 75: ip address del 192.0.1.2/24 dev $rp1 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip address del 192.0.1.2/24 dev "$rp1" In tc_flower_router.sh line 77: tc qdisc del dev $rp3 clsact ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc qdisc del dev "$rp3" clsact In tc_flower_router.sh line 79: ip link set dev $rp3 down ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link set dev "$rp3" down In tc_flower_router.sh line 80: ip link set dev $rp2 down ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link set dev "$rp2" down In tc_flower_router.sh line 81: ip link set dev $rp1 down ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link set dev "$rp1" down In tc_flower_router.sh line 88: tc filter add dev $rp3 egress protocol ip pref 1 handle 101 flower \ ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter add dev "$rp3" egress protocol ip pref 1 handle 101 flower \ In tc_flower_router.sh line 89: $tcflags indev $rp1 dst_ip 192.0.3.1 action drop ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: "$tcflags" indev "$rp1" dst_ip 192.0.3.1 action drop In tc_flower_router.sh line 90: tc filter add dev $rp3 egress protocol ip pref 2 handle 102 flower \ ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter add dev "$rp3" egress protocol ip pref 2 handle 102 flower \ In tc_flower_router.sh line 91: $tcflags indev $rp2 dst_ip 192.0.3.1 action drop ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: "$tcflags" indev "$rp2" dst_ip 192.0.3.1 action drop In tc_flower_router.sh line 93: $MZ -c 1 -p 64 -a $h1mac -b $rp1mac -A 192.0.1.1 -B 192.0.3.1 \ ^----^ SC2086 (info): Double quote to prevent globbing and word splitting. ^-----^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: $MZ -c 1 -p 64 -a "$h1mac" -b "$rp1mac" -A 192.0.1.1 -B 192.0.3.1 \ In tc_flower_router.sh line 94: -t ip -q $h1 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: -t ip -q "$h1" In tc_flower_router.sh line 102: $MZ -c 1 -p 64 -a $h2mac -b $rp2mac -A 192.0.2.1 -B 192.0.3.1 \ ^----^ SC2086 (info): Double quote to prevent globbing and word splitting. ^-----^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: $MZ -c 1 -p 64 -a "$h2mac" -b "$rp2mac" -A 192.0.2.1 -B 192.0.3.1 \ In tc_flower_router.sh line 103: -t ip -q $h2 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: -t ip -q "$h2" In tc_flower_router.sh line 111: tc filter del dev $rp3 egress protocol ip pref 2 handle 102 flower ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter del dev "$rp3" egress protocol ip pref 2 handle 102 flower In tc_flower_router.sh line 112: tc filter del dev $rp3 egress protocol ip pref 1 handle 101 flower ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter del dev "$rp3" egress protocol ip pref 1 handle 101 flower In tc_flower_router.sh line 128: h1mac=$(mac_get $h1) ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: h1mac=$(mac_get "$h1") In tc_flower_router.sh line 129: rp1mac=$(mac_get $rp1) ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: rp1mac=$(mac_get "$rp1") In tc_flower_router.sh line 130: h2mac=$(mac_get $h2) ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: h2mac=$(mac_get "$h2") In tc_flower_router.sh line 131: rp2mac=$(mac_get $rp2) ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: rp2mac=$(mac_get "$rp2") In tc_flower_router.sh line 164: tc_offload_check ^--------------^ SC2119 (info): Use tc_offload_check "$@" if function's $1 should mean script's $1. In tc_flower_router.sh line 165: if [[ $? -ne 0 ]]; then ^-- SC2181 (style): Check exit code directly with e.g. 'if ! mycmd;', not indirectly with $?. In tc_flower_router.sh line 172: 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/SC2119 -- Use tc_offload_check "$@" if func... https://www.shellcheck.net/wiki/SC2181 -- Check exit code directly with e.g... Checking tools/testing/selftests/net/forwarding/tc_shblocks.sh - c02df840fb749e317bfbfeccb98df1556a6ed1f7b61afeefec1f20d78415f7dc In tc_shblocks.sh line 13: simple_if_init $h1 192.0.2.1/24 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: simple_if_init "$h1" 192.0.2.1/24 In tc_shblocks.sh line 18: simple_if_fini $h1 192.0.2.1/24 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: simple_if_fini "$h1" 192.0.2.1/24 In tc_shblocks.sh line 23: simple_if_init $h2 192.0.2.1/24 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: simple_if_init "$h2" 192.0.2.1/24 In tc_shblocks.sh line 28: simple_if_fini $h2 192.0.2.1/24 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: simple_if_fini "$h2" 192.0.2.1/24 In tc_shblocks.sh line 33: simple_if_init $swp1 192.0.2.2/24 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: simple_if_init "$swp1" 192.0.2.2/24 In tc_shblocks.sh line 34: tc qdisc add dev $swp1 ingress_block 22 egress_block 23 clsact ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc qdisc add dev "$swp1" ingress_block 22 egress_block 23 clsact In tc_shblocks.sh line 36: simple_if_init $swp2 192.0.2.2/24 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: simple_if_init "$swp2" 192.0.2.2/24 In tc_shblocks.sh line 37: tc qdisc add dev $swp2 ingress_block 22 egress_block 23 clsact ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc qdisc add dev "$swp2" ingress_block 22 egress_block 23 clsact In tc_shblocks.sh line 42: 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_shblocks.sh line 43: simple_if_fini $swp2 192.0.2.2/24 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: simple_if_fini "$swp2" 192.0.2.2/24 In tc_shblocks.sh line 45: tc qdisc del dev $swp1 clsact ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc qdisc del dev "$swp1" clsact In tc_shblocks.sh line 46: simple_if_fini $swp1 192.0.2.2/24 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: simple_if_fini "$swp1" 192.0.2.2/24 In tc_shblocks.sh line 54: $tcflags dst_ip 192.0.2.2 action drop ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: "$tcflags" dst_ip 192.0.2.2 action drop In tc_shblocks.sh line 56: $MZ -c 1 -p 64 -a $h1mac -b $swmac -A 192.0.2.1 -B 192.0.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 -c 1 -p 64 -a "$h1mac" -b "$swmac" -A 192.0.2.1 -B 192.0.2.2 \ In tc_shblocks.sh line 57: -t ip -q $h1 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: -t ip -q "$h1" In tc_shblocks.sh line 62: $MZ -c 1 -p 64 -a $h2mac -b $swmac -A 192.0.2.1 -B 192.0.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 -c 1 -p 64 -a "$h2mac" -b "$swmac" -A 192.0.2.1 -B 192.0.2.2 \ In tc_shblocks.sh line 63: -t ip -q $h2 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: -t ip -q "$h2" In tc_shblocks.sh line 78: $tcflags indev $swp1 dst_mac $swmac action drop ^------^ 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: "$tcflags" indev "$swp1" dst_mac "$swmac" action drop In tc_shblocks.sh line 80: $tcflags indev $swp2 dst_mac $swmac action drop ^------^ 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: "$tcflags" indev "$swp2" dst_mac "$swmac" action drop In tc_shblocks.sh line 82: $MZ -c 1 -p 64 -a $h1mac -b $swmac -A 192.0.2.1 -B 192.0.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 -c 1 -p 64 -a "$h1mac" -b "$swmac" -A 192.0.2.1 -B 192.0.2.2 \ In tc_shblocks.sh line 83: -t ip -q $h1 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: -t ip -q "$h1" In tc_shblocks.sh line 88: $MZ -c 1 -p 64 -a $h2mac -b $swmac -A 192.0.2.1 -B 192.0.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 -c 1 -p 64 -a "$h2mac" -b "$swmac" -A 192.0.2.1 -B 192.0.2.2 \ In tc_shblocks.sh line 89: -t ip -q $h2 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: -t ip -q "$h2" In tc_shblocks.sh line 108: h1mac=$(mac_get $h1) ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: h1mac=$(mac_get "$h1") In tc_shblocks.sh line 109: h2mac=$(mac_get $h2) ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: h2mac=$(mac_get "$h2") In tc_shblocks.sh line 111: swmac=$(mac_get $swp1) ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: swmac=$(mac_get "$swp1") In tc_shblocks.sh line 112: swp2origmac=$(mac_get $swp2) ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: swp2origmac=$(mac_get "$swp2") In tc_shblocks.sh line 113: ip link set $swp2 address $swmac ^---^ 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 "$swp2" address "$swmac" In tc_shblocks.sh line 132: ip link set $swp2 address $swp2origmac ^---^ 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 "$swp2" address "$swp2origmac" In tc_shblocks.sh line 144: tc_offload_check ^--------------^ SC2119 (info): Use tc_offload_check "$@" if function's $1 should mean script's $1. In tc_shblocks.sh line 145: if [[ $? -ne 0 ]]; then ^-- SC2181 (style): Check exit code directly with e.g. 'if ! mycmd;', not indirectly with $?. In tc_shblocks.sh line 152: 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/SC2119 -- Use tc_offload_check "$@" if func... https://www.shellcheck.net/wiki/SC2181 -- Check exit code directly with e.g... Checking tools/testing/selftests/net/forwarding/tc_tunnel_key.sh - 1b7d6f0217a1a169245cccc0fc463e72a743347bb0b49f2dc906234a9485ecb9 In tc_tunnel_key.sh line 14: simple_if_init $h1 192.0.2.1/24 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: simple_if_init "$h1" 192.0.2.1/24 In tc_tunnel_key.sh line 16: mtu_set $h1 1500 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: mtu_set "$h1" 1500 In tc_tunnel_key.sh line 17: tunnel_create h1-et vxlan 192.0.2.1 192.0.2.2 dev $h1 dstport 0 external ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tunnel_create h1-et vxlan 192.0.2.1 192.0.2.2 dev "$h1" dstport 0 external In tc_tunnel_key.sh line 20: mtu_restore $h1 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: mtu_restore "$h1" In tc_tunnel_key.sh line 21: mtu_set $h1 1000 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: mtu_set "$h1" 1000 In tc_tunnel_key.sh line 29: mtu_restore $h1 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: mtu_restore "$h1" In tc_tunnel_key.sh line 30: simple_if_fini $h1 192.0.2.1/24 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: simple_if_fini "$h1" 192.0.2.1/24 In tc_tunnel_key.sh line 35: simple_if_init $h2 192.0.2.2/24 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: simple_if_init "$h2" 192.0.2.2/24 In tc_tunnel_key.sh line 40: simple_if_fini $h2 192.0.2.2/24 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: simple_if_fini "$h2" 192.0.2.2/24 In tc_tunnel_key.sh line 45: simple_if_init $swp1 192.0.2.2/24 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: simple_if_init "$swp1" 192.0.2.2/24 In tc_tunnel_key.sh line 46: tc qdisc add dev $swp1 clsact ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc qdisc add dev "$swp1" clsact In tc_tunnel_key.sh line 47: simple_if_init $swp2 192.0.2.1/24 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: simple_if_init "$swp2" 192.0.2.1/24 In tc_tunnel_key.sh line 52: simple_if_fini $swp2 192.0.2.1/24 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: simple_if_fini "$swp2" 192.0.2.1/24 In tc_tunnel_key.sh line 53: tc qdisc del dev $swp1 clsact ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc qdisc del dev "$swp1" clsact In tc_tunnel_key.sh line 54: simple_if_fini $swp1 192.0.2.2/24 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: simple_if_fini "$swp1" 192.0.2.2/24 In tc_tunnel_key.sh line 65: h1mac=$(mac_get $h1) ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: h1mac=$(mac_get "$h1") In tc_tunnel_key.sh line 66: h2mac=$(mac_get $h2) ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: h2mac=$(mac_get "$h2") In tc_tunnel_key.sh line 68: swp1origmac=$(mac_get $swp1) ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: swp1origmac=$(mac_get "$swp1") In tc_tunnel_key.sh line 69: swp2origmac=$(mac_get $swp2) ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: swp2origmac=$(mac_get "$swp2") In tc_tunnel_key.sh line 70: ip link set $swp1 address $h2mac ^---^ 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 "$swp1" address "$h2mac" In tc_tunnel_key.sh line 71: ip link set $swp2 address $h1mac ^---^ 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 "$swp2" address "$h1mac" In tc_tunnel_key.sh line 95: ip link set $swp2 address $swp2origmac ^---^ 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 "$swp2" address "$swp2origmac" In tc_tunnel_key.sh line 96: ip link set $swp1 address $swp1origmac ^---^ 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 "$swp1" address "$swp1origmac" In tc_tunnel_key.sh line 104: tc filter add dev $swp1 ingress protocol ip pref 100 handle 100 \ ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter add dev "$swp1" ingress protocol ip pref 100 handle 100 \ In tc_tunnel_key.sh line 107: tc filter add dev $swp1 ingress protocol ip pref 101 handle 101 \ ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter add dev "$swp1" ingress protocol ip pref 101 handle 101 \ In tc_tunnel_key.sh line 110: tc filter add dev $swp1 ingress protocol ip pref 102 handle 102 \ ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter add dev "$swp1" ingress protocol ip pref 102 handle 102 \ In tc_tunnel_key.sh line 115: tc filter add dev h1-et egress protocol all pref 1 handle 1 matchall $tcflags \ ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter add dev h1-et egress protocol all pref 1 handle 1 matchall "$tcflags" \ In tc_tunnel_key.sh line 140: tc filter del dev $swp1 ingress protocol ip pref $i handle $i flower ^---^ 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: tc filter del dev "$swp1" ingress protocol ip pref "$i" handle "$i" flower In tc_tunnel_key.sh line 154: tc_offload_check ^--------------^ SC2119 (info): Use tc_offload_check "$@" if function's $1 should mean script's $1. In tc_tunnel_key.sh line 155: if [[ $? -ne 0 ]]; then ^-- SC2181 (style): Check exit code directly with e.g. 'if ! mycmd;', not indirectly with $?. In tc_tunnel_key.sh line 162: 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/SC2119 -- Use tc_offload_check "$@" if func... https://www.shellcheck.net/wiki/SC2181 -- Check exit code directly with e.g... Checking tools/testing/selftests/net/forwarding/vxlan_bridge_1d.sh - 1cd9fbdd2848b0dfcba83240768117d913f847dcff97fe8acaf32c7c7b42f463 In vxlan_bridge_1d.sh line 64: : ${VXPORT:=4789} ^-------------^ SC2223 (info): This default assignment may cause DoS due to globbing. Quote it. In vxlan_bridge_1d.sh line 67: : ${ALL_TESTS:=" ^-- SC2223 (info): This default assignment may cause DoS due to globbing. Quote it. In vxlan_bridge_1d.sh line 87: simple_if_init $h1 192.0.2.1/28 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: simple_if_init "$h1" 192.0.2.1/28 In vxlan_bridge_1d.sh line 88: tc qdisc add dev $h1 clsact ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc qdisc add dev "$h1" clsact In vxlan_bridge_1d.sh line 93: tc qdisc del dev $h1 clsact ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc qdisc del dev "$h1" clsact In vxlan_bridge_1d.sh line 94: 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 vxlan_bridge_1d.sh line 99: simple_if_init $h2 192.0.2.2/28 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: simple_if_init "$h2" 192.0.2.2/28 In vxlan_bridge_1d.sh line 100: tc qdisc add dev $h2 clsact ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc qdisc add dev "$h2" clsact In vxlan_bridge_1d.sh line 105: tc qdisc del dev $h2 clsact ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc qdisc del dev "$h2" clsact In vxlan_bridge_1d.sh line 106: simple_if_fini $h2 192.0.2.2/28 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: simple_if_fini "$h2" 192.0.2.2/28 In vxlan_bridge_1d.sh line 111: ip address add dev $rp1 192.0.2.17/28 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip address add dev "$rp1" 192.0.2.17/28 In vxlan_bridge_1d.sh line 122: ip address del dev $rp1 192.0.2.17/28 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip address del dev "$rp1" 192.0.2.17/28 In vxlan_bridge_1d.sh line 130: ip link set dev br1 address $(mac_get $swp1) ^--------------^ SC2046 (warning): Quote this to prevent word splitting. ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link set dev br1 address $(mac_get "$swp1") In vxlan_bridge_1d.sh line 133: ip link set dev $rp1 up ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link set dev "$rp1" up In vxlan_bridge_1d.sh line 142: 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 vxlan_bridge_1d.sh line 143: 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 vxlan_bridge_1d.sh line 145: 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 vxlan_bridge_1d.sh line 146: 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 vxlan_bridge_1d.sh line 155: ip link set dev $rp1 down ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link set dev "$rp1" down In vxlan_bridge_1d.sh line 164: 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 vxlan_bridge_1d.sh line 165: 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 vxlan_bridge_1d.sh line 167: 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 vxlan_bridge_1d.sh line 168: 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 vxlan_bridge_1d.sh line 176: simple_if_init $rp2 192.0.2.18/28 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: simple_if_init "$rp2" 192.0.2.18/28 In vxlan_bridge_1d.sh line 177: __simple_if_init v1 v$rp2 192.0.2.33/28 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: __simple_if_init v1 v"$rp2" 192.0.2.33/28 In vxlan_bridge_1d.sh line 178: __simple_if_init v3 v$rp2 192.0.2.49/28 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: __simple_if_init v3 v"$rp2" 192.0.2.49/28 In vxlan_bridge_1d.sh line 187: simple_if_fini $rp2 192.0.2.18/28 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: simple_if_fini "$rp2" 192.0.2.18/28 In vxlan_bridge_1d.sh line 198: ip link set dev $in_if up ^----^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link set dev "$in_if" up In vxlan_bridge_1d.sh line 199: ip address add dev $in_if $in_addr/28 ^----^ SC2086 (info): Double quote to prevent globbing and word splitting. ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip address add dev "$in_if" "$in_addr"/28 In vxlan_bridge_1d.sh line 200: tc qdisc add dev $in_if clsact ^----^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc qdisc add dev "$in_if" clsact In vxlan_bridge_1d.sh line 210: ip link add name vx2 type vxlan id 1000 local $in_addr dstport "$VXPORT" ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link add name vx2 type vxlan id 1000 local "$in_addr" dstport "$VXPORT" In vxlan_bridge_1d.sh line 213: bridge fdb append dev vx2 00:00:00:00:00:00 dst $other_in_addr self ^------------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: bridge fdb append dev vx2 00:00:00:00:00:00 dst "$other_in_addr" self In vxlan_bridge_1d.sh line 218: simple_if_init w2 $host_addr/28 ^--------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: simple_if_init w2 "$host_addr"/28 In vxlan_bridge_1d.sh line 220: ip route add 192.0.2.16/28 nexthop via $nh_addr ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip route add 192.0.2.16/28 nexthop via "$nh_addr" In vxlan_bridge_1d.sh line 221: ip route add $other_in_addr/32 nexthop via $nh_addr ^------------^ SC2086 (info): Double quote to prevent globbing and word splitting. ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip route add "$other_in_addr"/32 nexthop via "$nh_addr" In vxlan_bridge_1d.sh line 279: h2_mac=$(mac_get $h2) ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: h2_mac=$(mac_get "$h2") In vxlan_bridge_1d.sh line 324: ping_test $h1 192.0.2.2 ": local->local" ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ping_test "$h1" 192.0.2.2 ": local->local" In vxlan_bridge_1d.sh line 325: ping_test $h1 192.0.2.3 ": local->remote 1" ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ping_test "$h1" 192.0.2.3 ": local->remote 1" In vxlan_bridge_1d.sh line 326: ping_test $h1 192.0.2.4 ": local->remote 2" ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ping_test "$h1" 192.0.2.4 ": local->remote 2" In vxlan_bridge_1d.sh line 331: echo ${1:+in_ns} $1 ^-- SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: echo ${1:+in_ns} "$1" In vxlan_bridge_1d.sh line 349: $(maybe_in_ns $ns) __icmp_capture_add_del \ ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: $(maybe_in_ns "$ns") __icmp_capture_add_del \ In vxlan_bridge_1d.sh line 350: $add_del 100 "" $dev skip_sw 2>/dev/null || \ ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: "$add_del" 100 "" "$dev" skip_sw 2>/dev/null || \ In vxlan_bridge_1d.sh line 351: $(maybe_in_ns $ns) __icmp_capture_add_del \ ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: $(maybe_in_ns "$ns") __icmp_capture_add_del \ In vxlan_bridge_1d.sh line 352: $add_del 100 "" $dev skip_hw ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: "$add_del" 100 "" "$dev" skip_hw In vxlan_bridge_1d.sh line 370: $(maybe_in_ns $ns) tc_rule_stats_get $dev 100 ingress ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: $(maybe_in_ns "$ns") tc_rule_stats_get "$dev" 100 ingress In vxlan_bridge_1d.sh line 379: flood_fetch_stat $counter ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: flood_fetch_stat "$counter" In vxlan_bridge_1d.sh line 389: local -a counters=($h2 "vx2 ns1" "vx2 ns2") ^-^ SC2206 (warning): Quote to prevent word splitting/globbing, or split robustly with mapfile or read -a. In vxlan_bridge_1d.sh line 394: flood_counter_install $counter ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: flood_counter_install "$counter" In vxlan_bridge_1d.sh line 397: local -a t0s=($(flood_fetch_stats "${counters[@]}")) ^-- SC2207 (warning): Prefer mapfile or read -a to split command output (or quote to avoid splitting). In vxlan_bridge_1d.sh line 398: $MZ -c 10 -d 100msec -p 64 -b $mac -B $dst -t icmp -q $h1 ^--^ 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 -c 10 -d 100msec -p 64 -b "$mac" -B "$dst" -t icmp -q "$h1" In vxlan_bridge_1d.sh line 400: local -a t1s=($(flood_fetch_stats "${counters[@]}")) ^-- SC2207 (warning): Prefer mapfile or read -a to split command output (or quote to avoid splitting). In vxlan_bridge_1d.sh line 402: for key in ${!t0s[@]}; do ^--------^ SC2068 (error): Double quote array expansions to avoid re-splitting elements. In vxlan_bridge_1d.sh line 403: local delta=$((t1s[$key] - t0s[$key])) ^--^ SC2004 (style): $/${} is unnecessary on arithmetic variables. ^--^ SC2004 (style): $/${} is unnecessary on arithmetic variables. In vxlan_bridge_1d.sh line 411: flood_counter_uninstall $counter ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: flood_counter_uninstall "$counter" In vxlan_bridge_1d.sh line 423: vxlan_flood_test $mac $dst 10 10 10 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: vxlan_flood_test "$mac" "$dst" 10 10 10 In vxlan_bridge_1d.sh line 448: bridge fdb $add_del dev $dev $mac self static permanent \ ^------^ 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: bridge fdb "$add_del" dev "$dev" "$mac" self static permanent \ In vxlan_bridge_1d.sh line 449: ${dst:+dst} $dst 2>/dev/null ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ${dst:+dst} "$dst" 2>/dev/null In vxlan_bridge_1d.sh line 450: bridge fdb $add_del dev $dev $mac master static 2>/dev/null ^------^ 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: bridge fdb "$add_del" dev "$dev" "$mac" master static 2>/dev/null In vxlan_bridge_1d.sh line 463: expects[$hit_idx]=10 ^------^ SC2004 (style): $/${} is unnecessary on arithmetic variables. In vxlan_bridge_1d.sh line 465: vxlan_flood_test $mac $dst "${expects[@]}" ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: vxlan_flood_test "$mac" "$dst" "${expects[@]}" In vxlan_bridge_1d.sh line 478: vxlan_fdb_add_del add $target ^-----^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: vxlan_fdb_add_del add "$target" In vxlan_bridge_1d.sh line 481: __test_unicast $h2_mac 192.0.2.2 0 "local MAC unicast" ^-----^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: __test_unicast "$h2_mac" 192.0.2.2 0 "local MAC unicast" In vxlan_bridge_1d.sh line 482: __test_unicast $r1_mac 192.0.2.3 1 "remote MAC 1 unicast" ^-----^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: __test_unicast "$r1_mac" 192.0.2.3 1 "remote MAC 1 unicast" In vxlan_bridge_1d.sh line 483: __test_unicast $r2_mac 192.0.2.4 2 "remote MAC 2 unicast" ^-----^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: __test_unicast "$r2_mac" 192.0.2.4 2 "remote MAC 2 unicast" In vxlan_bridge_1d.sh line 486: vxlan_fdb_add_del del $target ^-----^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: vxlan_fdb_add_del del "$target" In vxlan_bridge_1d.sh line 500: local t0=$(tc_rule_stats_get $capture_dev $capture_pref $capture_dir) ^-- SC2155 (warning): Declare and assign separately to avoid masking return values. ^----------^ 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: local t0=$(tc_rule_stats_get "$capture_dev" "$capture_pref" "$capture_dir") In vxlan_bridge_1d.sh line 501: ping_do $ping_dev $ping_dip "$ping_args" ^-------^ SC2086 (info): Double quote to prevent globbing and word splitting. ^-------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ping_do "$ping_dev" "$ping_dip" "$ping_args" In vxlan_bridge_1d.sh line 502: local t1=$(tc_rule_stats_get $capture_dev $capture_pref $capture_dir) ^-- SC2155 (warning): Declare and assign separately to avoid masking return values. ^----------^ 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: local t1=$(tc_rule_stats_get "$capture_dev" "$capture_pref" "$capture_dir") In vxlan_bridge_1d.sh line 516: vxlan_ping_test $h1 192.0.2.3 "" v1 egress 77 10 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: vxlan_ping_test "$h1" 192.0.2.3 "" v1 egress 77 10 In vxlan_bridge_1d.sh line 528: vxlan_ping_test $h1 192.0.2.3 "-Q 0x14" v1 egress 77 10 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: vxlan_ping_test "$h1" 192.0.2.3 "-Q 0x14" v1 egress 77 10 In vxlan_bridge_1d.sh line 529: vxlan_ping_test $h1 192.0.2.3 "-Q 0x18" v1 egress 77 0 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: vxlan_ping_test "$h1" 192.0.2.3 "-Q 0x18" v1 egress 77 0 In vxlan_bridge_1d.sh line 543: flower ip_tos $tos ip_proto udp dst_port $VXPORT action pass ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. ^-----^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: flower ip_tos "$tos" ip_proto udp dst_port "$VXPORT" action pass In vxlan_bridge_1d.sh line 545: vxlan_ping_test $h1 192.0.2.3 "-Q $q" v1 egress 77 10 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: vxlan_ping_test "$h1" 192.0.2.3 "-Q $q" v1 egress 77 10 In vxlan_bridge_1d.sh line 570: $MZ -c $count -d 100msec -q \ ^----^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: $MZ -c "$count" -d 100msec -q \ In vxlan_bridge_1d.sh line 571: -b $next_hop_mac -B $dest_ip \ ^-----------^ SC2086 (info): Double quote to prevent globbing and word splitting. ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: -b "$next_hop_mac" -B "$dest_ip" \ In vxlan_bridge_1d.sh line 572: -t udp $dev tos=$outer_tos,sp=23456,dp=$VXPORT,p=$(: ^--^ 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. ^-- SC2046 (warning): Quote this to prevent word splitting. Did you mean: -t udp "$dev" tos="$outer_tos",sp=23456,dp="$VXPORT",p=$(: In vxlan_bridge_1d.sh line 573: )"08:"$( : VXLAN flags ^-- SC2027 (warning): The surrounding quotes actually unquote this. Remove or escape them. ^-- SC2046 (warning): Quote this to prevent word splitting. In vxlan_bridge_1d.sh line 574: )"00:00:00:"$( : VXLAN reserved ^-- SC2027 (warning): The surrounding quotes actually unquote this. Remove or escape them. ^-- SC2046 (warning): Quote this to prevent word splitting. In vxlan_bridge_1d.sh line 575: )"00:03:e8:"$( : VXLAN VNI ^-- SC2027 (warning): The surrounding quotes actually unquote this. Remove or escape them. ^-- SC2046 (warning): Quote this to prevent word splitting. In vxlan_bridge_1d.sh line 576: )"00:"$( : VXLAN reserved ^-- SC2027 (warning): The surrounding quotes actually unquote this. Remove or escape them. ^-- SC2046 (warning): Quote this to prevent word splitting. In vxlan_bridge_1d.sh line 577: )"$dest_mac:"$( : ETH daddr ^-- SC2027 (warning): The surrounding quotes actually unquote this. Remove or escape them. ^-- SC2046 (warning): Quote this to prevent word splitting. In vxlan_bridge_1d.sh line 578: )"$(mac_get w2):"$( : ETH saddr ^-- SC2027 (warning): The surrounding quotes actually unquote this. Remove or escape them. ^-- SC2046 (warning): Quote this to prevent word splitting. In vxlan_bridge_1d.sh line 579: )"08:00:"$( : ETH type ^-- SC2027 (warning): The surrounding quotes actually unquote this. Remove or escape them. ^-- SC2046 (warning): Quote this to prevent word splitting. In vxlan_bridge_1d.sh line 580: )"45:"$( : IP version + IHL ^-- SC2027 (warning): The surrounding quotes actually unquote this. Remove or escape them. ^-- SC2046 (warning): Quote this to prevent word splitting. In vxlan_bridge_1d.sh line 581: )"$inner_tos:"$( : IP TOS ^-- SC2027 (warning): The surrounding quotes actually unquote this. Remove or escape them. ^-- SC2046 (warning): Quote this to prevent word splitting. In vxlan_bridge_1d.sh line 582: )"00:54:"$( : IP total length ^-- SC2027 (warning): The surrounding quotes actually unquote this. Remove or escape them. ^-- SC2046 (warning): Quote this to prevent word splitting. In vxlan_bridge_1d.sh line 583: )"99:83:"$( : IP identification ^-- SC2027 (warning): The surrounding quotes actually unquote this. Remove or escape them. ^-- SC2046 (warning): Quote this to prevent word splitting. In vxlan_bridge_1d.sh line 584: )"40:00:"$( : IP flags + frag off ^-- SC2027 (warning): The surrounding quotes actually unquote this. Remove or escape them. ^-- SC2046 (warning): Quote this to prevent word splitting. In vxlan_bridge_1d.sh line 585: )"40:"$( : IP TTL ^-- SC2027 (warning): The surrounding quotes actually unquote this. Remove or escape them. ^-- SC2046 (warning): Quote this to prevent word splitting. In vxlan_bridge_1d.sh line 586: )"01:"$( : IP proto ^-- SC2027 (warning): The surrounding quotes actually unquote this. Remove or escape them. ^-- SC2046 (warning): Quote this to prevent word splitting. In vxlan_bridge_1d.sh line 587: )"00:00:"$( : IP header csum ^-- SC2027 (warning): The surrounding quotes actually unquote this. Remove or escape them. ^-- SC2046 (warning): Quote this to prevent word splitting. In vxlan_bridge_1d.sh line 588: )"c0:00:02:03:"$( : IP saddr: 192.0.2.3 ^-- SC2027 (warning): The surrounding quotes actually unquote this. Remove or escape them. ^-- SC2046 (warning): Quote this to prevent word splitting. In vxlan_bridge_1d.sh line 589: )"c0:00:02:01:"$( : IP daddr: 192.0.2.1 ^-- SC2027 (warning): The surrounding quotes actually unquote this. Remove or escape them. ^-- SC2046 (warning): Quote this to prevent word splitting. In vxlan_bridge_1d.sh line 590: )"08:"$( : ICMP type ^-- SC2027 (warning): The surrounding quotes actually unquote this. Remove or escape them. ^-- SC2046 (warning): Quote this to prevent word splitting. In vxlan_bridge_1d.sh line 591: )"00:"$( : ICMP code ^-- SC2027 (warning): The surrounding quotes actually unquote this. Remove or escape them. ^-- SC2046 (warning): Quote this to prevent word splitting. In vxlan_bridge_1d.sh line 592: )"8b:f2:"$( : ICMP csum ^-- SC2027 (warning): The surrounding quotes actually unquote this. Remove or escape them. ^-- SC2046 (warning): Quote this to prevent word splitting. In vxlan_bridge_1d.sh line 593: )"1f:6a:"$( : ICMP request identifier ^-- SC2027 (warning): The surrounding quotes actually unquote this. Remove or escape them. ^-- SC2046 (warning): Quote this to prevent word splitting. In vxlan_bridge_1d.sh line 594: )"00:01:"$( : ICMP request sequence number ^-- SC2027 (warning): The surrounding quotes actually unquote this. Remove or escape them. ^-- SC2046 (warning): Quote this to prevent word splitting. In vxlan_bridge_1d.sh line 595: )"4f:ff:c5:5b:00:00:00:00:"$( : ICMP payload ^-- SC2027 (warning): The surrounding quotes actually unquote this. Remove or escape them. ^-- SC2046 (warning): Quote this to prevent word splitting. In vxlan_bridge_1d.sh line 596: )"6d:74:0b:00:00:00:00:00:"$( : ^-- SC2027 (warning): The surrounding quotes actually unquote this. Remove or escape them. ^-- SC2046 (warning): Quote this to prevent word splitting. In vxlan_bridge_1d.sh line 597: )"10:11:12:13:14:15:16:17:"$( : ^-- SC2027 (warning): The surrounding quotes actually unquote this. Remove or escape them. ^-- SC2046 (warning): Quote this to prevent word splitting. In vxlan_bridge_1d.sh line 598: )"18:19:1a:1b:1c:1d:1e:1f:"$( : ^-- SC2027 (warning): The surrounding quotes actually unquote this. Remove or escape them. ^-- SC2046 (warning): Quote this to prevent word splitting. In vxlan_bridge_1d.sh line 599: )"20:21:22:23:24:25:26:27:"$( : ^-- SC2027 (warning): The surrounding quotes actually unquote this. Remove or escape them. ^-- SC2046 (warning): Quote this to prevent word splitting. In vxlan_bridge_1d.sh line 600: )"28:29:2a:2b:2c:2d:2e:2f:"$( : ^-- SC2027 (warning): The surrounding quotes actually unquote this. Remove or escape them. ^-- SC2046 (warning): Quote this to prevent word splitting. In vxlan_bridge_1d.sh line 615: local t0=$($stat_get) ^-- SC2155 (warning): Declare and assign separately to avoid masking return values. In vxlan_bridge_1d.sh line 618: vxlan_encapped_ping_do 10 $ping_dev $(mac_get $nh_dev) \ ^-------^ SC2086 (info): Double quote to prevent globbing and word splitting. ^----------------^ SC2046 (warning): Quote this to prevent word splitting. ^-----^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: vxlan_encapped_ping_do 10 "$ping_dev" $(mac_get "$nh_dev") \ In vxlan_bridge_1d.sh line 619: $ping_dip $(mac_get $h1) \ ^-------^ SC2086 (info): Double quote to prevent globbing and word splitting. ^------------^ SC2046 (warning): Quote this to prevent word splitting. ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: "$ping_dip" $(mac_get "$h1") \ In vxlan_bridge_1d.sh line 620: $inner_tos $outer_tos ^--------^ SC2086 (info): Double quote to prevent globbing and word splitting. ^--------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: "$inner_tos" "$outer_tos" In vxlan_bridge_1d.sh line 622: local t1=$($stat_get) ^-- SC2155 (warning): Declare and assign separately to avoid masking return values. In vxlan_bridge_1d.sh line 639: tc filter add dev $h1 ingress pref 77 prot ip \ ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter add dev "$h1" ingress pref 77 prot ip \ In vxlan_bridge_1d.sh line 640: flower ip_tos $decapped_tos action drop ^-----------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: flower ip_tos "$decapped_tos" action drop In vxlan_bridge_1d.sh line 643: $orig_inner_tos $orig_outer_tos \ ^-------------^ SC2086 (info): Double quote to prevent globbing and word splitting. ^-------------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: "$orig_inner_tos" "$orig_outer_tos" \ In vxlan_bridge_1d.sh line 645: tc filter del dev $h1 ingress pref 77 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter del dev "$h1" ingress pref 77 In vxlan_bridge_1d.sh line 658: $orig_inner_tos $orig_outer_tos \ ^-------------^ SC2086 (info): Double quote to prevent globbing and word splitting. ^-------------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: "$orig_inner_tos" "$orig_outer_tos" \ In vxlan_bridge_1d.sh line 700: vxlan_flood_test $mac $dst 10 10 10 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: vxlan_flood_test "$mac" "$dst" 10 10 10 In vxlan_bridge_1d.sh line 708: in_ns ns1 $MZ -c 1 -p 64 -a $mac -b ff:ff:ff:ff:ff:ff -B $dst \ ^-^ 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: in_ns ns1 "$MZ" -c 1 -p 64 -a "$mac" -b ff:ff:ff:ff:ff:ff -B "$dst" \ In vxlan_bridge_1d.sh line 712: bridge fdb show brport vx1 | grep $mac | grep -q self ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: bridge fdb show brport vx1 | grep "$mac" | grep -q self In vxlan_bridge_1d.sh line 714: bridge fdb show brport vx1 | grep $mac | grep -q -v self ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: bridge fdb show brport vx1 | grep "$mac" | grep -q -v self In vxlan_bridge_1d.sh line 722: vxlan_flood_test $mac $dst 0 10 0 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: vxlan_flood_test "$mac" "$dst" 0 10 0 In vxlan_bridge_1d.sh line 730: bridge fdb del dev vx1 $mac master self ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: bridge fdb del dev vx1 "$mac" master self In vxlan_bridge_1d.sh line 733: vxlan_flood_test $mac $dst 10 10 10 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: vxlan_flood_test "$mac" "$dst" 10 10 10 In vxlan_bridge_1d.sh line 740: in_ns ns1 $MZ -c 1 -p 64 -a $mac -b ff:ff:ff:ff:ff:ff -B $dst \ ^-^ 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: in_ns ns1 "$MZ" -c 1 -p 64 -a "$mac" -b ff:ff:ff:ff:ff:ff -B "$dst" \ In vxlan_bridge_1d.sh line 744: bridge fdb show brport vx1 | grep $mac | grep -q self ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: bridge fdb show brport vx1 | grep "$mac" | grep -q self In vxlan_bridge_1d.sh line 746: bridge fdb show brport vx1 | grep $mac | grep -q -v self ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: bridge fdb show brport vx1 | grep "$mac" | grep -q -v self In vxlan_bridge_1d.sh line 749: vxlan_flood_test $mac $dst 0 10 0 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: vxlan_flood_test "$mac" "$dst" 0 10 0 In vxlan_bridge_1d.sh line 752: $MZ -c 50 -d 1sec -p 64 -b $mac -B $dst -t icmp -q $h1 & ^--^ 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 -c 50 -d 1sec -p 64 -b "$mac" -B "$dst" -t icmp -q "$h1" & In vxlan_bridge_1d.sh line 755: bridge fdb show brport vx1 | grep $mac | grep -q self ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: bridge fdb show brport vx1 | grep "$mac" | grep -q self In vxlan_bridge_1d.sh line 757: bridge fdb show brport vx1 | grep $mac | grep -q -v self ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: bridge fdb show brport vx1 | grep "$mac" | grep -q -v self In vxlan_bridge_1d.sh line 760: vxlan_flood_test $mac $dst 10 10 10 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: vxlan_flood_test "$mac" "$dst" 10 10 10 In vxlan_bridge_1d.sh line 770: in_ns ns1 $MZ -c 1 -p 64 -a $mac -b ff:ff:ff:ff:ff:ff -B $dst \ ^-^ 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: in_ns ns1 "$MZ" -c 1 -p 64 -a "$mac" -b ff:ff:ff:ff:ff:ff -B "$dst" \ In vxlan_bridge_1d.sh line 774: bridge fdb show brport vx1 | grep $mac | grep -q -v self ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: bridge fdb show brport vx1 | grep "$mac" | grep -q -v self In vxlan_bridge_1d.sh line 779: in_ns ns1 $MZ -c 1 -p 64 -a $mac -b ff:ff:ff:ff:ff:ff -B $dst \ ^-^ 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: in_ns ns1 "$MZ" -c 1 -p 64 -a "$mac" -b ff:ff:ff:ff:ff:ff -B "$dst" \ In vxlan_bridge_1d.sh line 783: bridge fdb show brport vx1 | grep $mac | grep -q -v self ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: bridge fdb show brport vx1 | grep "$mac" | grep -q -v self In vxlan_bridge_1d.sh line 807: 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/SC2068 -- Double quote array expansions to ... https://www.shellcheck.net/wiki/SC2027 -- The surrounding quotes actually u... https://www.shellcheck.net/wiki/SC2046 -- Quote this to prevent word splitt... Checking tools/testing/selftests/net/forwarding/vxlan_bridge_1d_ipv6.sh - 47ffff04640e21ad80f8af9423b68eb4588c8544da1029205f5bf16a182de6a9 In vxlan_bridge_1d_ipv6.sh line 66: : ${VXPORT:=4789} ^-------------^ SC2223 (info): This default assignment may cause DoS due to globbing. Quote it. In vxlan_bridge_1d_ipv6.sh line 69: : ${ALL_TESTS:=" ^-- SC2223 (info): This default assignment may cause DoS due to globbing. Quote it. In vxlan_bridge_1d_ipv6.sh line 91: 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 vxlan_bridge_1d_ipv6.sh line 92: tc qdisc add dev $h1 clsact ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc qdisc add dev "$h1" clsact In vxlan_bridge_1d_ipv6.sh line 97: tc qdisc del dev $h1 clsact ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc qdisc del dev "$h1" clsact In vxlan_bridge_1d_ipv6.sh line 98: 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 vxlan_bridge_1d_ipv6.sh line 103: 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 vxlan_bridge_1d_ipv6.sh line 104: tc qdisc add dev $h2 clsact ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc qdisc add dev "$h2" clsact In vxlan_bridge_1d_ipv6.sh line 109: tc qdisc del dev $h2 clsact ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc qdisc del dev "$h2" clsact In vxlan_bridge_1d_ipv6.sh line 110: 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 vxlan_bridge_1d_ipv6.sh line 115: ip address add dev $rp1 2001:db8:3::1/64 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip address add dev "$rp1" 2001:db8:3::1/64 In vxlan_bridge_1d_ipv6.sh line 126: ip address del dev $rp1 2001:db8:3::1/64 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip address del dev "$rp1" 2001:db8:3::1/64 In vxlan_bridge_1d_ipv6.sh line 134: ip link set dev br1 address $(mac_get $swp1) ^--------------^ SC2046 (warning): Quote this to prevent word splitting. ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link set dev br1 address $(mac_get "$swp1") In vxlan_bridge_1d_ipv6.sh line 137: ip link set dev $rp1 up ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link set dev "$rp1" up In vxlan_bridge_1d_ipv6.sh line 139: tc qdisc add dev $rp1 clsact ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc qdisc add dev "$rp1" clsact In vxlan_bridge_1d_ipv6.sh line 147: 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 vxlan_bridge_1d_ipv6.sh line 148: 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 vxlan_bridge_1d_ipv6.sh line 149: tc qdisc add dev $swp1 clsact ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc qdisc add dev "$swp1" clsact In vxlan_bridge_1d_ipv6.sh line 151: 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 vxlan_bridge_1d_ipv6.sh line 152: 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 vxlan_bridge_1d_ipv6.sh line 163: 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 vxlan_bridge_1d_ipv6.sh line 164: 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 vxlan_bridge_1d_ipv6.sh line 166: tc qdisc del dev $swp1 clsact ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc qdisc del dev "$swp1" clsact In vxlan_bridge_1d_ipv6.sh line 167: 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 vxlan_bridge_1d_ipv6.sh line 168: 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 vxlan_bridge_1d_ipv6.sh line 174: tc qdisc del dev $rp1 clsact ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc qdisc del dev "$rp1" clsact In vxlan_bridge_1d_ipv6.sh line 176: ip link set dev $rp1 down ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link set dev "$rp1" down In vxlan_bridge_1d_ipv6.sh line 184: simple_if_init $rp2 2001:db8:3::2/64 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: simple_if_init "$rp2" 2001:db8:3::2/64 In vxlan_bridge_1d_ipv6.sh line 185: __simple_if_init v1 v$rp2 2001:db8:4::2/64 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: __simple_if_init v1 v"$rp2" 2001:db8:4::2/64 In vxlan_bridge_1d_ipv6.sh line 186: __simple_if_init v3 v$rp2 2001:db8:5::2/64 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: __simple_if_init v3 v"$rp2" 2001:db8:5::2/64 In vxlan_bridge_1d_ipv6.sh line 195: simple_if_fini $rp2 2001:db8:3::2/64 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: simple_if_fini "$rp2" 2001:db8:3::2/64 In vxlan_bridge_1d_ipv6.sh line 207: ip link set dev $in_if up ^----^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link set dev "$in_if" up In vxlan_bridge_1d_ipv6.sh line 208: ip address add dev $in_if $in_addr/64 ^----^ SC2086 (info): Double quote to prevent globbing and word splitting. ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip address add dev "$in_if" "$in_addr"/64 In vxlan_bridge_1d_ipv6.sh line 209: tc qdisc add dev $in_if clsact ^----^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc qdisc add dev "$in_if" clsact In vxlan_bridge_1d_ipv6.sh line 219: ip link add name vx2 type vxlan id 1000 local $in_addr \ ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link add name vx2 type vxlan id 1000 local "$in_addr" \ In vxlan_bridge_1d_ipv6.sh line 223: bridge fdb append dev vx2 00:00:00:00:00:00 dst $other_in_addr self ^------------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: bridge fdb append dev vx2 00:00:00:00:00:00 dst "$other_in_addr" self In vxlan_bridge_1d_ipv6.sh line 228: simple_if_init w2 $host_addr_ipv4/28 $host_addr_ipv6/64 ^-------------^ 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 w2 "$host_addr_ipv4"/28 "$host_addr_ipv6"/64 In vxlan_bridge_1d_ipv6.sh line 230: ip route add 2001:db8:3::0/64 nexthop via $nh_addr ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip route add 2001:db8:3::0/64 nexthop via "$nh_addr" In vxlan_bridge_1d_ipv6.sh line 231: ip route add $other_in_addr/128 nexthop via $nh_addr ^------------^ SC2086 (info): Double quote to prevent globbing and word splitting. ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip route add "$other_in_addr"/128 nexthop via "$nh_addr" In vxlan_bridge_1d_ipv6.sh line 291: h2_mac=$(mac_get $h2) ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: h2_mac=$(mac_get "$h2") In vxlan_bridge_1d_ipv6.sh line 345: tc filter add dev $rp1 egress protocol ipv6 pref 1 handle 101 \ ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter add dev "$rp1" egress protocol ipv6 pref 1 handle 101 \ In vxlan_bridge_1d_ipv6.sh line 346: flower ip_proto udp src_ip $vxlan_local_ip \ ^-------------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: flower ip_proto udp src_ip "$vxlan_local_ip" \ In vxlan_bridge_1d_ipv6.sh line 347: dst_ip $vxlan_remote_ip dst_port $VXPORT $TC_FLAG action pass ^--------------^ 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: dst_ip "$vxlan_remote_ip" dst_port "$VXPORT" "$TC_FLAG" action pass In vxlan_bridge_1d_ipv6.sh line 351: tc filter add dev $swp1 egress protocol ip pref 1 handle 101 \ ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter add dev "$swp1" egress protocol ip pref 1 handle 101 \ In vxlan_bridge_1d_ipv6.sh line 352: flower src_ip $dst_ip dst_ip $src_ip \ ^-----^ SC2086 (info): Double quote to prevent globbing and word splitting. ^-----^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: flower src_ip "$dst_ip" dst_ip "$src_ip" \ In vxlan_bridge_1d_ipv6.sh line 353: $TC_FLAG action pass ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: "$TC_FLAG" action pass In vxlan_bridge_1d_ipv6.sh line 357: PING_COUNT=100 PING_TIMEOUT=20 ping_do $dev $dst_ip ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. ^-----^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: PING_COUNT=100 PING_TIMEOUT=20 ping_do "$dev" "$dst_ip" In vxlan_bridge_1d_ipv6.sh line 368: tc filter del dev $swp1 egress ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter del dev "$swp1" egress In vxlan_bridge_1d_ipv6.sh line 369: tc filter del dev $rp1 egress ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter del dev "$rp1" egress In vxlan_bridge_1d_ipv6.sh line 383: ping_test $h1 192.0.2.2 ": local->local" ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ping_test "$h1" 192.0.2.2 ": local->local" In vxlan_bridge_1d_ipv6.sh line 385: __ping_ipv4 $local_sw_ip $remote_ns1_ip $h1_ip $w2_ns1_ip $h1 \ ^----------^ 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: __ping_ipv4 "$local_sw_ip" "$remote_ns1_ip" "$h1_ip" "$w2_ns1_ip" "$h1" \ In vxlan_bridge_1d_ipv6.sh line 387: __ping_ipv4 $local_sw_ip $remote_ns2_ip $h1_ip $w2_ns2_ip $h1 \ ^----------^ 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: __ping_ipv4 "$local_sw_ip" "$remote_ns2_ip" "$h1_ip" "$w2_ns2_ip" "$h1" \ In vxlan_bridge_1d_ipv6.sh line 402: tc filter add dev $rp1 egress protocol ipv6 pref 1 handle 101 \ ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter add dev "$rp1" egress protocol ipv6 pref 1 handle 101 \ In vxlan_bridge_1d_ipv6.sh line 403: flower ip_proto udp src_ip $vxlan_local_ip \ ^-------------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: flower ip_proto udp src_ip "$vxlan_local_ip" \ In vxlan_bridge_1d_ipv6.sh line 404: dst_ip $vxlan_remote_ip dst_port $VXPORT $TC_FLAG action pass ^--------------^ 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: dst_ip "$vxlan_remote_ip" dst_port "$VXPORT" "$TC_FLAG" action pass In vxlan_bridge_1d_ipv6.sh line 408: tc filter add dev $swp1 egress protocol ipv6 pref 1 handle 101 \ ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter add dev "$swp1" egress protocol ipv6 pref 1 handle 101 \ In vxlan_bridge_1d_ipv6.sh line 409: flower src_ip $dst_ip dst_ip $src_ip $TC_FLAG action pass ^-----^ 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 src_ip "$dst_ip" dst_ip "$src_ip" "$TC_FLAG" action pass In vxlan_bridge_1d_ipv6.sh line 413: PING_COUNT=100 PING_TIMEOUT=20 ping6_do $dev $dst_ip ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. ^-----^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: PING_COUNT=100 PING_TIMEOUT=20 ping6_do "$dev" "$dst_ip" In vxlan_bridge_1d_ipv6.sh line 424: tc filter del dev $swp1 egress ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter del dev "$swp1" egress In vxlan_bridge_1d_ipv6.sh line 425: tc filter del dev $rp1 egress ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter del dev "$rp1" egress In vxlan_bridge_1d_ipv6.sh line 439: ping6_test $h1 2001:db8:1::2 ": local->local" ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ping6_test "$h1" 2001:db8:1::2 ": local->local" In vxlan_bridge_1d_ipv6.sh line 441: __ping_ipv6 $local_sw_ip $remote_ns1_ip $h1_ip $w2_ns1_ip $h1 \ ^----------^ 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: __ping_ipv6 "$local_sw_ip" "$remote_ns1_ip" "$h1_ip" "$w2_ns1_ip" "$h1" \ In vxlan_bridge_1d_ipv6.sh line 443: __ping_ipv6 $local_sw_ip $remote_ns2_ip $h1_ip $w2_ns2_ip $h1 \ ^----------^ 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: __ping_ipv6 "$local_sw_ip" "$remote_ns2_ip" "$h1_ip" "$w2_ns2_ip" "$h1" \ In vxlan_bridge_1d_ipv6.sh line 449: echo ${1:+in_ns} $1 ^-- SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: echo ${1:+in_ns} "$1" In vxlan_bridge_1d_ipv6.sh line 468: $(maybe_in_ns $ns) tc filter $add_del dev "$dev" ingress \ ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: $(maybe_in_ns "$ns") tc filter "$add_del" dev "$dev" ingress \ In vxlan_bridge_1d_ipv6.sh line 469: proto ipv6 pref 100 flower dst_ip $dst_ip ip_proto \ ^-----^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: proto ipv6 pref 100 flower dst_ip "$dst_ip" ip_proto \ In vxlan_bridge_1d_ipv6.sh line 471: $(maybe_in_ns $ns) tc filter $add_del dev "$dev" ingress \ ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: $(maybe_in_ns "$ns") tc filter "$add_del" dev "$dev" ingress \ In vxlan_bridge_1d_ipv6.sh line 472: proto ipv6 pref 100 flower dst_ip $dst_ip ip_proto \ ^-----^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: proto ipv6 pref 100 flower dst_ip "$dst_ip" ip_proto \ In vxlan_bridge_1d_ipv6.sh line 491: $(maybe_in_ns $ns) tc_rule_stats_get $dev 100 ingress ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: $(maybe_in_ns "$ns") tc_rule_stats_get "$dev" 100 ingress In vxlan_bridge_1d_ipv6.sh line 500: flood_fetch_stat $counter ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: flood_fetch_stat "$counter" In vxlan_bridge_1d_ipv6.sh line 510: local -a counters=($h2 "vx2 ns1" "vx2 ns2") ^-^ SC2206 (warning): Quote to prevent word splitting/globbing, or split robustly with mapfile or read -a. In vxlan_bridge_1d_ipv6.sh line 515: flood_counter_install $dst $counter ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: flood_counter_install "$dst" "$counter" In vxlan_bridge_1d_ipv6.sh line 518: local -a t0s=($(flood_fetch_stats "${counters[@]}")) ^-- SC2207 (warning): Prefer mapfile or read -a to split command output (or quote to avoid splitting). In vxlan_bridge_1d_ipv6.sh line 519: $MZ -6 -c 10 -d 100msec -p 64 -b $mac -B $dst -t icmp6 -q $h1 type=128 ^--^ 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 -6 -c 10 -d 100msec -p 64 -b "$mac" -B "$dst" -t icmp6 -q "$h1" type=128 In vxlan_bridge_1d_ipv6.sh line 521: local -a t1s=($(flood_fetch_stats "${counters[@]}")) ^-- SC2207 (warning): Prefer mapfile or read -a to split command output (or quote to avoid splitting). In vxlan_bridge_1d_ipv6.sh line 523: for key in ${!t0s[@]}; do ^--------^ SC2068 (error): Double quote array expansions to avoid re-splitting elements. In vxlan_bridge_1d_ipv6.sh line 524: local delta=$((t1s[$key] - t0s[$key])) ^--^ SC2004 (style): $/${} is unnecessary on arithmetic variables. ^--^ SC2004 (style): $/${} is unnecessary on arithmetic variables. In vxlan_bridge_1d_ipv6.sh line 532: flood_counter_uninstall $dst $counter ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: flood_counter_uninstall "$dst" "$counter" In vxlan_bridge_1d_ipv6.sh line 544: vxlan_flood_test $mac $dst 10 10 10 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: vxlan_flood_test "$mac" "$dst" 10 10 10 In vxlan_bridge_1d_ipv6.sh line 561: bridge fdb $add_del dev $dev $mac self static permanent \ ^------^ 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: bridge fdb "$add_del" dev "$dev" "$mac" self static permanent \ In vxlan_bridge_1d_ipv6.sh line 562: ${dst:+dst} $dst 2>/dev/null ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ${dst:+dst} "$dst" 2>/dev/null In vxlan_bridge_1d_ipv6.sh line 563: bridge fdb $add_del dev $dev $mac master static 2>/dev/null ^------^ 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: bridge fdb "$add_del" dev "$dev" "$mac" master static 2>/dev/null In vxlan_bridge_1d_ipv6.sh line 576: expects[$hit_idx]=10 ^------^ SC2004 (style): $/${} is unnecessary on arithmetic variables. In vxlan_bridge_1d_ipv6.sh line 578: vxlan_flood_test $mac $dst "${expects[@]}" ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: vxlan_flood_test "$mac" "$dst" "${expects[@]}" In vxlan_bridge_1d_ipv6.sh line 591: vxlan_fdb_add_del add $target ^-----^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: vxlan_fdb_add_del add "$target" In vxlan_bridge_1d_ipv6.sh line 594: __test_unicast $h2_mac 2001:db8:1::2 0 "local MAC unicast" ^-----^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: __test_unicast "$h2_mac" 2001:db8:1::2 0 "local MAC unicast" In vxlan_bridge_1d_ipv6.sh line 595: __test_unicast $r1_mac 2001:db8:1::3 1 "remote MAC 1 unicast" ^-----^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: __test_unicast "$r1_mac" 2001:db8:1::3 1 "remote MAC 1 unicast" In vxlan_bridge_1d_ipv6.sh line 596: __test_unicast $r2_mac 2001:db8:1::4 2 "remote MAC 2 unicast" ^-----^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: __test_unicast "$r2_mac" 2001:db8:1::4 2 "remote MAC 2 unicast" In vxlan_bridge_1d_ipv6.sh line 599: vxlan_fdb_add_del del $target ^-----^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: vxlan_fdb_add_del del "$target" In vxlan_bridge_1d_ipv6.sh line 613: local t0=$(tc_rule_stats_get $capture_dev $capture_pref $capture_dir) ^-- SC2155 (warning): Declare and assign separately to avoid masking return values. ^----------^ 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: local t0=$(tc_rule_stats_get "$capture_dev" "$capture_pref" "$capture_dir") In vxlan_bridge_1d_ipv6.sh line 614: ping6_do $ping_dev $ping_dip "$ping_args" ^-------^ SC2086 (info): Double quote to prevent globbing and word splitting. ^-------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ping6_do "$ping_dev" "$ping_dip" "$ping_args" In vxlan_bridge_1d_ipv6.sh line 615: local t1=$(tc_rule_stats_get $capture_dev $capture_pref $capture_dir) ^-- SC2155 (warning): Declare and assign separately to avoid masking return values. ^----------^ 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: local t1=$(tc_rule_stats_get "$capture_dev" "$capture_pref" "$capture_dir") In vxlan_bridge_1d_ipv6.sh line 629: vxlan_ping_test $h1 2001:db8:1::3 "" v1 egress 77 10 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: vxlan_ping_test "$h1" 2001:db8:1::3 "" v1 egress 77 10 In vxlan_bridge_1d_ipv6.sh line 641: vxlan_ping_test $h1 2001:db8:1::3 "-Q 0x14" v1 egress 77 10 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: vxlan_ping_test "$h1" 2001:db8:1::3 "-Q 0x14" v1 egress 77 10 In vxlan_bridge_1d_ipv6.sh line 642: vxlan_ping_test $h1 2001:db8:1::3 "-Q 0x18" v1 egress 77 0 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: vxlan_ping_test "$h1" 2001:db8:1::3 "-Q 0x18" v1 egress 77 0 In vxlan_bridge_1d_ipv6.sh line 656: flower ip_tos $tos ip_proto udp dst_port $VXPORT action pass ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. ^-----^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: flower ip_tos "$tos" ip_proto udp dst_port "$VXPORT" action pass In vxlan_bridge_1d_ipv6.sh line 658: vxlan_ping_test $h1 2001:db8:1::3 "-Q $q" v1 egress 77 10 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: vxlan_ping_test "$h1" 2001:db8:1::3 "-Q $q" v1 egress 77 10 In vxlan_bridge_1d_ipv6.sh line 685: $MZ -6 -c $count -d 100msec -q \ ^----^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: $MZ -6 -c "$count" -d 100msec -q \ In vxlan_bridge_1d_ipv6.sh line 686: -b $next_hop_mac -B $dest_ip \ ^-----------^ SC2086 (info): Double quote to prevent globbing and word splitting. ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: -b "$next_hop_mac" -B "$dest_ip" \ In vxlan_bridge_1d_ipv6.sh line 687: -t udp $dev tos=$outer_tos,sp=23456,dp=$VXPORT,p=$(: ^--^ 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. ^-- SC2046 (warning): Quote this to prevent word splitting. Did you mean: -t udp "$dev" tos="$outer_tos",sp=23456,dp="$VXPORT",p=$(: In vxlan_bridge_1d_ipv6.sh line 688: )"08:"$( : VXLAN flags ^-- SC2027 (warning): The surrounding quotes actually unquote this. Remove or escape them. ^-- SC2046 (warning): Quote this to prevent word splitting. In vxlan_bridge_1d_ipv6.sh line 689: )"00:00:00:"$( : VXLAN reserved ^-- SC2027 (warning): The surrounding quotes actually unquote this. Remove or escape them. ^-- SC2046 (warning): Quote this to prevent word splitting. In vxlan_bridge_1d_ipv6.sh line 690: )"00:03:e8:"$( : VXLAN VNI ^-- SC2027 (warning): The surrounding quotes actually unquote this. Remove or escape them. ^-- SC2046 (warning): Quote this to prevent word splitting. In vxlan_bridge_1d_ipv6.sh line 691: )"00:"$( : VXLAN reserved ^-- SC2027 (warning): The surrounding quotes actually unquote this. Remove or escape them. ^-- SC2046 (warning): Quote this to prevent word splitting. In vxlan_bridge_1d_ipv6.sh line 692: )"$dest_mac:"$( : ETH daddr ^-- SC2027 (warning): The surrounding quotes actually unquote this. Remove or escape them. ^-- SC2046 (warning): Quote this to prevent word splitting. In vxlan_bridge_1d_ipv6.sh line 693: )"$(mac_get w2):"$( : ETH saddr ^-- SC2027 (warning): The surrounding quotes actually unquote this. Remove or escape them. ^-- SC2046 (warning): Quote this to prevent word splitting. In vxlan_bridge_1d_ipv6.sh line 694: )"86:dd:"$( : ETH type ^-- SC2027 (warning): The surrounding quotes actually unquote this. Remove or escape them. ^-- SC2046 (warning): Quote this to prevent word splitting. In vxlan_bridge_1d_ipv6.sh line 695: )"6"$( : IP version ^-- SC2027 (warning): The surrounding quotes actually unquote this. Remove or escape them. ^-- SC2046 (warning): Quote this to prevent word splitting. In vxlan_bridge_1d_ipv6.sh line 696: )"$inner_tos"$( : Traffic class ^-- SC2027 (warning): The surrounding quotes actually unquote this. Remove or escape them. ^-- SC2046 (warning): Quote this to prevent word splitting. In vxlan_bridge_1d_ipv6.sh line 697: )"0:00:00:"$( : Flow label ^-- SC2027 (warning): The surrounding quotes actually unquote this. Remove or escape them. ^-- SC2046 (warning): Quote this to prevent word splitting. In vxlan_bridge_1d_ipv6.sh line 698: )"00:08:"$( : Payload length ^-- SC2027 (warning): The surrounding quotes actually unquote this. Remove or escape them. ^-- SC2046 (warning): Quote this to prevent word splitting. In vxlan_bridge_1d_ipv6.sh line 699: )"3a:"$( : Next header ^-- SC2027 (warning): The surrounding quotes actually unquote this. Remove or escape them. ^-- SC2046 (warning): Quote this to prevent word splitting. In vxlan_bridge_1d_ipv6.sh line 700: )"04:"$( : Hop limit ^-- SC2027 (warning): The surrounding quotes actually unquote this. Remove or escape them. ^-- SC2046 (warning): Quote this to prevent word splitting. In vxlan_bridge_1d_ipv6.sh line 701: )"$saddr:"$( : IP saddr ^-- SC2027 (warning): The surrounding quotes actually unquote this. Remove or escape them. ^-- SC2046 (warning): Quote this to prevent word splitting. In vxlan_bridge_1d_ipv6.sh line 702: )"$daddr:"$( : IP daddr ^-- SC2027 (warning): The surrounding quotes actually unquote this. Remove or escape them. ^-- SC2046 (warning): Quote this to prevent word splitting. In vxlan_bridge_1d_ipv6.sh line 703: )"80:"$( : ICMPv6.type ^-- SC2027 (warning): The surrounding quotes actually unquote this. Remove or escape them. ^-- SC2046 (warning): Quote this to prevent word splitting. In vxlan_bridge_1d_ipv6.sh line 704: )"00:"$( : ICMPv6.code ^-- SC2027 (warning): The surrounding quotes actually unquote this. Remove or escape them. ^-- SC2046 (warning): Quote this to prevent word splitting. In vxlan_bridge_1d_ipv6.sh line 705: )"00:"$( : ICMPv6.checksum ^-- SC2046 (warning): Quote this to prevent word splitting. In vxlan_bridge_1d_ipv6.sh line 720: local t0=$($stat_get) ^-- SC2155 (warning): Declare and assign separately to avoid masking return values. In vxlan_bridge_1d_ipv6.sh line 723: vxlan_encapped_ping_do 10 $ping_dev $(mac_get $nh_dev) \ ^-------^ SC2086 (info): Double quote to prevent globbing and word splitting. ^----------------^ SC2046 (warning): Quote this to prevent word splitting. ^-----^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: vxlan_encapped_ping_do 10 "$ping_dev" $(mac_get "$nh_dev") \ In vxlan_bridge_1d_ipv6.sh line 724: $ping_dip $(mac_get $h1) \ ^-------^ SC2086 (info): Double quote to prevent globbing and word splitting. ^------------^ SC2046 (warning): Quote this to prevent word splitting. ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: "$ping_dip" $(mac_get "$h1") \ In vxlan_bridge_1d_ipv6.sh line 725: $inner_tos $outer_tos ^--------^ SC2086 (info): Double quote to prevent globbing and word splitting. ^--------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: "$inner_tos" "$outer_tos" In vxlan_bridge_1d_ipv6.sh line 727: local t1=$($stat_get) ^-- SC2155 (warning): Declare and assign separately to avoid masking return values. In vxlan_bridge_1d_ipv6.sh line 744: tc filter add dev $h1 ingress pref 77 protocol ipv6 \ ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter add dev "$h1" ingress pref 77 protocol ipv6 \ In vxlan_bridge_1d_ipv6.sh line 746: ip_tos $decapped_tos action drop ^-----------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip_tos "$decapped_tos" action drop In vxlan_bridge_1d_ipv6.sh line 749: $orig_inner_tos $orig_outer_tos \ ^-------------^ SC2086 (info): Double quote to prevent globbing and word splitting. ^-------------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: "$orig_inner_tos" "$orig_outer_tos" \ In vxlan_bridge_1d_ipv6.sh line 751: tc filter del dev $h1 ingress pref 77 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter del dev "$h1" ingress pref 77 In vxlan_bridge_1d_ipv6.sh line 764: $orig_inner_tos $orig_outer_tos \ ^-------------^ SC2086 (info): Double quote to prevent globbing and word splitting. ^-------------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: "$orig_inner_tos" "$orig_outer_tos" \ In vxlan_bridge_1d_ipv6.sh line 804: 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/SC2068 -- Double quote array expansions to ... https://www.shellcheck.net/wiki/SC2027 -- The surrounding quotes actually u... https://www.shellcheck.net/wiki/SC2046 -- Quote this to prevent word splitt... Checking tools/testing/selftests/net/forwarding/vxlan_bridge_1q.sh - 2fdb79061a2e0c4ca93ea23324a6af431c7b9b7fe4ffa28d218e0c1625b4ebb1 In vxlan_bridge_1q.sh line 86: : ${VXPORT:=4789} ^-------------^ SC2223 (info): This default assignment may cause DoS due to globbing. Quote it. In vxlan_bridge_1q.sh line 89: : ${ALL_TESTS:=" ^-- SC2223 (info): This default assignment may cause DoS due to globbing. Quote it. In vxlan_bridge_1q.sh line 106: simple_if_init $h1 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: simple_if_init "$h1" In vxlan_bridge_1q.sh line 107: tc qdisc add dev $h1 clsact ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc qdisc add dev "$h1" clsact In vxlan_bridge_1q.sh line 108: vlan_create $h1 10 v$h1 192.0.2.1/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 "$h1" 10 v"$h1" 192.0.2.1/28 In vxlan_bridge_1q.sh line 109: vlan_create $h1 20 v$h1 198.51.100.1/24 ^-^ 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 "$h1" 20 v"$h1" 198.51.100.1/24 In vxlan_bridge_1q.sh line 114: vlan_destroy $h1 20 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: vlan_destroy "$h1" 20 In vxlan_bridge_1q.sh line 115: vlan_destroy $h1 10 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: vlan_destroy "$h1" 10 In vxlan_bridge_1q.sh line 116: tc qdisc del dev $h1 clsact ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc qdisc del dev "$h1" clsact In vxlan_bridge_1q.sh line 117: simple_if_fini $h1 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: simple_if_fini "$h1" In vxlan_bridge_1q.sh line 122: simple_if_init $h2 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: simple_if_init "$h2" In vxlan_bridge_1q.sh line 123: tc qdisc add dev $h2 clsact ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc qdisc add dev "$h2" clsact In vxlan_bridge_1q.sh line 124: vlan_create $h2 10 v$h2 192.0.2.2/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 "$h2" 10 v"$h2" 192.0.2.2/28 In vxlan_bridge_1q.sh line 125: vlan_create $h2 20 v$h2 198.51.100.2/24 ^-^ 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 "$h2" 20 v"$h2" 198.51.100.2/24 In vxlan_bridge_1q.sh line 130: vlan_destroy $h2 20 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: vlan_destroy "$h2" 20 In vxlan_bridge_1q.sh line 131: vlan_destroy $h2 10 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: vlan_destroy "$h2" 10 In vxlan_bridge_1q.sh line 132: tc qdisc del dev $h2 clsact ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc qdisc del dev "$h2" clsact In vxlan_bridge_1q.sh line 133: simple_if_fini $h2 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: simple_if_fini "$h2" In vxlan_bridge_1q.sh line 138: ip address add dev $rp1 192.0.2.17/28 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip address add dev "$rp1" 192.0.2.17/28 In vxlan_bridge_1q.sh line 149: ip address del dev $rp1 192.0.2.17/28 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip address del dev "$rp1" 192.0.2.17/28 In vxlan_bridge_1q.sh line 158: ip link set dev br1 address $(mac_get $swp1) ^--------------^ SC2046 (warning): Quote this to prevent word splitting. ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link set dev br1 address $(mac_get "$swp1") In vxlan_bridge_1q.sh line 161: ip link set dev $rp1 up ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link set dev "$rp1" up In vxlan_bridge_1q.sh line 180: 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 vxlan_bridge_1q.sh line 181: 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 vxlan_bridge_1q.sh line 182: bridge vlan add vid 10 dev $swp1 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: bridge vlan add vid 10 dev "$swp1" In vxlan_bridge_1q.sh line 183: bridge vlan add vid 20 dev $swp1 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: bridge vlan add vid 20 dev "$swp1" In vxlan_bridge_1q.sh line 185: 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 vxlan_bridge_1q.sh line 186: 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 vxlan_bridge_1q.sh line 187: bridge vlan add vid 10 dev $swp2 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: bridge vlan add vid 10 dev "$swp2" In vxlan_bridge_1q.sh line 188: bridge vlan add vid 20 dev $swp2 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: bridge vlan add vid 20 dev "$swp2" In vxlan_bridge_1q.sh line 205: bridge vlan del vid 20 dev $swp2 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: bridge vlan del vid 20 dev "$swp2" In vxlan_bridge_1q.sh line 206: bridge vlan del vid 10 dev $swp2 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: bridge vlan del vid 10 dev "$swp2" In vxlan_bridge_1q.sh line 207: 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 vxlan_bridge_1q.sh line 208: 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 vxlan_bridge_1q.sh line 210: bridge vlan del vid 20 dev $swp1 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: bridge vlan del vid 20 dev "$swp1" In vxlan_bridge_1q.sh line 211: bridge vlan del vid 10 dev $swp1 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: bridge vlan del vid 10 dev "$swp1" In vxlan_bridge_1q.sh line 212: 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 vxlan_bridge_1q.sh line 213: 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 vxlan_bridge_1q.sh line 228: ip link set dev $rp1 down ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link set dev "$rp1" down In vxlan_bridge_1q.sh line 236: simple_if_init $rp2 192.0.2.18/28 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: simple_if_init "$rp2" 192.0.2.18/28 In vxlan_bridge_1q.sh line 237: __simple_if_init v1 v$rp2 192.0.2.33/28 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: __simple_if_init v1 v"$rp2" 192.0.2.33/28 In vxlan_bridge_1q.sh line 238: __simple_if_init v3 v$rp2 192.0.2.49/28 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: __simple_if_init v3 v"$rp2" 192.0.2.49/28 In vxlan_bridge_1q.sh line 247: simple_if_fini $rp2 192.0.2.18/28 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: simple_if_fini "$rp2" 192.0.2.18/28 In vxlan_bridge_1q.sh line 259: ip link set dev $in_if up ^----^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link set dev "$in_if" up In vxlan_bridge_1q.sh line 260: ip address add dev $in_if $in_addr/28 ^----^ SC2086 (info): Double quote to prevent globbing and word splitting. ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip address add dev "$in_if" "$in_addr"/28 In vxlan_bridge_1q.sh line 261: tc qdisc add dev $in_if clsact ^----^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc qdisc add dev "$in_if" clsact In vxlan_bridge_1q.sh line 274: ip link add name vx10 type vxlan id 1000 local $in_addr \ ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link add name vx10 type vxlan id 1000 local "$in_addr" \ In vxlan_bridge_1q.sh line 278: bridge fdb append dev vx10 00:00:00:00:00:00 dst $other_in_addr self ^------------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: bridge fdb append dev vx10 00:00:00:00:00:00 dst "$other_in_addr" self In vxlan_bridge_1q.sh line 285: ip link add name vx20 type vxlan id 2000 local $in_addr \ ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link add name vx20 type vxlan id 2000 local "$in_addr" \ In vxlan_bridge_1q.sh line 289: bridge fdb append dev vx20 00:00:00:00:00:00 dst $other_in_addr self ^------------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: bridge fdb append dev vx20 00:00:00:00:00:00 dst "$other_in_addr" self In vxlan_bridge_1q.sh line 297: vlan_create w2 10 vw2 $host_addr1/28 ^---------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: vlan_create w2 10 vw2 "$host_addr1"/28 In vxlan_bridge_1q.sh line 298: vlan_create w2 20 vw2 $host_addr2/24 ^---------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: vlan_create w2 20 vw2 "$host_addr2"/24 In vxlan_bridge_1q.sh line 300: ip route add 192.0.2.16/28 nexthop via $nh_addr ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip route add 192.0.2.16/28 nexthop via "$nh_addr" In vxlan_bridge_1q.sh line 301: ip route add $other_in_addr/32 nexthop via $nh_addr ^------------^ SC2086 (info): Double quote to prevent globbing and word splitting. ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip route add "$other_in_addr"/32 nexthop via "$nh_addr" In vxlan_bridge_1q.sh line 361: h2_mac=$(mac_get $h2) ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: h2_mac=$(mac_get "$h2") In vxlan_bridge_1q.sh line 420: ping_test $h1.10 192.0.2.2 ": local->local vid 10" ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ping_test "$h1".10 192.0.2.2 ": local->local vid 10" In vxlan_bridge_1q.sh line 421: ping_test $h1.20 198.51.100.2 ": local->local vid 20" ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ping_test "$h1".20 198.51.100.2 ": local->local vid 20" In vxlan_bridge_1q.sh line 422: ping_test $h1.10 192.0.2.3 ": local->remote 1 vid 10" ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ping_test "$h1".10 192.0.2.3 ": local->remote 1 vid 10" In vxlan_bridge_1q.sh line 423: ping_test $h1.10 192.0.2.4 ": local->remote 2 vid 10" ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ping_test "$h1".10 192.0.2.4 ": local->remote 2 vid 10" In vxlan_bridge_1q.sh line 424: ping_test $h1.20 198.51.100.3 ": local->remote 1 vid 20" ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ping_test "$h1".20 198.51.100.3 ": local->remote 1 vid 20" In vxlan_bridge_1q.sh line 425: ping_test $h1.20 198.51.100.4 ": local->remote 2 vid 20" ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ping_test "$h1".20 198.51.100.4 ": local->remote 2 vid 20" In vxlan_bridge_1q.sh line 430: echo ${1:+in_ns} $1 ^-- SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: echo ${1:+in_ns} "$1" In vxlan_bridge_1q.sh line 448: $(maybe_in_ns $ns) __icmp_capture_add_del \ ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: $(maybe_in_ns "$ns") __icmp_capture_add_del \ In vxlan_bridge_1q.sh line 449: $add_del 100 "" $dev skip_sw 2>/dev/null || \ ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: "$add_del" 100 "" "$dev" skip_sw 2>/dev/null || \ In vxlan_bridge_1q.sh line 450: $(maybe_in_ns $ns) __icmp_capture_add_del \ ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: $(maybe_in_ns "$ns") __icmp_capture_add_del \ In vxlan_bridge_1q.sh line 451: $add_del 100 "" $dev skip_hw ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: "$add_del" 100 "" "$dev" skip_hw In vxlan_bridge_1q.sh line 469: $(maybe_in_ns $ns) tc_rule_stats_get $dev 100 ingress ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: $(maybe_in_ns "$ns") tc_rule_stats_get "$dev" 100 ingress In vxlan_bridge_1q.sh line 478: flood_fetch_stat $counter ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: flood_fetch_stat "$counter" In vxlan_bridge_1q.sh line 489: local -a counters=($h2 "vx10 ns1" "vx20 ns1" "vx10 ns2" "vx20 ns2") ^-^ SC2206 (warning): Quote to prevent word splitting/globbing, or split robustly with mapfile or read -a. In vxlan_bridge_1q.sh line 497: bridge vlan add vid $vid dev $swp2 untagged ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: bridge vlan add vid "$vid" dev "$swp2" untagged In vxlan_bridge_1q.sh line 499: flood_counter_install $counter ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: flood_counter_install "$counter" In vxlan_bridge_1q.sh line 502: local -a t0s=($(flood_fetch_stats "${counters[@]}")) ^-- SC2207 (warning): Prefer mapfile or read -a to split command output (or quote to avoid splitting). In vxlan_bridge_1q.sh line 503: $MZ -Q $vid -c 10 -d 100msec -p 64 -b $mac -B $dst -t icmp -q $h1 ^--^ 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 -Q "$vid" -c 10 -d 100msec -p 64 -b "$mac" -B "$dst" -t icmp -q "$h1" In vxlan_bridge_1q.sh line 505: local -a t1s=($(flood_fetch_stats "${counters[@]}")) ^-- SC2207 (warning): Prefer mapfile or read -a to split command output (or quote to avoid splitting). In vxlan_bridge_1q.sh line 507: for key in ${!t0s[@]}; do ^--------^ SC2068 (error): Double quote array expansions to avoid re-splitting elements. In vxlan_bridge_1q.sh line 508: local delta=$((t1s[$key] - t0s[$key])) ^--^ SC2004 (style): $/${} is unnecessary on arithmetic variables. ^--^ SC2004 (style): $/${} is unnecessary on arithmetic variables. In vxlan_bridge_1q.sh line 516: flood_counter_uninstall $counter ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: flood_counter_uninstall "$counter" In vxlan_bridge_1q.sh line 518: bridge vlan add vid $vid dev $swp2 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: bridge vlan add vid "$vid" dev "$swp2" In vxlan_bridge_1q.sh line 531: vxlan_flood_test $mac $dst $vid "${expects[@]}" ^--^ 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: vxlan_flood_test "$mac" "$dst" "$vid" "${expects[@]}" In vxlan_bridge_1q.sh line 567: bridge fdb $add_del dev $dev $mac self static permanent \ ^------^ 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: bridge fdb "$add_del" dev "$dev" "$mac" self static permanent \ In vxlan_bridge_1q.sh line 568: ${dst:+dst} $dst 2>/dev/null ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ${dst:+dst} "$dst" 2>/dev/null In vxlan_bridge_1q.sh line 569: bridge fdb $add_del dev $dev $mac master static vlan $vid 2>/dev/null ^------^ 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: bridge fdb "$add_del" dev "$dev" "$mac" master static vlan "$vid" 2>/dev/null In vxlan_bridge_1q.sh line 583: expects[$hit_idx]=10 ^------^ SC2004 (style): $/${} is unnecessary on arithmetic variables. In vxlan_bridge_1q.sh line 585: vxlan_flood_test $mac $dst $vid "${expects[@]}" ^--^ 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: vxlan_flood_test "$mac" "$dst" "$vid" "${expects[@]}" In vxlan_bridge_1q.sh line 600: vxlan_fdb_add_del add 10 $target ^-----^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: vxlan_fdb_add_del add 10 "$target" In vxlan_bridge_1q.sh line 603: __test_unicast $h2_mac 192.0.2.2 0 10 "local MAC unicast" ^-----^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: __test_unicast "$h2_mac" 192.0.2.2 0 10 "local MAC unicast" In vxlan_bridge_1q.sh line 604: __test_unicast $r1_mac 192.0.2.3 1 10 "remote MAC 1 unicast" ^-----^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: __test_unicast "$r1_mac" 192.0.2.3 1 10 "remote MAC 1 unicast" In vxlan_bridge_1q.sh line 605: __test_unicast $r2_mac 192.0.2.4 3 10 "remote MAC 2 unicast" ^-----^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: __test_unicast "$r2_mac" 192.0.2.4 3 10 "remote MAC 2 unicast" In vxlan_bridge_1q.sh line 608: vxlan_fdb_add_del del 10 $target ^-----^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: vxlan_fdb_add_del del 10 "$target" In vxlan_bridge_1q.sh line 617: vxlan_fdb_add_del add 20 $target ^-----^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: vxlan_fdb_add_del add 20 "$target" In vxlan_bridge_1q.sh line 620: __test_unicast $h2_mac 198.51.100.2 0 20 "local MAC unicast" ^-----^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: __test_unicast "$h2_mac" 198.51.100.2 0 20 "local MAC unicast" In vxlan_bridge_1q.sh line 621: __test_unicast $r1_mac 198.51.100.3 2 20 "remote MAC 1 unicast" ^-----^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: __test_unicast "$r1_mac" 198.51.100.3 2 20 "remote MAC 1 unicast" In vxlan_bridge_1q.sh line 622: __test_unicast $r2_mac 198.51.100.4 4 20 "remote MAC 2 unicast" ^-----^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: __test_unicast "$r2_mac" 198.51.100.4 4 20 "remote MAC 2 unicast" In vxlan_bridge_1q.sh line 625: vxlan_fdb_add_del del 20 $target ^-----^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: vxlan_fdb_add_del del 20 "$target" In vxlan_bridge_1q.sh line 640: vxlan_flood_test $mac $dst $vid "${expects[@]}" ^--^ 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: vxlan_flood_test "$mac" "$dst" "$vid" "${expects[@]}" In vxlan_bridge_1q.sh line 650: vxlan_flood_test $mac $dst $vid "${expects[@]}" ^--^ 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: vxlan_flood_test "$mac" "$dst" "$vid" "${expects[@]}" In vxlan_bridge_1q.sh line 660: vxlan_flood_test $mac $dst $vid "${expects[@]}" ^--^ 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: vxlan_flood_test "$mac" "$dst" "$vid" "${expects[@]}" In vxlan_bridge_1q.sh line 670: vxlan_flood_test $mac $dst $vid "${expects[@]}" ^--^ 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: vxlan_flood_test "$mac" "$dst" "$vid" "${expects[@]}" In vxlan_bridge_1q.sh line 683: vxlan_flood_test $mac $dst $vid "${expects[@]}" ^--^ 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: vxlan_flood_test "$mac" "$dst" "$vid" "${expects[@]}" In vxlan_bridge_1q.sh line 693: vxlan_flood_test $mac $dst $vid "${expects[@]}" ^--^ 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: vxlan_flood_test "$mac" "$dst" "$vid" "${expects[@]}" In vxlan_bridge_1q.sh line 711: expects[0]=10; expects[$idx1]=10; expects[$idx2]=10 ^---^ SC2004 (style): $/${} is unnecessary on arithmetic variables. ^---^ SC2004 (style): $/${} is unnecessary on arithmetic variables. In vxlan_bridge_1q.sh line 712: vxlan_flood_test $mac $dst $vid "${expects[@]}" ^--^ 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: vxlan_flood_test "$mac" "$dst" "$vid" "${expects[@]}" In vxlan_bridge_1q.sh line 720: in_ns ns1 $MZ -Q $vid -c 1 -p 64 -a $mac -b ff:ff:ff:ff:ff:ff \ ^-^ 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: in_ns ns1 "$MZ" -Q "$vid" -c 1 -p 64 -a "$mac" -b ff:ff:ff:ff:ff:ff \ In vxlan_bridge_1q.sh line 721: -B $dst -t icmp -q w2 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: -B "$dst" -t icmp -q w2 In vxlan_bridge_1q.sh line 724: bridge fdb show brport $vx | grep $mac | grep -q self ^-^ 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 show brport "$vx" | grep "$mac" | grep -q self In vxlan_bridge_1q.sh line 726: bridge fdb show brport $vx | grep $mac | grep "vlan $vid" \ ^-^ 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 show brport "$vx" | grep "$mac" | grep "vlan $vid" \ In vxlan_bridge_1q.sh line 735: expects[0]=0; expects[$idx1]=10; expects[$idx2]=0 ^---^ SC2004 (style): $/${} is unnecessary on arithmetic variables. ^---^ SC2004 (style): $/${} is unnecessary on arithmetic variables. In vxlan_bridge_1q.sh line 736: vxlan_flood_test $mac $dst $vid "${expects[@]}" ^--^ 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: vxlan_flood_test "$mac" "$dst" "$vid" "${expects[@]}" In vxlan_bridge_1q.sh line 744: bridge fdb del dev $vx $mac master self vlan $vid ^-^ 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: bridge fdb del dev "$vx" "$mac" master self vlan "$vid" In vxlan_bridge_1q.sh line 747: expects[0]=10; expects[$idx1]=10; expects[$idx2]=10 ^---^ SC2004 (style): $/${} is unnecessary on arithmetic variables. ^---^ SC2004 (style): $/${} is unnecessary on arithmetic variables. In vxlan_bridge_1q.sh line 748: vxlan_flood_test $mac $dst $vid "${expects[@]}" ^--^ 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: vxlan_flood_test "$mac" "$dst" "$vid" "${expects[@]}" In vxlan_bridge_1q.sh line 755: in_ns ns1 $MZ -Q $vid -c 1 -p 64 -a $mac -b ff:ff:ff:ff:ff:ff \ ^-^ 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: in_ns ns1 "$MZ" -Q "$vid" -c 1 -p 64 -a "$mac" -b ff:ff:ff:ff:ff:ff \ In vxlan_bridge_1q.sh line 756: -B $dst -t icmp -q w2 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: -B "$dst" -t icmp -q w2 In vxlan_bridge_1q.sh line 759: bridge fdb show brport $vx | grep $mac | grep -q self ^-^ 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 show brport "$vx" | grep "$mac" | grep -q self In vxlan_bridge_1q.sh line 761: bridge fdb show brport $vx | grep $mac | grep "vlan $vid" \ ^-^ 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 show brport "$vx" | grep "$mac" | grep "vlan $vid" \ In vxlan_bridge_1q.sh line 765: expects[0]=0; expects[$idx1]=10; expects[$idx2]=0 ^---^ SC2004 (style): $/${} is unnecessary on arithmetic variables. ^---^ SC2004 (style): $/${} is unnecessary on arithmetic variables. In vxlan_bridge_1q.sh line 766: vxlan_flood_test $mac $dst $vid "${expects[@]}" ^--^ 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: vxlan_flood_test "$mac" "$dst" "$vid" "${expects[@]}" In vxlan_bridge_1q.sh line 770: bridge fdb show brport $vx | grep $mac | grep -q self ^-^ 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 show brport "$vx" | grep "$mac" | grep -q self In vxlan_bridge_1q.sh line 772: bridge fdb show brport $vx | grep $mac | grep "vlan $vid" \ ^-^ 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 show brport "$vx" | grep "$mac" | grep "vlan $vid" \ In vxlan_bridge_1q.sh line 776: expects[0]=10; expects[$idx1]=10; expects[$idx2]=10 ^---^ SC2004 (style): $/${} is unnecessary on arithmetic variables. ^---^ SC2004 (style): $/${} is unnecessary on arithmetic variables. In vxlan_bridge_1q.sh line 777: vxlan_flood_test $mac $dst $vid "${expects[@]}" ^--^ 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: vxlan_flood_test "$mac" "$dst" "$vid" "${expects[@]}" In vxlan_bridge_1q.sh line 785: ip link set dev $vx type bridge_slave learning off ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link set dev "$vx" type bridge_slave learning off In vxlan_bridge_1q.sh line 787: in_ns ns1 $MZ -Q $vid -c 1 -p 64 -a $mac -b ff:ff:ff:ff:ff:ff \ ^-^ 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: in_ns ns1 "$MZ" -Q "$vid" -c 1 -p 64 -a "$mac" -b ff:ff:ff:ff:ff:ff \ In vxlan_bridge_1q.sh line 788: -B $dst -t icmp -q w2 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: -B "$dst" -t icmp -q w2 In vxlan_bridge_1q.sh line 791: bridge fdb show brport $vx | grep $mac | grep "vlan $vid" \ ^-^ 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 show brport "$vx" | grep "$mac" | grep "vlan $vid" \ In vxlan_bridge_1q.sh line 795: ip link set dev $vx type bridge_slave learning on ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link set dev "$vx" type bridge_slave learning on In vxlan_bridge_1q.sh line 797: in_ns ns1 $MZ -Q $vid -c 1 -p 64 -a $mac -b ff:ff:ff:ff:ff:ff \ ^-^ 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: in_ns ns1 "$MZ" -Q "$vid" -c 1 -p 64 -a "$mac" -b ff:ff:ff:ff:ff:ff \ In vxlan_bridge_1q.sh line 798: -B $dst -t icmp -q w2 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: -B "$dst" -t icmp -q w2 In vxlan_bridge_1q.sh line 801: bridge fdb show brport $vx | grep $mac | grep "vlan $vid" \ ^-^ 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 show brport "$vx" | grep "$mac" | grep "vlan $vid" \ In vxlan_bridge_1q.sh line 824: __test_learning $mac $dst $vid 1 3 ^--^ 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_learning "$mac" "$dst" "$vid" 1 3 In vxlan_bridge_1q.sh line 832: __test_learning $mac $dst $vid 2 4 ^--^ 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_learning "$mac" "$dst" "$vid" 2 4 In vxlan_bridge_1q.sh line 855: 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/SC2068 -- Double quote array expansions to ... https://www.shellcheck.net/wiki/SC2046 -- Quote this to prevent word splitt... https://www.shellcheck.net/wiki/SC2206 -- Quote to prevent word splitting/g... Checking tools/testing/selftests/net/forwarding/vxlan_bridge_1q_ipv6.sh - 484c3d61ddf58c186b83e9f86970afc39ea4f3b78c14b39760ffaeaa49172193 In vxlan_bridge_1q_ipv6.sh line 93: : ${VXPORT:=4789} ^-------------^ SC2223 (info): This default assignment may cause DoS due to globbing. Quote it. In vxlan_bridge_1q_ipv6.sh line 96: : ${ALL_TESTS:=" ^-- SC2223 (info): This default assignment may cause DoS due to globbing. Quote it. In vxlan_bridge_1q_ipv6.sh line 119: simple_if_init $h1 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: simple_if_init "$h1" In vxlan_bridge_1q_ipv6.sh line 120: tc qdisc add dev $h1 clsact ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc qdisc add dev "$h1" clsact In vxlan_bridge_1q_ipv6.sh line 121: vlan_create $h1 10 v$h1 192.0.2.1/28 2001:db8:1::1/64 ^-^ 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 "$h1" 10 v"$h1" 192.0.2.1/28 2001:db8:1::1/64 In vxlan_bridge_1q_ipv6.sh line 122: vlan_create $h1 20 v$h1 198.51.100.1/24 2001:db8:2::1/64 ^-^ 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 "$h1" 20 v"$h1" 198.51.100.1/24 2001:db8:2::1/64 In vxlan_bridge_1q_ipv6.sh line 127: vlan_destroy $h1 20 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: vlan_destroy "$h1" 20 In vxlan_bridge_1q_ipv6.sh line 128: vlan_destroy $h1 10 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: vlan_destroy "$h1" 10 In vxlan_bridge_1q_ipv6.sh line 129: tc qdisc del dev $h1 clsact ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc qdisc del dev "$h1" clsact In vxlan_bridge_1q_ipv6.sh line 130: simple_if_fini $h1 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: simple_if_fini "$h1" In vxlan_bridge_1q_ipv6.sh line 135: simple_if_init $h2 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: simple_if_init "$h2" In vxlan_bridge_1q_ipv6.sh line 136: tc qdisc add dev $h2 clsact ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc qdisc add dev "$h2" clsact In vxlan_bridge_1q_ipv6.sh line 137: vlan_create $h2 10 v$h2 192.0.2.2/28 2001:db8:1::2/64 ^-^ 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 "$h2" 10 v"$h2" 192.0.2.2/28 2001:db8:1::2/64 In vxlan_bridge_1q_ipv6.sh line 138: vlan_create $h2 20 v$h2 198.51.100.2/24 2001:db8:2::2/64 ^-^ 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 "$h2" 20 v"$h2" 198.51.100.2/24 2001:db8:2::2/64 In vxlan_bridge_1q_ipv6.sh line 143: vlan_destroy $h2 20 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: vlan_destroy "$h2" 20 In vxlan_bridge_1q_ipv6.sh line 144: vlan_destroy $h2 10 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: vlan_destroy "$h2" 10 In vxlan_bridge_1q_ipv6.sh line 145: tc qdisc del dev $h2 clsact ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc qdisc del dev "$h2" clsact In vxlan_bridge_1q_ipv6.sh line 146: simple_if_fini $h2 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: simple_if_fini "$h2" In vxlan_bridge_1q_ipv6.sh line 151: ip address add dev $rp1 2001:db8:3::1/64 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip address add dev "$rp1" 2001:db8:3::1/64 In vxlan_bridge_1q_ipv6.sh line 162: ip address del dev $rp1 2001:db8:3::1/64 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip address del dev "$rp1" 2001:db8:3::1/64 In vxlan_bridge_1q_ipv6.sh line 171: ip link set dev br1 address $(mac_get $swp1) ^--------------^ SC2046 (warning): Quote this to prevent word splitting. ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link set dev br1 address $(mac_get "$swp1") In vxlan_bridge_1q_ipv6.sh line 174: ip link set dev $rp1 up ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link set dev "$rp1" up In vxlan_bridge_1q_ipv6.sh line 176: tc qdisc add dev $rp1 clsact ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc qdisc add dev "$rp1" clsact In vxlan_bridge_1q_ipv6.sh line 194: 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 vxlan_bridge_1q_ipv6.sh line 195: 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 vxlan_bridge_1q_ipv6.sh line 196: tc qdisc add dev $swp1 clsact ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc qdisc add dev "$swp1" clsact In vxlan_bridge_1q_ipv6.sh line 197: bridge vlan add vid 10 dev $swp1 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: bridge vlan add vid 10 dev "$swp1" In vxlan_bridge_1q_ipv6.sh line 198: bridge vlan add vid 20 dev $swp1 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: bridge vlan add vid 20 dev "$swp1" In vxlan_bridge_1q_ipv6.sh line 200: 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 vxlan_bridge_1q_ipv6.sh line 201: 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 vxlan_bridge_1q_ipv6.sh line 202: bridge vlan add vid 10 dev $swp2 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: bridge vlan add vid 10 dev "$swp2" In vxlan_bridge_1q_ipv6.sh line 203: bridge vlan add vid 20 dev $swp2 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: bridge vlan add vid 20 dev "$swp2" In vxlan_bridge_1q_ipv6.sh line 220: bridge vlan del vid 20 dev $swp2 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: bridge vlan del vid 20 dev "$swp2" In vxlan_bridge_1q_ipv6.sh line 221: bridge vlan del vid 10 dev $swp2 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: bridge vlan del vid 10 dev "$swp2" In vxlan_bridge_1q_ipv6.sh line 222: 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 vxlan_bridge_1q_ipv6.sh line 223: 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 vxlan_bridge_1q_ipv6.sh line 225: bridge vlan del vid 20 dev $swp1 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: bridge vlan del vid 20 dev "$swp1" In vxlan_bridge_1q_ipv6.sh line 226: bridge vlan del vid 10 dev $swp1 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: bridge vlan del vid 10 dev "$swp1" In vxlan_bridge_1q_ipv6.sh line 227: tc qdisc del dev $swp1 clsact ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc qdisc del dev "$swp1" clsact In vxlan_bridge_1q_ipv6.sh line 228: 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 vxlan_bridge_1q_ipv6.sh line 229: 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 vxlan_bridge_1q_ipv6.sh line 243: tc qdisc del dev $rp1 clsact ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc qdisc del dev "$rp1" clsact In vxlan_bridge_1q_ipv6.sh line 245: ip link set dev $rp1 down ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link set dev "$rp1" down In vxlan_bridge_1q_ipv6.sh line 253: simple_if_init $rp2 2001:db8:3::2/64 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: simple_if_init "$rp2" 2001:db8:3::2/64 In vxlan_bridge_1q_ipv6.sh line 254: __simple_if_init v1 v$rp2 2001:db8:4::2/64 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: __simple_if_init v1 v"$rp2" 2001:db8:4::2/64 In vxlan_bridge_1q_ipv6.sh line 255: __simple_if_init v3 v$rp2 2001:db8:5::2/64 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: __simple_if_init v3 v"$rp2" 2001:db8:5::2/64 In vxlan_bridge_1q_ipv6.sh line 264: simple_if_fini $rp2 2001:db8:3::2/64 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: simple_if_fini "$rp2" 2001:db8:3::2/64 In vxlan_bridge_1q_ipv6.sh line 278: ip link set dev $in_if up ^----^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link set dev "$in_if" up In vxlan_bridge_1q_ipv6.sh line 279: ip address add dev $in_if $in_addr/64 ^----^ SC2086 (info): Double quote to prevent globbing and word splitting. ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip address add dev "$in_if" "$in_addr"/64 In vxlan_bridge_1q_ipv6.sh line 280: tc qdisc add dev $in_if clsact ^----^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc qdisc add dev "$in_if" clsact In vxlan_bridge_1q_ipv6.sh line 293: ip link add name vx10 type vxlan id 1000 local $in_addr \ ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link add name vx10 type vxlan id 1000 local "$in_addr" \ In vxlan_bridge_1q_ipv6.sh line 297: bridge fdb append dev vx10 00:00:00:00:00:00 dst $other_in_addr self ^------------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: bridge fdb append dev vx10 00:00:00:00:00:00 dst "$other_in_addr" self In vxlan_bridge_1q_ipv6.sh line 304: ip link add name vx20 type vxlan id 2000 local $in_addr \ ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link add name vx20 type vxlan id 2000 local "$in_addr" \ In vxlan_bridge_1q_ipv6.sh line 308: bridge fdb append dev vx20 00:00:00:00:00:00 dst $other_in_addr self ^------------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: bridge fdb append dev vx20 00:00:00:00:00:00 dst "$other_in_addr" self In vxlan_bridge_1q_ipv6.sh line 316: vlan_create w2 10 vw2 $host_addr1_ipv4/28 $host_addr1_ipv6/64 ^--------------^ 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 w2 10 vw2 "$host_addr1_ipv4"/28 "$host_addr1_ipv6"/64 In vxlan_bridge_1q_ipv6.sh line 317: vlan_create w2 20 vw2 $host_addr2_ipv4/24 $host_addr2_ipv6/64 ^--------------^ 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 w2 20 vw2 "$host_addr2_ipv4"/24 "$host_addr2_ipv6"/64 In vxlan_bridge_1q_ipv6.sh line 319: ip route add 2001:db8:3::0/64 nexthop via $nh_addr ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip route add 2001:db8:3::0/64 nexthop via "$nh_addr" In vxlan_bridge_1q_ipv6.sh line 320: ip route add $other_in_addr/128 nexthop via $nh_addr ^------------^ SC2086 (info): Double quote to prevent globbing and word splitting. ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip route add "$other_in_addr"/128 nexthop via "$nh_addr" In vxlan_bridge_1q_ipv6.sh line 380: h2_mac=$(mac_get $h2) ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: h2_mac=$(mac_get "$h2") In vxlan_bridge_1q_ipv6.sh line 448: tc filter add dev $rp1 egress protocol ipv6 pref 1 handle 101 \ ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter add dev "$rp1" egress protocol ipv6 pref 1 handle 101 \ In vxlan_bridge_1q_ipv6.sh line 449: flower ip_proto udp src_ip $vxlan_local_ip \ ^-------------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: flower ip_proto udp src_ip "$vxlan_local_ip" \ In vxlan_bridge_1q_ipv6.sh line 450: dst_ip $vxlan_remote_ip dst_port $VXPORT $TC_FLAG action pass ^--------------^ 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: dst_ip "$vxlan_remote_ip" dst_port "$VXPORT" "$TC_FLAG" action pass In vxlan_bridge_1q_ipv6.sh line 454: tc filter add dev $swp1 egress protocol 802.1q pref 1 handle 101 \ ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter add dev "$swp1" egress protocol 802.1q pref 1 handle 101 \ In vxlan_bridge_1q_ipv6.sh line 455: flower vlan_ethtype ipv4 src_ip $dst_ip dst_ip $src_ip \ ^-----^ SC2086 (info): Double quote to prevent globbing and word splitting. ^-----^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: flower vlan_ethtype ipv4 src_ip "$dst_ip" dst_ip "$src_ip" \ In vxlan_bridge_1q_ipv6.sh line 456: $TC_FLAG action pass ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: "$TC_FLAG" action pass In vxlan_bridge_1q_ipv6.sh line 460: PING_COUNT=100 PING_TIMEOUT=20 ping_do $dev $dst_ip ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. ^-----^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: PING_COUNT=100 PING_TIMEOUT=20 ping_do "$dev" "$dst_ip" In vxlan_bridge_1q_ipv6.sh line 471: tc filter del dev $swp1 egress ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter del dev "$swp1" egress In vxlan_bridge_1q_ipv6.sh line 472: tc filter del dev $rp1 egress ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter del dev "$rp1" egress In vxlan_bridge_1q_ipv6.sh line 489: ping_test $h1.10 192.0.2.2 ": local->local vid 10" ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ping_test "$h1".10 192.0.2.2 ": local->local vid 10" In vxlan_bridge_1q_ipv6.sh line 490: ping_test $h1.20 198.51.100.2 ": local->local vid 20" ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ping_test "$h1".20 198.51.100.2 ": local->local vid 20" In vxlan_bridge_1q_ipv6.sh line 492: __ping_ipv4 $local_sw_ip $remote_ns1_ip $h1_10_ip $w2_10_ns1_ip $h1.10 \ ^----------^ 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: __ping_ipv4 "$local_sw_ip" "$remote_ns1_ip" "$h1_10_ip" "$w2_10_ns1_ip" "$h1".10 \ In vxlan_bridge_1q_ipv6.sh line 494: __ping_ipv4 $local_sw_ip $remote_ns2_ip $h1_10_ip $w2_10_ns2_ip $h1.10 \ ^----------^ 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: __ping_ipv4 "$local_sw_ip" "$remote_ns2_ip" "$h1_10_ip" "$w2_10_ns2_ip" "$h1".10 \ In vxlan_bridge_1q_ipv6.sh line 496: __ping_ipv4 $local_sw_ip $remote_ns1_ip $h1_20_ip $w2_20_ns1_ip $h1.20 \ ^----------^ 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: __ping_ipv4 "$local_sw_ip" "$remote_ns1_ip" "$h1_20_ip" "$w2_20_ns1_ip" "$h1".20 \ In vxlan_bridge_1q_ipv6.sh line 498: __ping_ipv4 $local_sw_ip $remote_ns2_ip $h1_20_ip $w2_20_ns2_ip $h1.20 \ ^----------^ 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: __ping_ipv4 "$local_sw_ip" "$remote_ns2_ip" "$h1_20_ip" "$w2_20_ns2_ip" "$h1".20 \ In vxlan_bridge_1q_ipv6.sh line 513: tc filter add dev $rp1 egress protocol ipv6 pref 1 handle 101 \ ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter add dev "$rp1" egress protocol ipv6 pref 1 handle 101 \ In vxlan_bridge_1q_ipv6.sh line 514: flower ip_proto udp src_ip $vxlan_local_ip \ ^-------------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: flower ip_proto udp src_ip "$vxlan_local_ip" \ In vxlan_bridge_1q_ipv6.sh line 515: dst_ip $vxlan_remote_ip dst_port $VXPORT $TC_FLAG action pass ^--------------^ 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: dst_ip "$vxlan_remote_ip" dst_port "$VXPORT" "$TC_FLAG" action pass In vxlan_bridge_1q_ipv6.sh line 519: tc filter add dev $swp1 egress protocol 802.1q pref 1 handle 101 \ ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter add dev "$swp1" egress protocol 802.1q pref 1 handle 101 \ In vxlan_bridge_1q_ipv6.sh line 520: flower vlan_ethtype ipv6 src_ip $dst_ip dst_ip $src_ip \ ^-----^ SC2086 (info): Double quote to prevent globbing and word splitting. ^-----^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: flower vlan_ethtype ipv6 src_ip "$dst_ip" dst_ip "$src_ip" \ In vxlan_bridge_1q_ipv6.sh line 521: $TC_FLAG action pass ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: "$TC_FLAG" action pass In vxlan_bridge_1q_ipv6.sh line 525: PING_COUNT=100 PING_TIMEOUT=20 ping6_do $dev $dst_ip ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. ^-----^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: PING_COUNT=100 PING_TIMEOUT=20 ping6_do "$dev" "$dst_ip" In vxlan_bridge_1q_ipv6.sh line 536: tc filter del dev $swp1 egress ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter del dev "$swp1" egress In vxlan_bridge_1q_ipv6.sh line 537: tc filter del dev $rp1 egress ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter del dev "$rp1" egress In vxlan_bridge_1q_ipv6.sh line 554: ping6_test $h1.10 2001:db8:1::2 ": local->local vid 10" ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ping6_test "$h1".10 2001:db8:1::2 ": local->local vid 10" In vxlan_bridge_1q_ipv6.sh line 555: ping6_test $h1.20 2001:db8:2::2 ": local->local vid 20" ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ping6_test "$h1".20 2001:db8:2::2 ": local->local vid 20" In vxlan_bridge_1q_ipv6.sh line 557: __ping_ipv6 $local_sw_ip $remote_ns1_ip $h1_10_ip $w2_10_ns1_ip $h1.10 \ ^----------^ 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: __ping_ipv6 "$local_sw_ip" "$remote_ns1_ip" "$h1_10_ip" "$w2_10_ns1_ip" "$h1".10 \ In vxlan_bridge_1q_ipv6.sh line 559: __ping_ipv6 $local_sw_ip $remote_ns2_ip $h1_10_ip $w2_10_ns2_ip $h1.10 \ ^----------^ 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: __ping_ipv6 "$local_sw_ip" "$remote_ns2_ip" "$h1_10_ip" "$w2_10_ns2_ip" "$h1".10 \ In vxlan_bridge_1q_ipv6.sh line 561: __ping_ipv6 $local_sw_ip $remote_ns1_ip $h1_20_ip $w2_20_ns1_ip $h1.20 \ ^----------^ 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: __ping_ipv6 "$local_sw_ip" "$remote_ns1_ip" "$h1_20_ip" "$w2_20_ns1_ip" "$h1".20 \ In vxlan_bridge_1q_ipv6.sh line 563: __ping_ipv6 $local_sw_ip $remote_ns2_ip $h1_20_ip $w2_20_ns2_ip $h1.20 \ ^----------^ 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: __ping_ipv6 "$local_sw_ip" "$remote_ns2_ip" "$h1_20_ip" "$w2_20_ns2_ip" "$h1".20 \ In vxlan_bridge_1q_ipv6.sh line 569: echo ${1:+in_ns} $1 ^-- SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: echo ${1:+in_ns} "$1" In vxlan_bridge_1q_ipv6.sh line 588: $(maybe_in_ns $ns) tc filter $add_del dev "$dev" ingress \ ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: $(maybe_in_ns "$ns") tc filter "$add_del" dev "$dev" ingress \ In vxlan_bridge_1q_ipv6.sh line 589: proto ipv6 pref 100 flower dst_ip $dst_ip ip_proto \ ^-----^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: proto ipv6 pref 100 flower dst_ip "$dst_ip" ip_proto \ In vxlan_bridge_1q_ipv6.sh line 591: $(maybe_in_ns $ns) tc filter $add_del dev "$dev" ingress \ ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: $(maybe_in_ns "$ns") tc filter "$add_del" dev "$dev" ingress \ In vxlan_bridge_1q_ipv6.sh line 592: proto ipv6 pref 100 flower dst_ip $dst_ip ip_proto \ ^-----^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: proto ipv6 pref 100 flower dst_ip "$dst_ip" ip_proto \ In vxlan_bridge_1q_ipv6.sh line 611: $(maybe_in_ns $ns) tc_rule_stats_get $dev 100 ingress ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: $(maybe_in_ns "$ns") tc_rule_stats_get "$dev" 100 ingress In vxlan_bridge_1q_ipv6.sh line 620: flood_fetch_stat $counter ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: flood_fetch_stat "$counter" In vxlan_bridge_1q_ipv6.sh line 631: local -a counters=($h2 "vx10 ns1" "vx20 ns1" "vx10 ns2" "vx20 ns2") ^-^ SC2206 (warning): Quote to prevent word splitting/globbing, or split robustly with mapfile or read -a. In vxlan_bridge_1q_ipv6.sh line 639: bridge vlan add vid $vid dev $swp2 untagged ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: bridge vlan add vid "$vid" dev "$swp2" untagged In vxlan_bridge_1q_ipv6.sh line 641: flood_counter_install $dst $counter ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: flood_counter_install "$dst" "$counter" In vxlan_bridge_1q_ipv6.sh line 644: local -a t0s=($(flood_fetch_stats "${counters[@]}")) ^-- SC2207 (warning): Prefer mapfile or read -a to split command output (or quote to avoid splitting). In vxlan_bridge_1q_ipv6.sh line 645: $MZ -6 -Q $vid -c 10 -d 100msec -p 64 -b $mac -B $dst -t icmp6 -q $h1 type=128 ^--^ 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 -6 -Q "$vid" -c 10 -d 100msec -p 64 -b "$mac" -B "$dst" -t icmp6 -q "$h1" type=128 In vxlan_bridge_1q_ipv6.sh line 647: local -a t1s=($(flood_fetch_stats "${counters[@]}")) ^-- SC2207 (warning): Prefer mapfile or read -a to split command output (or quote to avoid splitting). In vxlan_bridge_1q_ipv6.sh line 649: for key in ${!t0s[@]}; do ^--------^ SC2068 (error): Double quote array expansions to avoid re-splitting elements. In vxlan_bridge_1q_ipv6.sh line 650: local delta=$((t1s[$key] - t0s[$key])) ^--^ SC2004 (style): $/${} is unnecessary on arithmetic variables. ^--^ SC2004 (style): $/${} is unnecessary on arithmetic variables. In vxlan_bridge_1q_ipv6.sh line 658: flood_counter_uninstall $dst $counter ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: flood_counter_uninstall "$dst" "$counter" In vxlan_bridge_1q_ipv6.sh line 660: bridge vlan add vid $vid dev $swp2 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: bridge vlan add vid "$vid" dev "$swp2" In vxlan_bridge_1q_ipv6.sh line 673: vxlan_flood_test $mac $dst $vid "${expects[@]}" ^--^ 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: vxlan_flood_test "$mac" "$dst" "$vid" "${expects[@]}" In vxlan_bridge_1q_ipv6.sh line 694: bridge fdb $add_del dev $dev $mac self static permanent \ ^------^ 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: bridge fdb "$add_del" dev "$dev" "$mac" self static permanent \ In vxlan_bridge_1q_ipv6.sh line 695: ${dst:+dst} $dst 2>/dev/null ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ${dst:+dst} "$dst" 2>/dev/null In vxlan_bridge_1q_ipv6.sh line 696: bridge fdb $add_del dev $dev $mac master static vlan $vid 2>/dev/null ^------^ 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: bridge fdb "$add_del" dev "$dev" "$mac" master static vlan "$vid" 2>/dev/null In vxlan_bridge_1q_ipv6.sh line 710: expects[$hit_idx]=10 ^------^ SC2004 (style): $/${} is unnecessary on arithmetic variables. In vxlan_bridge_1q_ipv6.sh line 712: vxlan_flood_test $mac $dst $vid "${expects[@]}" ^--^ 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: vxlan_flood_test "$mac" "$dst" "$vid" "${expects[@]}" In vxlan_bridge_1q_ipv6.sh line 727: vxlan_fdb_add_del add 10 $target ^-----^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: vxlan_fdb_add_del add 10 "$target" In vxlan_bridge_1q_ipv6.sh line 730: __test_unicast $h2_mac 2001:db8:1::2 0 10 "local MAC unicast" ^-----^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: __test_unicast "$h2_mac" 2001:db8:1::2 0 10 "local MAC unicast" In vxlan_bridge_1q_ipv6.sh line 731: __test_unicast $r1_mac 2001:db8:1::3 1 10 "remote MAC 1 unicast" ^-----^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: __test_unicast "$r1_mac" 2001:db8:1::3 1 10 "remote MAC 1 unicast" In vxlan_bridge_1q_ipv6.sh line 732: __test_unicast $r2_mac 2001:db8:1::4 3 10 "remote MAC 2 unicast" ^-----^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: __test_unicast "$r2_mac" 2001:db8:1::4 3 10 "remote MAC 2 unicast" In vxlan_bridge_1q_ipv6.sh line 735: vxlan_fdb_add_del del 10 $target ^-----^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: vxlan_fdb_add_del del 10 "$target" In vxlan_bridge_1q_ipv6.sh line 744: vxlan_fdb_add_del add 20 $target ^-----^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: vxlan_fdb_add_del add 20 "$target" In vxlan_bridge_1q_ipv6.sh line 747: __test_unicast $h2_mac 2001:db8:2::2 0 20 "local MAC unicast" ^-----^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: __test_unicast "$h2_mac" 2001:db8:2::2 0 20 "local MAC unicast" In vxlan_bridge_1q_ipv6.sh line 748: __test_unicast $r1_mac 2001:db8:2::3 2 20 "remote MAC 1 unicast" ^-----^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: __test_unicast "$r1_mac" 2001:db8:2::3 2 20 "remote MAC 1 unicast" In vxlan_bridge_1q_ipv6.sh line 749: __test_unicast $r2_mac 2001:db8:2::4 4 20 "remote MAC 2 unicast" ^-----^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: __test_unicast "$r2_mac" 2001:db8:2::4 4 20 "remote MAC 2 unicast" In vxlan_bridge_1q_ipv6.sh line 752: vxlan_fdb_add_del del 20 $target ^-----^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: vxlan_fdb_add_del del 20 "$target" In vxlan_bridge_1q_ipv6.sh line 767: vxlan_flood_test $mac $dst $vid "${expects[@]}" ^--^ 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: vxlan_flood_test "$mac" "$dst" "$vid" "${expects[@]}" In vxlan_bridge_1q_ipv6.sh line 777: vxlan_flood_test $mac $dst $vid "${expects[@]}" ^--^ 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: vxlan_flood_test "$mac" "$dst" "$vid" "${expects[@]}" In vxlan_bridge_1q_ipv6.sh line 787: vxlan_flood_test $mac $dst $vid "${expects[@]}" ^--^ 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: vxlan_flood_test "$mac" "$dst" "$vid" "${expects[@]}" In vxlan_bridge_1q_ipv6.sh line 797: vxlan_flood_test $mac $dst $vid "${expects[@]}" ^--^ 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: vxlan_flood_test "$mac" "$dst" "$vid" "${expects[@]}" In vxlan_bridge_1q_ipv6.sh line 810: vxlan_flood_test $mac $dst $vid "${expects[@]}" ^--^ 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: vxlan_flood_test "$mac" "$dst" "$vid" "${expects[@]}" In vxlan_bridge_1q_ipv6.sh line 820: vxlan_flood_test $mac $dst $vid "${expects[@]}" ^--^ 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: vxlan_flood_test "$mac" "$dst" "$vid" "${expects[@]}" In vxlan_bridge_1q_ipv6.sh line 837: 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/SC2068 -- Double quote array expansions to ... https://www.shellcheck.net/wiki/SC2046 -- Quote this to prevent word splitt... https://www.shellcheck.net/wiki/SC2206 -- Quote to prevent word splitting/g... Checking tools/testing/selftests/net/forwarding/vxlan_bridge_1q_mc_ul.sh - 55b8974b9512d983f0a799e4fd3181679e3083095be6248a3e44aae8bf92da20 Checking tools/testing/selftests/net/forwarding/vxlan_reserved.sh - e33a9ba82143df5f32f8b769667f1e5fcc5da104dc3f8741ba0113d3d0fc98f4 In vxlan_reserved.sh line 34: : ${VXPORT:=4789} ^-------------^ SC2223 (info): This default assignment may cause DoS due to globbing. Quote it. In vxlan_reserved.sh line 35: : ${ALL_TESTS:=" ^-- SC2223 (info): This default assignment may cause DoS due to globbing. Quote it. In vxlan_reserved.sh line 50: simple_if_init $h1 192.0.2.1/28 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: simple_if_init "$h1" 192.0.2.1/28 In vxlan_reserved.sh line 51: defer simple_if_fini $h1 192.0.2.1/28 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: defer simple_if_fini "$h1" 192.0.2.1/28 In vxlan_reserved.sh line 53: tc qdisc add dev $h1 clsact ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc qdisc add dev "$h1" clsact In vxlan_reserved.sh line 54: defer tc qdisc del dev $h1 clsact ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: defer tc qdisc del dev "$h1" clsact In vxlan_reserved.sh line 56: tc filter add dev $h1 ingress pref 77 \ ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter add dev "$h1" ingress pref 77 \ In vxlan_reserved.sh line 58: defer tc filter del dev $h1 ingress pref 77 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: defer tc filter del dev "$h1" ingress pref 77 In vxlan_reserved.sh line 66: ip_link_set_addr br1 $(mac_get $swp1) ^--------------^ SC2046 (warning): Quote this to prevent word splitting. ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip_link_set_addr br1 $(mac_get "$swp1") In vxlan_reserved.sh line 69: ip_link_set_up $rp1 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip_link_set_up "$rp1" In vxlan_reserved.sh line 70: ip_addr_add $rp1 192.0.2.17/28 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip_addr_add "$rp1" 192.0.2.17/28 In vxlan_reserved.sh line 73: ip_link_set_master $swp1 br1 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip_link_set_master "$swp1" br1 In vxlan_reserved.sh line 74: ip_link_set_up $swp1 ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip_link_set_up "$swp1" In vxlan_reserved.sh line 79: simple_if_init $rp2 192.0.2.18/28 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: simple_if_init "$rp2" 192.0.2.18/28 In vxlan_reserved.sh line 80: defer simple_if_fini $rp2 192.0.2.18/28 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: defer simple_if_fini "$rp2" 192.0.2.18/28 In vxlan_reserved.sh line 117: for i in ${extra_bits[@]}; do ^--------------^ SC2068 (error): Double quote array expansions to avoid re-splitting elements. In vxlan_reserved.sh line 124: bits[$((i + 32))]=$(((vni & mask) != 0)) ^---------^ SC2321 (style): Array indices are already arithmetic contexts. Prefer removing the $(( and )). Did you mean: bits[i + 32]=$(((vni & mask) != 0)) In vxlan_reserved.sh line 136: bytes+=$(printf %02x $byte): ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: bytes+=$(printf %02x "$byte"): In vxlan_reserved.sh line 139: echo ${bytes%:} ^--------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: echo "${bytes%:}" In vxlan_reserved.sh line 155: echo $out ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: echo "$out" In vxlan_reserved.sh line 168: local vxlan_header=$(vxlan_header_bytes $vni $reserved_bits) ^----------^ SC2155 (warning): Declare and assign separately to avoid masking return values. ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. ^------------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: local vxlan_header=$(vxlan_header_bytes "$vni" "$reserved_bits") In vxlan_reserved.sh line 170: $MZ -c $count -d 100msec -q \ ^----^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: $MZ -c "$count" -d 100msec -q \ In vxlan_reserved.sh line 171: -b $next_hop_mac -B $dest_ip \ ^-----------^ SC2086 (info): Double quote to prevent globbing and word splitting. ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: -b "$next_hop_mac" -B "$dest_ip" \ In vxlan_reserved.sh line 172: -t udp $dev sp=23456,dp=$VXPORT,p=$(: ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. ^-----^ SC2086 (info): Double quote to prevent globbing and word splitting. ^-- SC2046 (warning): Quote this to prevent word splitting. Did you mean: -t udp "$dev" sp=23456,dp="$VXPORT",p=$(: In vxlan_reserved.sh line 173: )"$vxlan_header:"$( : VXLAN ^-- SC2027 (warning): The surrounding quotes actually unquote this. Remove or escape them. ^-- SC2046 (warning): Quote this to prevent word splitting. In vxlan_reserved.sh line 174: )"$dest_mac:"$( : ETH daddr ^-- SC2027 (warning): The surrounding quotes actually unquote this. Remove or escape them. ^-- SC2046 (warning): Quote this to prevent word splitting. In vxlan_reserved.sh line 175: )"00:11:22:33:44:55:"$( : ETH saddr ^-- SC2027 (warning): The surrounding quotes actually unquote this. Remove or escape them. ^-- SC2046 (warning): Quote this to prevent word splitting. In vxlan_reserved.sh line 176: )"08:00:"$( : ETH type ^-- SC2027 (warning): The surrounding quotes actually unquote this. Remove or escape them. ^-- SC2046 (warning): Quote this to prevent word splitting. In vxlan_reserved.sh line 177: )"45:"$( : IP version + IHL ^-- SC2027 (warning): The surrounding quotes actually unquote this. Remove or escape them. ^-- SC2046 (warning): Quote this to prevent word splitting. In vxlan_reserved.sh line 178: )"00:"$( : IP TOS ^-- SC2027 (warning): The surrounding quotes actually unquote this. Remove or escape them. ^-- SC2046 (warning): Quote this to prevent word splitting. In vxlan_reserved.sh line 179: )"00:54:"$( : IP total length ^-- SC2027 (warning): The surrounding quotes actually unquote this. Remove or escape them. ^-- SC2046 (warning): Quote this to prevent word splitting. In vxlan_reserved.sh line 180: )"99:83:"$( : IP identification ^-- SC2027 (warning): The surrounding quotes actually unquote this. Remove or escape them. ^-- SC2046 (warning): Quote this to prevent word splitting. In vxlan_reserved.sh line 181: )"40:00:"$( : IP flags + frag off ^-- SC2027 (warning): The surrounding quotes actually unquote this. Remove or escape them. ^-- SC2046 (warning): Quote this to prevent word splitting. In vxlan_reserved.sh line 182: )"40:"$( : IP TTL ^-- SC2027 (warning): The surrounding quotes actually unquote this. Remove or escape them. ^-- SC2046 (warning): Quote this to prevent word splitting. In vxlan_reserved.sh line 183: )"01:"$( : IP proto ^-- SC2027 (warning): The surrounding quotes actually unquote this. Remove or escape them. ^-- SC2046 (warning): Quote this to prevent word splitting. In vxlan_reserved.sh line 184: )"00:00:"$( : IP header csum ^-- SC2027 (warning): The surrounding quotes actually unquote this. Remove or escape them. ^-- SC2046 (warning): Quote this to prevent word splitting. In vxlan_reserved.sh line 185: )"$(ipv4_to_bytes 192.0.2.3):"$( : IP saddr ^-- SC2027 (warning): The surrounding quotes actually unquote this. Remove or escape them. ^-- SC2046 (warning): Quote this to prevent word splitting. In vxlan_reserved.sh line 186: )"$(ipv4_to_bytes 192.0.2.1):"$( : IP daddr ^-- SC2027 (warning): The surrounding quotes actually unquote this. Remove or escape them. ^-- SC2046 (warning): Quote this to prevent word splitting. In vxlan_reserved.sh line 187: )"08:"$( : ICMP type ^-- SC2027 (warning): The surrounding quotes actually unquote this. Remove or escape them. ^-- SC2046 (warning): Quote this to prevent word splitting. In vxlan_reserved.sh line 188: )"00:"$( : ICMP code ^-- SC2027 (warning): The surrounding quotes actually unquote this. Remove or escape them. ^-- SC2046 (warning): Quote this to prevent word splitting. In vxlan_reserved.sh line 189: )"8b:f2:"$( : ICMP csum ^-- SC2027 (warning): The surrounding quotes actually unquote this. Remove or escape them. ^-- SC2046 (warning): Quote this to prevent word splitting. In vxlan_reserved.sh line 190: )"1f:6a:"$( : ICMP request identifier ^-- SC2027 (warning): The surrounding quotes actually unquote this. Remove or escape them. ^-- SC2046 (warning): Quote this to prevent word splitting. In vxlan_reserved.sh line 191: )"00:01:"$( : ICMP request seq. number ^-- SC2027 (warning): The surrounding quotes actually unquote this. Remove or escape them. ^-- SC2046 (warning): Quote this to prevent word splitting. In vxlan_reserved.sh line 192: )"4f:ff:c5:5b:00:00:00:00:"$( : ICMP payload ^-- SC2027 (warning): The surrounding quotes actually unquote this. Remove or escape them. ^-- SC2046 (warning): Quote this to prevent word splitting. In vxlan_reserved.sh line 193: )"6d:74:0b:00:00:00:00:00:"$( : ^-- SC2027 (warning): The surrounding quotes actually unquote this. Remove or escape them. ^-- SC2046 (warning): Quote this to prevent word splitting. In vxlan_reserved.sh line 194: )"10:11:12:13:14:15:16:17:"$( : ^-- SC2027 (warning): The surrounding quotes actually unquote this. Remove or escape them. ^-- SC2046 (warning): Quote this to prevent word splitting. In vxlan_reserved.sh line 195: )"18:19:1a:1b:1c:1d:1e:1f:"$( : ^-- SC2027 (warning): The surrounding quotes actually unquote this. Remove or escape them. ^-- SC2046 (warning): Quote this to prevent word splitting. In vxlan_reserved.sh line 196: )"20:21:22:23:24:25:26:27:"$( : ^-- SC2027 (warning): The surrounding quotes actually unquote this. Remove or escape them. ^-- SC2046 (warning): Quote this to prevent word splitting. In vxlan_reserved.sh line 197: )"28:29:2a:2b:2c:2d:2e:2f:"$( : ^-- SC2027 (warning): The surrounding quotes actually unquote this. Remove or escape them. ^-- SC2046 (warning): Quote this to prevent word splitting. In vxlan_reserved.sh line 217: echo $i ^-- SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: echo "$i" In vxlan_reserved.sh line 223: vxlan_ping_do 10 $rp2 $(mac_get $rp1) 192.0.2.17 $(mac_get $h1) 1000 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. ^-------------^ SC2046 (warning): Quote this to prevent word splitting. ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. ^------------^ SC2046 (warning): Quote this to prevent word splitting. ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: vxlan_ping_do 10 "$rp2" $(mac_get "$rp1") 192.0.2.17 $(mac_get "$h1") 1000 In vxlan_reserved.sh line 229: vxlan_ping_do 1 $rp2 $(mac_get $rp1) \ ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. ^-------------^ SC2046 (warning): Quote this to prevent word splitting. ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: vxlan_ping_do 1 "$rp2" $(mac_get "$rp1") \ In vxlan_reserved.sh line 230: 192.0.2.17 $(mac_get $h1) 1000 "$bit" ^------------^ SC2046 (warning): Quote this to prevent word splitting. ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: 192.0.2.17 $(mac_get "$h1") 1000 "$bit" In vxlan_reserved.sh line 243: local t0=$($get_stat) ^-- SC2155 (warning): Declare and assign separately to avoid masking return values. In vxlan_reserved.sh line 246: check_err $? "Failure when running $@" ^-- SC2145 (error): Argument mixes string and array. Use * or separate argument. In vxlan_reserved.sh line 248: local t1=$($get_stat) ^-- SC2155 (warning): Declare and assign separately to avoid masking return values. In vxlan_reserved.sh line 266: local t0=$(link_stats_get vx1 rx errors) ^-- SC2155 (warning): Declare and assign separately to avoid masking return values. In vxlan_reserved.sh line 269: $n_allowed_bits vxlan_ping_reserved ^-------------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: "$n_allowed_bits" vxlan_ping_reserved In vxlan_reserved.sh line 270: local t1=$(link_stats_get vx1 rx errors) ^-- SC2155 (warning): Declare and assign separately to avoid masking return values. In vxlan_reserved.sh line 308: local allowed_bytes=$(vxlan_header_bytes 0xffffff $bit) ^-----------^ 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 allowed_bytes=$(vxlan_header_bytes 0xffffff "$bit") In vxlan_reserved.sh line 309: local reserved_bytes=$(neg_bytes $allowed_bytes) ^------------^ 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 reserved_bytes=$(neg_bytes "$allowed_bytes") In vxlan_reserved.sh line 312: vxlan_device_add reserved_bits 0x$reserved_bits ^------------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: vxlan_device_add reserved_bits 0x"$reserved_bits" In vxlan_reserved.sh line 352: 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/SC2068 -- Double quote array expansions to ... https://www.shellcheck.net/wiki/SC2145 -- Argument mixes string and array. ... https://www.shellcheck.net/wiki/SC2027 -- The surrounding quotes actually u... tools/testing/selftests/net/forwarding/vxlan_bridge_1q_mc_ul.sh is shellcheck compliant