.. | .. |
---|
469 | 469 | 255 |
---|
470 | 470 | ] |
---|
471 | 471 | ], |
---|
472 | | - "cmdUnderTest": "bash -c \"for i in \\`seq 1 32\\`; do cmd=\\\"action csum tcp continue index \\$i cookie aaabbbcccdddeee \\\"; args=\"\\$args\\$cmd\"; done && $TC actions add \\$args\"", |
---|
| 472 | + "cmdUnderTest": "bash -c \"for i in \\`seq 1 32\\`; do cmd=\\\"action csum tcp continue index \\$i cookie 123456789abcde \\\"; args=\"\\$args\\$cmd\"; done && $TC actions add \\$args\"", |
---|
473 | 473 | "expExitCode": "0", |
---|
474 | 474 | "verifyCmd": "$TC actions ls action csum", |
---|
475 | 475 | "matchPattern": "^[ \t]+index [0-9]* ref", |
---|
.. | .. |
---|
492 | 492 | 1, |
---|
493 | 493 | 255 |
---|
494 | 494 | ], |
---|
495 | | - "bash -c \"for i in \\`seq 1 32\\`; do cmd=\\\"action csum tcp continue index \\$i cookie aaabbbcccdddeee \\\"; args=\"\\$args\\$cmd\"; done && $TC actions add \\$args\"" |
---|
| 495 | + "bash -c \"for i in \\`seq 1 32\\`; do cmd=\\\"action csum tcp continue index \\$i cookie 123456789abcde \\\"; args=\"\\$args\\$cmd\"; done && $TC actions add \\$args\"" |
---|
496 | 496 | ], |
---|
497 | 497 | "cmdUnderTest": "bash -c \"for i in \\`seq 1 32\\`; do cmd=\\\"action csum index \\$i \\\"; args=\"\\$args\\$cmd\"; done && $TC actions del \\$args\"", |
---|
498 | 498 | "expExitCode": "0", |
---|
.. | .. |
---|
500 | 500 | "matchPattern": "^[ \t]+index [0-9]+ ref", |
---|
501 | 501 | "matchCount": "0", |
---|
502 | 502 | "teardown": [] |
---|
| 503 | + }, |
---|
| 504 | + { |
---|
| 505 | + "id": "d128", |
---|
| 506 | + "name": "Replace csum action with invalid goto chain control", |
---|
| 507 | + "category": [ |
---|
| 508 | + "actions", |
---|
| 509 | + "csum" |
---|
| 510 | + ], |
---|
| 511 | + "setup": [ |
---|
| 512 | + [ |
---|
| 513 | + "$TC actions flush action csum", |
---|
| 514 | + 0, |
---|
| 515 | + 1, |
---|
| 516 | + 255 |
---|
| 517 | + ], |
---|
| 518 | + "$TC actions add action csum iph index 90" |
---|
| 519 | + ], |
---|
| 520 | + "cmdUnderTest": "$TC actions replace action csum iph goto chain 42 index 90 cookie c1a0c1a0", |
---|
| 521 | + "expExitCode": "255", |
---|
| 522 | + "verifyCmd": "$TC actions get action csum index 90", |
---|
| 523 | + "matchPattern": "action order [0-9]*: csum \\(iph\\) action pass.*index 90 ref", |
---|
| 524 | + "matchCount": "1", |
---|
| 525 | + "teardown": [ |
---|
| 526 | + "$TC actions flush action csum" |
---|
| 527 | + ] |
---|
| 528 | + }, |
---|
| 529 | + { |
---|
| 530 | + "id": "eaf0", |
---|
| 531 | + "name": "Add csum iph action with no_percpu flag", |
---|
| 532 | + "category": [ |
---|
| 533 | + "actions", |
---|
| 534 | + "csum" |
---|
| 535 | + ], |
---|
| 536 | + "setup": [ |
---|
| 537 | + [ |
---|
| 538 | + "$TC actions flush action csum", |
---|
| 539 | + 0, |
---|
| 540 | + 1, |
---|
| 541 | + 255 |
---|
| 542 | + ] |
---|
| 543 | + ], |
---|
| 544 | + "cmdUnderTest": "$TC actions add action csum iph no_percpu", |
---|
| 545 | + "expExitCode": "0", |
---|
| 546 | + "verifyCmd": "$TC actions list action csum", |
---|
| 547 | + "matchPattern": "action order [0-9]*: csum \\(iph\\) action pass.*no_percpu", |
---|
| 548 | + "matchCount": "1", |
---|
| 549 | + "teardown": [ |
---|
| 550 | + "$TC actions flush action csum" |
---|
| 551 | + ] |
---|
503 | 552 | } |
---|
504 | 553 | ] |
---|