Commit 97adb13d authored by Vlad Buslov's avatar Vlad Buslov Committed by Jakub Kicinski
Browse files

selftest: fix flower terse dump tests



Iproute2 tc classifier terse dump has been accepted with modified syntax.
Update the tests accordingly.

Signed-off-by: default avatarVlad Buslov <vlad@buslov.dev>
Fixes: e7534fd4 ("selftests: implement flower classifier terse dump tests")
Link: https://lore.kernel.org/r/20201107111928.453534-1-vlad@buslov.dev


Signed-off-by: default avatarJakub Kicinski <kuba@kernel.org>
parent 989ef49b
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -100,7 +100,7 @@
        ],
        "cmdUnderTest": "$TC filter add dev $DEV2 protocol ip pref 1 ingress flower dst_mac e4:11:22:11:4a:51 action drop",
        "expExitCode": "0",
        "verifyCmd": "$TC filter show terse dev $DEV2 ingress",
        "verifyCmd": "$TC -br filter show dev $DEV2 ingress",
        "matchPattern": "filter protocol ip pref 1 flower.*handle",
        "matchCount": "1",
        "teardown": [
@@ -119,7 +119,7 @@
        ],
        "cmdUnderTest": "$TC filter add dev $DEV2 protocol ip pref 1 ingress flower dst_mac e4:11:22:11:4a:51 action drop",
        "expExitCode": "0",
        "verifyCmd": "$TC filter show terse dev $DEV2 ingress",
        "verifyCmd": "$TC -br filter show dev $DEV2 ingress",
        "matchPattern": "  dst_mac e4:11:22:11:4a:51",
        "matchCount": "0",
        "teardown": [