selftests: mlxsw: Consider VxLAN learning enabled as valid
authorIdo Schimmel <idosch@mellanox.com>
Wed, 21 Nov 2018 08:02:51 +0000 (08:02 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 22 Nov 2018 01:10:31 +0000 (17:10 -0800)
The test currently expects that a configuration which includes a VxLAN
device with learning enabled to fail.

Previous patches enabled VxLAN learning in mlxsw, so change the test
accordingly.

Signed-off-by: Ido Schimmel <idosch@mellanox.com>
Reviewed-by: Petr Machata <petrm@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
tools/testing/selftests/drivers/net/mlxsw/vxlan.sh

index 52e78ad..ffa79b7 100755 (executable)
@@ -167,7 +167,7 @@ sanitization_single_dev_learning_enabled_test()
        ip link add name vxlan0 up type vxlan id 10 learning noudpcsum \
                ttl 20 tos inherit local 198.51.100.1 dstport 4789
 
-       sanitization_single_dev_test_fail
+       sanitization_single_dev_test_pass
 
        ip link del dev vxlan0
        ip link del dev br0