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

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.devSigned-off-by: default avatarJakub Kicinski <kuba@kernel.org>
parent 989ef49b
...@@ -100,7 +100,7 @@ ...@@ -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", "cmdUnderTest": "$TC filter add dev $DEV2 protocol ip pref 1 ingress flower dst_mac e4:11:22:11:4a:51 action drop",
"expExitCode": "0", "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", "matchPattern": "filter protocol ip pref 1 flower.*handle",
"matchCount": "1", "matchCount": "1",
"teardown": [ "teardown": [
...@@ -119,7 +119,7 @@ ...@@ -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", "cmdUnderTest": "$TC filter add dev $DEV2 protocol ip pref 1 ingress flower dst_mac e4:11:22:11:4a:51 action drop",
"expExitCode": "0", "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", "matchPattern": " dst_mac e4:11:22:11:4a:51",
"matchCount": "0", "matchCount": "0",
"teardown": [ "teardown": [
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment