aboutsummaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorVlad Buslov <vladbu@mellanox.com>2018-08-05 15:35:56 -0400
committerDavid S. Miller <davem@davemloft.net>2018-08-05 20:39:23 -0400
commit64f61cddf1934277e9fbb77d3d67308ffbfd4fa3 (patch)
tree59211e0e5a118d2812f6c183f1fa3fd16e4e3e05 /tools
parentb9a7f2ee569296656a3debdabf3c5473a3923f8a (diff)
tc-testing: fix ip address in u32 test
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> Acked-by: Jamal Hadi Salim <jhs@mojatatu.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools')
-rw-r--r--tools/testing/selftests/tc-testing/tc-tests/filters/tests.json4
1 files 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 5fa02d86b35f..99a5ffca1088 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 @@
12 "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", 12 "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",
13 "expExitCode": "0", 13 "expExitCode": "0",
14 "verifyCmd": "$TC filter show dev $DEV1 parent ffff:", 14 "verifyCmd": "$TC filter show dev $DEV1 parent ffff:",
15 "matchPattern": "match 7f000002/ffffffff at 12", 15 "matchPattern": "match 7f000001/ffffffff at 12",
16 "matchCount": "0", 16 "matchCount": "1",
17 "teardown": [ 17 "teardown": [
18 "$TC qdisc del dev $DEV1 ingress" 18 "$TC qdisc del dev $DEV1 ingress"
19 ] 19 ]