Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

selftests: tc-testing: fix parsing of ife type

In iproute2 commit 90c5c969f0b9 ("fix print_0xhex on 32 bit"), the format
specifier for the ife type changed from 0x%X to %#llX, causing systematic
failures in the following TDC test cases:

7682 - Create valid ife encode action with mark and pass control
ef47 - Create valid ife encode action with mark and pipe control
df43 - Create valid ife encode action with mark and continue control
e4cf - Create valid ife encode action with mark and drop control
ccba - Create valid ife encode action with mark and reclassify control
a1cf - Create valid ife encode action with mark and jump control
cb3d - Create valid ife encode action with mark value at 32-bit maximum
95ed - Create valid ife encode action with prio and pass control
aa17 - Create valid ife encode action with prio and pipe control
74c7 - Create valid ife encode action with prio and continue control
7a97 - Create valid ife encode action with prio and drop control
f66b - Create valid ife encode action with prio and reclassify control
3056 - Create valid ife encode action with prio and jump control
7dd3 - Create valid ife encode action with prio value at 32-bit maximum
05bb - Create valid ife encode action with tcindex and pass control
ce65 - Create valid ife encode action with tcindex and pipe control
09cd - Create valid ife encode action with tcindex and continue control
8eb5 - Create valid ife encode action with tcindex and continue control
451a - Create valid ife encode action with tcindex and drop control
d76c - Create valid ife encode action with tcindex and reclassify control
e731 - Create valid ife encode action with tcindex and jump control
b7b8 - Create valid ife encode action with tcindex value at 16-bit maximum
2a9c - Create valid ife encode action with mac src parameter
cf5c - Create valid ife encode action with mac dst parameter
2353 - Create valid ife encode action with mac src and mac dst parameters
552c - Create valid ife encode action with mark and type parameters
0421 - Create valid ife encode action with prio and type parameters
4017 - Create valid ife encode action with tcindex and type parameters
fac3 - Create valid ife encode action with index at 32-bit maximnum
7c25 - Create valid ife decode action with pass control
dccb - Create valid ife decode action with pipe control
7bb9 - Create valid ife decode action with continue control
d9ad - Create valid ife decode action with drop control
219f - Create valid ife decode action with reclassify control
8f44 - Create valid ife decode action with jump control
b330 - Create ife encode action with cookie

Change 'matchPattern' values, allowing '0' and '0x0' if ife type is equal
to 0, and accepting both '0x' and '0X' otherwise, to let these tests pass
both with old and new tc binaries.
While at it, fix a small typo in test case fac3 ('maximnum'->'maximum').

Signed-off-by: Davide Caratti <dcaratti@redhat.com>
Acked-by: Stephen Hemminger <stephen@networkplumber.org>
Signed-off-by: David S. Miller <davem@davemloft.net>

authored by

Davide Caratti and committed by
David S. Miller
91fa038d 01b833ab

+44 -44
+44 -44
tools/testing/selftests/tc-testing/tc-tests/actions/ife.json
··· 17 17 "cmdUnderTest": "$TC actions add action ife encode allow mark pass index 2", 18 18 "expExitCode": "0", 19 19 "verifyCmd": "$TC actions get action ife index 2", 20 - "matchPattern": "action order [0-9]*: ife encode action pass.*type 0xED3E.*allow mark.*index 2", 20 + "matchPattern": "action order [0-9]*: ife encode action pass.*type 0[xX]ED3E.*allow mark.*index 2", 21 21 "matchCount": "1", 22 22 "teardown": [ 23 23 "$TC actions flush action ife" ··· 41 41 "cmdUnderTest": "$TC actions add action ife encode use mark 10 pipe index 2", 42 42 "expExitCode": "0", 43 43 "verifyCmd": "$TC actions get action ife index 2", 44 - "matchPattern": "action order [0-9]*: ife encode action pipe.*type 0xED3E.*use mark.*index 2", 44 + "matchPattern": "action order [0-9]*: ife encode action pipe.*type 0[xX]ED3E.*use mark.*index 2", 45 45 "matchCount": "1", 46 46 "teardown": [ 47 47 "$TC actions flush action ife" ··· 65 65 "cmdUnderTest": "$TC actions add action ife encode allow mark continue index 2", 66 66 "expExitCode": "0", 67 67 "verifyCmd": "$TC actions get action ife index 2", 68 - "matchPattern": "action order [0-9]*: ife encode action continue.*type 0xED3E.*allow mark.*index 2", 68 + "matchPattern": "action order [0-9]*: ife encode action continue.*type 0[xX]ED3E.*allow mark.*index 2", 69 69 "matchCount": "1", 70 70 "teardown": [ 71 71 "$TC actions flush action ife" ··· 89 89 "cmdUnderTest": "$TC actions add action ife encode use mark 789 drop index 2", 90 90 "expExitCode": "0", 91 91 "verifyCmd": "$TC actions get action ife index 2", 92 - "matchPattern": "action order [0-9]*: ife encode action drop.*type 0xED3E.*use mark 789.*index 2", 92 + "matchPattern": "action order [0-9]*: ife encode action drop.*type 0[xX]ED3E.*use mark 789.*index 2", 93 93 "matchCount": "1", 94 94 "teardown": [ 95 95 "$TC actions flush action ife" ··· 113 113 "cmdUnderTest": "$TC actions add action ife encode use mark 656768 reclassify index 2", 114 114 "expExitCode": "0", 115 115 "verifyCmd": "$TC actions get action ife index 2", 116 - "matchPattern": "action order [0-9]*: ife encode action reclassify.*type 0xED3E.*use mark 656768.*index 2", 116 + "matchPattern": "action order [0-9]*: ife encode action reclassify.*type 0[xX]ED3E.*use mark 656768.*index 2", 117 117 "matchCount": "1", 118 118 "teardown": [ 119 119 "$TC actions flush action ife" ··· 137 137 "cmdUnderTest": "$TC actions add action ife encode use mark 65 jump 1 index 2", 138 138 "expExitCode": "0", 139 139 "verifyCmd": "$TC actions get action ife index 2", 140 - "matchPattern": "action order [0-9]*: ife encode action jump 1.*type 0xED3E.*use mark 65.*index 2", 140 + "matchPattern": "action order [0-9]*: ife encode action jump 1.*type 0[xX]ED3E.*use mark 65.*index 2", 141 141 "matchCount": "1", 142 142 "teardown": [ 143 143 "$TC actions flush action ife" ··· 161 161 "cmdUnderTest": "$TC actions add action ife encode use mark 4294967295 reclassify index 90", 162 162 "expExitCode": "0", 163 163 "verifyCmd": "$TC actions get action ife index 90", 164 - "matchPattern": "action order [0-9]*: ife encode action reclassify.*type 0xED3E.*use mark 4294967295.*index 90", 164 + "matchPattern": "action order [0-9]*: ife encode action reclassify.*type 0[xX]ED3E.*use mark 4294967295.*index 90", 165 165 "matchCount": "1", 166 166 "teardown": [ 167 167 "$TC actions flush action ife" ··· 185 185 "cmdUnderTest": "$TC actions add action ife encode use mark 4294967295999 pipe index 90", 186 186 "expExitCode": "255", 187 187 "verifyCmd": "$TC actions get action ife index 90", 188 - "matchPattern": "action order [0-9]*: ife encode action pipe.*type 0xED3E.*use mark 4294967295999.*index 90", 188 + "matchPattern": "action order [0-9]*: ife encode action pipe.*type 0[xX]ED3E.*use mark 4294967295999.*index 90", 189 189 "matchCount": "0", 190 190 "teardown": [] 191 191 }, ··· 207 207 "cmdUnderTest": "$TC actions add action ife encode allow prio pass index 9", 208 208 "expExitCode": "0", 209 209 "verifyCmd": "$TC actions get action ife index 9", 210 - "matchPattern": "action order [0-9]*: ife encode action pass.*type 0xED3E.*allow prio.*index 9", 210 + "matchPattern": "action order [0-9]*: ife encode action pass.*type 0[xX]ED3E.*allow prio.*index 9", 211 211 "matchCount": "1", 212 212 "teardown": [ 213 213 "$TC actions flush action ife" ··· 231 231 "cmdUnderTest": "$TC actions add action ife encode use prio 7 pipe index 9", 232 232 "expExitCode": "0", 233 233 "verifyCmd": "$TC actions get action ife index 9", 234 - "matchPattern": "action order [0-9]*: ife encode action pipe.*type 0xED3E.*use prio 7.*index 9", 234 + "matchPattern": "action order [0-9]*: ife encode action pipe.*type 0[xX]ED3E.*use prio 7.*index 9", 235 235 "matchCount": "1", 236 236 "teardown": [ 237 237 "$TC actions flush action ife" ··· 255 255 "cmdUnderTest": "$TC actions add action ife encode use prio 3 continue index 9", 256 256 "expExitCode": "0", 257 257 "verifyCmd": "$TC actions get action ife index 9", 258 - "matchPattern": "action order [0-9]*: ife encode action continue.*type 0xED3E.*use prio 3.*index 9", 258 + "matchPattern": "action order [0-9]*: ife encode action continue.*type 0[xX]ED3E.*use prio 3.*index 9", 259 259 "matchCount": "1", 260 260 "teardown": [ 261 261 "$TC actions flush action ife" ··· 279 279 "cmdUnderTest": "$TC actions add action ife encode allow prio drop index 9", 280 280 "expExitCode": "0", 281 281 "verifyCmd": "$TC actions get action ife index 9", 282 - "matchPattern": "action order [0-9]*: ife encode action drop.*type 0xED3E.*allow prio.*index 9", 282 + "matchPattern": "action order [0-9]*: ife encode action drop.*type 0[xX]ED3E.*allow prio.*index 9", 283 283 "matchCount": "1", 284 284 "teardown": [ 285 285 "$TC actions flush action ife" ··· 303 303 "cmdUnderTest": "$TC actions add action ife encode use prio 998877 reclassify index 9", 304 304 "expExitCode": "0", 305 305 "verifyCmd": "$TC actions get action ife index 9", 306 - "matchPattern": "action order [0-9]*: ife encode action reclassify.*type 0xED3E.*use prio 998877.*index 9", 306 + "matchPattern": "action order [0-9]*: ife encode action reclassify.*type 0[xX]ED3E.*use prio 998877.*index 9", 307 307 "matchCount": "1", 308 308 "teardown": [ 309 309 "$TC actions flush action ife" ··· 327 327 "cmdUnderTest": "$TC actions add action ife encode use prio 998877 jump 10 index 9", 328 328 "expExitCode": "0", 329 329 "verifyCmd": "$TC actions get action ife index 9", 330 - "matchPattern": "action order [0-9]*: ife encode action jump 10.*type 0xED3E.*use prio 998877.*index 9", 330 + "matchPattern": "action order [0-9]*: ife encode action jump 10.*type 0[xX]ED3E.*use prio 998877.*index 9", 331 331 "matchCount": "1", 332 332 "teardown": [ 333 333 "$TC actions flush action ife" ··· 351 351 "cmdUnderTest": "$TC actions add action ife encode use prio 4294967295 reclassify index 99", 352 352 "expExitCode": "0", 353 353 "verifyCmd": "$TC actions get action ife index 99", 354 - "matchPattern": "action order [0-9]*: ife encode action reclassify.*type 0xED3E.*use prio 4294967295.*index 99", 354 + "matchPattern": "action order [0-9]*: ife encode action reclassify.*type 0[xX]ED3E.*use prio 4294967295.*index 99", 355 355 "matchCount": "1", 356 356 "teardown": [ 357 357 "$TC actions flush action ife" ··· 375 375 "cmdUnderTest": "$TC actions add action ife encode use prio 4294967298 pipe index 99", 376 376 "expExitCode": "255", 377 377 "verifyCmd": "$TC actions get action ife index 99", 378 - "matchPattern": "action order [0-9]*: ife encode action pipe.*type 0xED3E.*use prio 4294967298.*index 99", 378 + "matchPattern": "action order [0-9]*: ife encode action pipe.*type 0[xX]ED3E.*use prio 4294967298.*index 99", 379 379 "matchCount": "0", 380 380 "teardown": [] 381 381 }, ··· 397 397 "cmdUnderTest": "$TC actions add action ife encode allow tcindex pass index 1", 398 398 "expExitCode": "0", 399 399 "verifyCmd": "$TC actions get action ife index 1", 400 - "matchPattern": "action order [0-9]*: ife encode action pass.*type 0xED3E.*allow tcindex.*index 1", 400 + "matchPattern": "action order [0-9]*: ife encode action pass.*type 0[xX]ED3E.*allow tcindex.*index 1", 401 401 "matchCount": "1", 402 402 "teardown": [ 403 403 "$TC actions flush action ife" ··· 421 421 "cmdUnderTest": "$TC actions add action ife encode use tcindex 111 pipe index 1", 422 422 "expExitCode": "0", 423 423 "verifyCmd": "$TC actions get action ife index 1", 424 - "matchPattern": "action order [0-9]*: ife encode action pipe.*type 0xED3E.*use tcindex 111.*index 1", 424 + "matchPattern": "action order [0-9]*: ife encode action pipe.*type 0[xX]ED3E.*use tcindex 111.*index 1", 425 425 "matchCount": "1", 426 426 "teardown": [ 427 427 "$TC actions flush action ife" ··· 445 445 "cmdUnderTest": "$TC actions add action ife encode use tcindex 1 continue index 1", 446 446 "expExitCode": "0", 447 447 "verifyCmd": "$TC actions get action ife index 1", 448 - "matchPattern": "action order [0-9]*: ife encode action continue.*type 0xED3E.*use tcindex 1.*index 1", 448 + "matchPattern": "action order [0-9]*: ife encode action continue.*type 0[xX]ED3E.*use tcindex 1.*index 1", 449 449 "matchCount": "1", 450 450 "teardown": [ 451 451 "$TC actions flush action ife" ··· 469 469 "cmdUnderTest": "$TC actions add action ife encode use tcindex 1 continue index 1", 470 470 "expExitCode": "0", 471 471 "verifyCmd": "$TC actions get action ife index 1", 472 - "matchPattern": "action order [0-9]*: ife encode action continue.*type 0xED3E.*use tcindex 1.*index 1", 472 + "matchPattern": "action order [0-9]*: ife encode action continue.*type 0[xX]ED3E.*use tcindex 1.*index 1", 473 473 "matchCount": "1", 474 474 "teardown": [ 475 475 "$TC actions flush action ife" ··· 493 493 "cmdUnderTest": "$TC actions add action ife encode allow tcindex drop index 77", 494 494 "expExitCode": "0", 495 495 "verifyCmd": "$TC actions get action ife index 77", 496 - "matchPattern": "action order [0-9]*: ife encode action drop.*type 0xED3E.*allow tcindex.*index 77", 496 + "matchPattern": "action order [0-9]*: ife encode action drop.*type 0[xX]ED3E.*allow tcindex.*index 77", 497 497 "matchCount": "1", 498 498 "teardown": [ 499 499 "$TC actions flush action ife" ··· 517 517 "cmdUnderTest": "$TC actions add action ife encode allow tcindex reclassify index 77", 518 518 "expExitCode": "0", 519 519 "verifyCmd": "$TC actions get action ife index 77", 520 - "matchPattern": "action order [0-9]*: ife encode action reclassify.*type 0xED3E.*allow tcindex.*index 77", 520 + "matchPattern": "action order [0-9]*: ife encode action reclassify.*type 0[xX]ED3E.*allow tcindex.*index 77", 521 521 "matchCount": "1", 522 522 "teardown": [ 523 523 "$TC actions flush action ife" ··· 541 541 "cmdUnderTest": "$TC actions add action ife encode allow tcindex jump 999 index 77", 542 542 "expExitCode": "0", 543 543 "verifyCmd": "$TC actions get action ife index 77", 544 - "matchPattern": "action order [0-9]*: ife encode action jump 999.*type 0xED3E.*allow tcindex.*index 77", 544 + "matchPattern": "action order [0-9]*: ife encode action jump 999.*type 0[xX]ED3E.*allow tcindex.*index 77", 545 545 "matchCount": "1", 546 546 "teardown": [ 547 547 "$TC actions flush action ife" ··· 565 565 "cmdUnderTest": "$TC actions add action ife encode use tcindex 65535 pass index 1", 566 566 "expExitCode": "0", 567 567 "verifyCmd": "$TC actions get action ife index 1", 568 - "matchPattern": "action order [0-9]*: ife encode action pass.*type 0xED3E.*use tcindex 65535.*index 1", 568 + "matchPattern": "action order [0-9]*: ife encode action pass.*type 0[xX]ED3E.*use tcindex 65535.*index 1", 569 569 "matchCount": "1", 570 570 "teardown": [ 571 571 "$TC actions flush action ife" ··· 589 589 "cmdUnderTest": "$TC actions add action ife encode use tcindex 65539 pipe index 1", 590 590 "expExitCode": "255", 591 591 "verifyCmd": "$TC actions get action ife index 1", 592 - "matchPattern": "action order [0-9]*: ife encode action pipe.*type 0xED3E.*use tcindex 65539.*index 1", 592 + "matchPattern": "action order [0-9]*: ife encode action pipe.*type 0[xX]ED3E.*use tcindex 65539.*index 1", 593 593 "matchCount": "0", 594 594 "teardown": [] 595 595 }, ··· 611 611 "cmdUnderTest": "$TC actions add action ife encode allow mark src 00:11:22:33:44:55 pipe index 1", 612 612 "expExitCode": "0", 613 613 "verifyCmd": "$TC actions get action ife index 1", 614 - "matchPattern": "action order [0-9]*: ife encode action pipe.*type 0xED3E.*allow mark src 00:11:22:33:44:55.*index 1", 614 + "matchPattern": "action order [0-9]*: ife encode action pipe.*type 0[xX]ED3E.*allow mark src 00:11:22:33:44:55.*index 1", 615 615 "matchCount": "1", 616 616 "teardown": [ 617 617 "$TC actions flush action ife" ··· 635 635 "cmdUnderTest": "$TC actions add action ife encode use prio 9876 dst 00:11:22:33:44:55 reclassify index 1", 636 636 "expExitCode": "0", 637 637 "verifyCmd": "$TC actions get action ife index 1", 638 - "matchPattern": "action order [0-9]*: ife encode action reclassify.*type 0xED3E.*use prio 9876 dst 00:11:22:33:44:55.*index 1", 638 + "matchPattern": "action order [0-9]*: ife encode action reclassify.*type 0[xX]ED3E.*use prio 9876 dst 00:11:22:33:44:55.*index 1", 639 639 "matchCount": "1", 640 640 "teardown": [ 641 641 "$TC actions flush action ife" ··· 659 659 "cmdUnderTest": "$TC actions add action ife encode allow tcindex src 00:aa:bb:cc:dd:ee dst 00:11:22:33:44:55 pass index 11", 660 660 "expExitCode": "0", 661 661 "verifyCmd": "$TC actions get action ife index 11", 662 - "matchPattern": "action order [0-9]*: ife encode action pass.*type 0xED3E.*allow tcindex dst 00:11:22:33:44:55 src 00:aa:bb:cc:dd:ee .*index 11", 662 + "matchPattern": "action order [0-9]*: ife encode action pass.*type 0[xX]ED3E.*allow tcindex dst 00:11:22:33:44:55 src 00:aa:bb:cc:dd:ee .*index 11", 663 663 "matchCount": "1", 664 664 "teardown": [ 665 665 "$TC actions flush action ife" ··· 683 683 "cmdUnderTest": "$TC actions add action ife encode use mark 7 type 0xfefe pass index 1", 684 684 "expExitCode": "0", 685 685 "verifyCmd": "$TC actions get action ife index 1", 686 - "matchPattern": "action order [0-9]*: ife encode action pass.*type 0xFEFE.*use mark 7.*index 1", 686 + "matchPattern": "action order [0-9]*: ife encode action pass.*type 0[xX]FEFE.*use mark 7.*index 1", 687 687 "matchCount": "1", 688 688 "teardown": [ 689 689 "$TC actions flush action ife" ··· 707 707 "cmdUnderTest": "$TC actions add action ife encode use prio 444 type 0xabba pipe index 21", 708 708 "expExitCode": "0", 709 709 "verifyCmd": "$TC actions get action ife index 21", 710 - "matchPattern": "action order [0-9]*: ife encode action pipe.*type 0xABBA.*use prio 444.*index 21", 710 + "matchPattern": "action order [0-9]*: ife encode action pipe.*type 0[xX]ABBA.*use prio 444.*index 21", 711 711 "matchCount": "1", 712 712 "teardown": [ 713 713 "$TC actions flush action ife" ··· 731 731 "cmdUnderTest": "$TC actions add action ife encode use tcindex 5000 type 0xabcd reclassify index 21", 732 732 "expExitCode": "0", 733 733 "verifyCmd": "$TC actions get action ife index 21", 734 - "matchPattern": "action order [0-9]*: ife encode action reclassify.*type 0xABCD.*use tcindex 5000.*index 21", 734 + "matchPattern": "action order [0-9]*: ife encode action reclassify.*type 0[xX]ABCD.*use tcindex 5000.*index 21", 735 735 "matchCount": "1", 736 736 "teardown": [ 737 737 "$TC actions flush action ife" ··· 739 739 }, 740 740 { 741 741 "id": "fac3", 742 - "name": "Create valid ife encode action with index at 32-bit maximnum", 742 + "name": "Create valid ife encode action with index at 32-bit maximum", 743 743 "category": [ 744 744 "actions", 745 745 "ife" ··· 755 755 "cmdUnderTest": "$TC actions add action ife encode allow mark pass index 4294967295", 756 756 "expExitCode": "0", 757 757 "verifyCmd": "$TC actions get action ife index 4294967295", 758 - "matchPattern": "action order [0-9]*: ife encode action pass.*type 0xED3E.*allow mark.*index 4294967295", 758 + "matchPattern": "action order [0-9]*: ife encode action pass.*type 0[xX]ED3E.*allow mark.*index 4294967295", 759 759 "matchCount": "1", 760 760 "teardown": [ 761 761 "$TC actions flush action ife" ··· 779 779 "cmdUnderTest": "$TC actions add action ife decode pass index 1", 780 780 "expExitCode": "0", 781 781 "verifyCmd": "$TC actions get action ife index 1", 782 - "matchPattern": "action order [0-9]*: ife decode action pass.*type 0x0.*allow mark allow tcindex allow prio.*index 1", 782 + "matchPattern": "action order [0-9]*: ife decode action pass.*type 0(x0)?.*allow mark allow tcindex allow prio.*index 1", 783 783 "matchCount": "1", 784 784 "teardown": [ 785 785 "$TC actions flush action ife" ··· 803 803 "cmdUnderTest": "$TC actions add action ife decode pipe index 1", 804 804 "expExitCode": "0", 805 805 "verifyCmd": "$TC actions get action ife index 1", 806 - "matchPattern": "action order [0-9]*: ife decode action pipe.*type 0x0.*allow mark allow tcindex allow prio.*index 1", 806 + "matchPattern": "action order [0-9]*: ife decode action pipe.*type 0(x0)?.*allow mark allow tcindex allow prio.*index 1", 807 807 "matchCount": "1", 808 808 "teardown": [ 809 809 "$TC actions flush action ife" ··· 827 827 "cmdUnderTest": "$TC actions add action ife decode continue index 1", 828 828 "expExitCode": "0", 829 829 "verifyCmd": "$TC actions get action ife index 1", 830 - "matchPattern": "action order [0-9]*: ife decode action continue.*type 0x0.*allow mark allow tcindex allow prio.*index 1", 830 + "matchPattern": "action order [0-9]*: ife decode action continue.*type 0(x0)?.*allow mark allow tcindex allow prio.*index 1", 831 831 "matchCount": "1", 832 832 "teardown": [ 833 833 "$TC actions flush action ife" ··· 851 851 "cmdUnderTest": "$TC actions add action ife decode drop index 1", 852 852 "expExitCode": "0", 853 853 "verifyCmd": "$TC actions get action ife index 1", 854 - "matchPattern": "action order [0-9]*: ife decode action drop.*type 0x0.*allow mark allow tcindex allow prio.*index 1", 854 + "matchPattern": "action order [0-9]*: ife decode action drop.*type 0(x0)?.*allow mark allow tcindex allow prio.*index 1", 855 855 "matchCount": "1", 856 856 "teardown": [ 857 857 "$TC actions flush action ife" ··· 875 875 "cmdUnderTest": "$TC actions add action ife decode reclassify index 1", 876 876 "expExitCode": "0", 877 877 "verifyCmd": "$TC actions get action ife index 1", 878 - "matchPattern": "action order [0-9]*: ife decode action reclassify.*type 0x0.*allow mark allow tcindex allow prio.*index 1", 878 + "matchPattern": "action order [0-9]*: ife decode action reclassify.*type 0(x0)?.*allow mark allow tcindex allow prio.*index 1", 879 879 "matchCount": "1", 880 880 "teardown": [ 881 881 "$TC actions flush action ife" ··· 899 899 "cmdUnderTest": "$TC actions add action ife decode jump 10 index 1", 900 900 "expExitCode": "0", 901 901 "verifyCmd": "$TC actions get action ife index 1", 902 - "matchPattern": "action order [0-9]*: ife decode action jump 10.*type 0x0.*allow mark allow tcindex allow prio.*index 1", 902 + "matchPattern": "action order [0-9]*: ife decode action jump 10.*type 0(x0)?.*allow mark allow tcindex allow prio.*index 1", 903 903 "matchCount": "1", 904 904 "teardown": [ 905 905 "$TC actions flush action ife" ··· 923 923 "cmdUnderTest": "$TC actions add action ife encode allow mark pass index 4294967295999", 924 924 "expExitCode": "255", 925 925 "verifyCmd": "$TC actions get action ife index 4294967295999", 926 - "matchPattern": "action order [0-9]*: ife encode action pass.*type 0xED3E.*allow mark.*index 4294967295999", 926 + "matchPattern": "action order [0-9]*: ife encode action pass.*type 0[xX]ED3E.*allow mark.*index 4294967295999", 927 927 "matchCount": "0", 928 928 "teardown": [] 929 929 }, ··· 945 945 "cmdUnderTest": "$TC actions add action ife encode allow mark kuka index 4", 946 946 "expExitCode": "255", 947 947 "verifyCmd": "$TC actions get action ife index 4", 948 - "matchPattern": "action order [0-9]*: ife encode action kuka.*type 0xED3E.*allow mark.*index 4", 948 + "matchPattern": "action order [0-9]*: ife encode action kuka.*type 0[xX]ED3E.*allow mark.*index 4", 949 949 "matchCount": "0", 950 950 "teardown": [] 951 951 }, ··· 967 967 "cmdUnderTest": "$TC actions add action ife encode allow prio pipe index 4 cookie aabbccddeeff112233445566778800a1", 968 968 "expExitCode": "0", 969 969 "verifyCmd": "$TC actions get action ife index 4", 970 - "matchPattern": "action order [0-9]*: ife encode action pipe.*type 0xED3E.*allow prio.*index 4.*cookie aabbccddeeff112233445566778800a1", 970 + "matchPattern": "action order [0-9]*: ife encode action pipe.*type 0[xX]ED3E.*allow prio.*index 4.*cookie aabbccddeeff112233445566778800a1", 971 971 "matchCount": "1", 972 972 "teardown": [ 973 973 "$TC actions flush action ife" ··· 991 991 "cmdUnderTest": "$TC actions add action ife encode allow foo pipe index 4", 992 992 "expExitCode": "255", 993 993 "verifyCmd": "$TC actions get action ife index 4", 994 - "matchPattern": "action order [0-9]*: ife encode action pipe.*type 0xED3E.*allow foo.*index 4", 994 + "matchPattern": "action order [0-9]*: ife encode action pipe.*type 0[xX]ED3E.*allow foo.*index 4", 995 995 "matchCount": "0", 996 996 "teardown": [] 997 997 }, ··· 1013 1013 "cmdUnderTest": "$TC actions add action ife encode allow prio type 70000 pipe index 4", 1014 1014 "expExitCode": "255", 1015 1015 "verifyCmd": "$TC actions get action ife index 4", 1016 - "matchPattern": "action order [0-9]*: ife encode action pipe.*type 0x11170.*allow prio.*index 4", 1016 + "matchPattern": "action order [0-9]*: ife encode action pipe.*type 0[xX]11170.*allow prio.*index 4", 1017 1017 "matchCount": "0", 1018 1018 "teardown": [] 1019 1019 },