Skip to content

Commit 97adb13

Browse files
w1ldptrkuba-moo
authored andcommitted
selftest: fix flower terse dump tests
Iproute2 tc classifier terse dump has been accepted with modified syntax. Update the tests accordingly. Signed-off-by: Vlad Buslov <vlad@buslov.dev> Fixes: e7534fd ("selftests: implement flower classifier terse dump tests") Link: https://lore.kernel.org/r/20201107111928.453534-1-vlad@buslov.dev Signed-off-by: Jakub Kicinski <kuba@kernel.org>
1 parent 989ef49 commit 97adb13

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

  • tools/testing/selftests/tc-testing/tc-tests/filters

‎tools/testing/selftests/tc-testing/tc-tests/filters/tests.json‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@
100100
],
101101
"cmdUnderTest": "$TC filter add dev $DEV2 protocol ip pref 1 ingress flower dst_mac e4:11:22:11:4a:51 action drop",
102102
"expExitCode": "0",
103-
"verifyCmd": "$TC filter show terse dev $DEV2 ingress",
103+
"verifyCmd": "$TC -br filter show dev $DEV2 ingress",
104104
"matchPattern": "filter protocol ip pref 1 flower.*handle",
105105
"matchCount": "1",
106106
"teardown": [
@@ -119,7 +119,7 @@
119119
],
120120
"cmdUnderTest": "$TC filter add dev $DEV2 protocol ip pref 1 ingress flower dst_mac e4:11:22:11:4a:51 action drop",
121121
"expExitCode": "0",
122-
"verifyCmd": "$TC filter show terse dev $DEV2 ingress",
122+
"verifyCmd": "$TC -br filter show dev $DEV2 ingress",
123123
"matchPattern": " dst_mac e4:11:22:11:4a:51",
124124
"matchCount": "0",
125125
"teardown": [

0 commit comments

Comments
 (0)