Skip to content

Commit c4917bf

Browse files
Roman Mashakdavem330
authored andcommitted
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: Roman Mashak <mrv@mojatatu.com> Signed-off-by: David S. Miller <davem@davemloft.net>
1 parent c0bceb9 commit c4917bf

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

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

‎tools/testing/selftests/tc-testing/tc-tests/actions/pedit.json‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -915,7 +915,7 @@
915915
"cmdUnderTest": "$TC actions add action pedit ex munge ip tos add 0x1 pass",
916916
"expExitCode": "0",
917917
"verifyCmd": "$TC actions list action pedit",
918-
"matchPattern": "action order [0-9]+: pedit action pass keys 1.*key #0 at ipv4\\+0: val 00010000 mask ff00ffff",
918+
"matchPattern": "action order [0-9]+: pedit action pass keys 1.*key #0 at ipv4\\+0: add 00010000 mask ff00ffff",
919919
"matchCount": "1",
920920
"teardown": [
921921
"$TC actions flush action pedit"
@@ -940,7 +940,7 @@
940940
"cmdUnderTest": "$TC actions add action pedit ex munge ip precedence add 0x1 pipe",
941941
"expExitCode": "0",
942942
"verifyCmd": "$TC actions list action pedit",
943-
"matchPattern": "action order [0-9]+: pedit action pipe keys 1.*key #0 at ipv4\\+0: val 00010000 mask ff00ffff",
943+
"matchPattern": "action order [0-9]+: pedit action pipe keys 1.*key #0 at ipv4\\+0: add 00010000 mask ff00ffff",
944944
"matchCount": "1",
945945
"teardown": [
946946
"$TC actions flush action pedit"

0 commit comments

Comments
 (0)