summaryrefslogtreecommitdiff
path: root/tools/testing/selftests/net
diff options
context:
space:
mode:
authorIvan Vecera <ivecera@redhat.com>2021-11-29 10:58:50 +0100
committerDavid S. Miller <davem@davemloft.net>2021-11-29 12:49:53 +0000
commit754d71be52926563ddd5cef2a3837a5742a08c37 (patch)
treedb7b4c5fb16f9acfe649a6bbb1ca7863f4bccd82 /tools/testing/selftests/net
parentfe42e885c7a9e594cd9e5290407e752aa0afbd7e (diff)
selftests: net: bridge: fix typo in vlan_filtering dependency test
Prior patch: ]# TESTS=vlmc_filtering_test ./bridge_vlan_mcast.sh TEST: Vlan multicast snooping enable [ OK ] Device "bridge" does not exist. TEST: Disable multicast vlan snooping when vlan filtering is disabled [FAIL] Vlan filtering is disabled but multicast vlan snooping is still enabled After patch: # TESTS=vlmc_filtering_test ./bridge_vlan_mcast.sh TEST: Vlan multicast snooping enable [ OK ] TEST: Disable multicast vlan snooping when vlan filtering is disabled [ OK ] Fixes: f5a9dd58f48b7c ("selftests: net: bridge: add test for vlan_filtering dependency") Cc: Nikolay Aleksandrov <nikolay@nvidia.com> Signed-off-by: Ivan Vecera <ivecera@redhat.com> Acked-by: Nikolay Aleksandrov <nikolay@nvidia.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/testing/selftests/net')
-rwxr-xr-xtools/testing/selftests/net/forwarding/bridge_vlan_mcast.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/testing/selftests/net/forwarding/bridge_vlan_mcast.sh b/tools/testing/selftests/net/forwarding/bridge_vlan_mcast.sh
index 5224a5a8595b..8748d1b1d95b 100755
--- a/tools/testing/selftests/net/forwarding/bridge_vlan_mcast.sh
+++ b/tools/testing/selftests/net/forwarding/bridge_vlan_mcast.sh
@@ -527,7 +527,7 @@ vlmc_filtering_test()
{
RET=0
ip link set dev br0 type bridge vlan_filtering 0
- ip -j -d link show dev bridge | \
+ ip -j -d link show dev br0 | \
jq -e "select(.[0].linkinfo.info_data.mcast_vlan_snooping == 1)" &>/dev/null
check_fail $? "Vlan filtering is disabled but multicast vlan snooping is still enabled"
log_test "Disable multicast vlan snooping when vlan filtering is disabled"