* [PATCH] tc-testing: fix ip address in u32 test
@ 2018-05-18 16:31 Vlad Buslov
2018-05-22 15:44 ` Shuah Khan
0 siblings, 1 reply; 2+ messages in thread
From: Vlad Buslov @ 2018-05-18 16:31 UTC (permalink / raw)
To: linux-kselftest
Cc: shuah, davem, lucasb, jhs, xiyou.wangcong, chrism, linux-kernel,
Vlad Buslov
Fix expected ip address to actually match configured ip address.
Fix test to expect single matched filter.
Signed-off-by: Vlad Buslov <vladbu@mellanox.com>
---
tools/testing/selftests/tc-testing/tc-tests/filters/tests.json | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/tools/testing/selftests/tc-testing/tc-tests/filters/tests.json b/tools/testing/selftests/tc-testing/tc-tests/filters/tests.json
index 5fa02d8..99a5ffc 100644
--- a/tools/testing/selftests/tc-testing/tc-tests/filters/tests.json
+++ b/tools/testing/selftests/tc-testing/tc-tests/filters/tests.json
@@ -12,8 +12,8 @@
"cmdUnderTest": "$TC filter add dev $DEV1 parent ffff: protocol ip prio 1 u32 match ip src 127.0.0.1/32 flowid 1:1 action ok",
"expExitCode": "0",
"verifyCmd": "$TC filter show dev $DEV1 parent ffff:",
- "matchPattern": "match 7f000002/ffffffff at 12",
- "matchCount": "0",
+ "matchPattern": "match 7f000001/ffffffff at 12",
+ "matchCount": "1",
"teardown": [
"$TC qdisc del dev $DEV1 ingress"
]
--
2.7.5
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH] tc-testing: fix ip address in u32 test
2018-05-18 16:31 [PATCH] tc-testing: fix ip address in u32 test Vlad Buslov
@ 2018-05-22 15:44 ` Shuah Khan
0 siblings, 0 replies; 2+ messages in thread
From: Shuah Khan @ 2018-05-22 15:44 UTC (permalink / raw)
To: Vlad Buslov, linux-kselftest
Cc: davem, lucasb, jhs, xiyou.wangcong, chrism, linux-kernel, Shuah Khan
On 05/18/2018 10:31 AM, Vlad Buslov wrote:
> Fix expected ip address to actually match configured ip address.
> Fix test to expect single matched filter.
>
> Signed-off-by: Vlad Buslov <vladbu@mellanox.com>
I can get this into 4.18-rc1 unless there is a reason for this to go
through net tree.
thanks,
-- Shuah
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2018-05-22 15:44 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-05-18 16:31 [PATCH] tc-testing: fix ip address in u32 test Vlad Buslov
2018-05-22 15:44 ` Shuah Khan
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®