Commit c4917bfc authored by Roman Mashak's avatar Roman Mashak Committed by David S. Miller

tc-testing: fixed two failing pedit tests

Two pedit tests were failing due to incorrect operation
value in matchPattern, should be 'add' not 'val', so fix it.
Signed-off-by: default avatarRoman Mashak <mrv@mojatatu.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent c0bceb97
...@@ -915,7 +915,7 @@ ...@@ -915,7 +915,7 @@
"cmdUnderTest": "$TC actions add action pedit ex munge ip tos add 0x1 pass", "cmdUnderTest": "$TC actions add action pedit ex munge ip tos add 0x1 pass",
"expExitCode": "0", "expExitCode": "0",
"verifyCmd": "$TC actions list action pedit", "verifyCmd": "$TC actions list action pedit",
"matchPattern": "action order [0-9]+: pedit action pass keys 1.*key #0 at ipv4\\+0: val 00010000 mask ff00ffff", "matchPattern": "action order [0-9]+: pedit action pass keys 1.*key #0 at ipv4\\+0: add 00010000 mask ff00ffff",
"matchCount": "1", "matchCount": "1",
"teardown": [ "teardown": [
"$TC actions flush action pedit" "$TC actions flush action pedit"
...@@ -940,7 +940,7 @@ ...@@ -940,7 +940,7 @@
"cmdUnderTest": "$TC actions add action pedit ex munge ip precedence add 0x1 pipe", "cmdUnderTest": "$TC actions add action pedit ex munge ip precedence add 0x1 pipe",
"expExitCode": "0", "expExitCode": "0",
"verifyCmd": "$TC actions list action pedit", "verifyCmd": "$TC actions list action pedit",
"matchPattern": "action order [0-9]+: pedit action pipe keys 1.*key #0 at ipv4\\+0: val 00010000 mask ff00ffff", "matchPattern": "action order [0-9]+: pedit action pipe keys 1.*key #0 at ipv4\\+0: add 00010000 mask ff00ffff",
"matchCount": "1", "matchCount": "1",
"teardown": [ "teardown": [
"$TC actions flush action pedit" "$TC actions flush action pedit"
......
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