@@ -527,7 +527,7 @@ vlmc_filtering_test(){RET=0iplinksetdevbr0typebridgevlan_filtering0-ip-j-dlinkshowdevbridge|\+ip-j-dlinkshowdevbr0|\jq-e"select(.[0].linkinfo.info_data.mcast_vlan_snooping == 1)"&>/dev/nullcheck_fail$?"Vlan filtering is disabled but multicast vlan snooping is still enabled"log_test"Disable multicast vlan snooping when vlan filtering is disabled"
@@ -527,7 +527,7 @@ vlmc_filtering_test(){RET=0iplinksetdevbr0typebridgevlan_filtering0-ip-j-dlinkshowdevbridge|\+ip-j-dlinkshowdevbr0|\jq-e"select(.[0].linkinfo.info_data.mcast_vlan_snooping == 1)"&>/dev/nullcheck_fail$?"Vlan filtering is disabled but multicast vlan snooping is still enabled"log_test"Disable multicast vlan snooping when vlan filtering is disabled"
Good catch, thanks! I've also prepared a few fixes and improvements for the tests,
I'll send them out this week. :)
Acked-by: Nikolay Aleksandrov <redacted>
Hello:
This patch was applied to netdev/net-next.git (master)
by David S. Miller [off-list ref]:
On Mon, 29 Nov 2021 10:58:50 +0100 you wrote:
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
[...]