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

Configure Feed

Select the types of activity you want to include in your feed.

selftests/tc-testing: require an up to date iproute2 for blockcast tests

Add the dependsOn test check for all the mirred blockcast tests.
It will prevent the issue reported by LKFT which happens when an older
iproute2 is used to run the current tdc.

Tests are skipped if the dependsOn check fails.

Reported-by: Linux Kernel Functional Testing <lkft@linaro.org>
Signed-off-by: Pedro Tammela <pctammela@mojatatu.com>
Link: https://lore.kernel.org/r/20240229143825.1373550-1-pctammela@mojatatu.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>

authored by

Pedro Tammela and committed by
Jakub Kicinski
dcfaf1f7 fb0f0230

+7
+7
tools/testing/selftests/tc-testing/tc-tests/actions/mirred.json
··· 657 657 "actions", 658 658 "mirred" 659 659 ], 660 + "dependsOn": "$TC actions add action mirred help 2>&1 | grep -q blockid", 660 661 "plugins": { 661 662 "requires": "nsPlugin" 662 663 }, ··· 712 711 "actions", 713 712 "mirred" 714 713 ], 714 + "dependsOn": "$TC actions add action mirred help 2>&1 | grep -q blockid", 715 715 "plugins": { 716 716 "requires": "nsPlugin" 717 717 }, ··· 767 765 "actions", 768 766 "mirred" 769 767 ], 768 + "dependsOn": "$TC actions add action mirred help 2>&1 | grep -q blockid", 770 769 "plugins": { 771 770 "requires": "nsPlugin" 772 771 }, ··· 822 819 "actions", 823 820 "mirred" 824 821 ], 822 + "dependsOn": "$TC actions add action mirred help 2>&1 | grep -q blockid", 825 823 "plugins": { 826 824 "requires": "nsPlugin" 827 825 }, ··· 877 873 "actions", 878 874 "mirred" 879 875 ], 876 + "dependsOn": "$TC actions add action mirred help 2>&1 | grep -q blockid", 880 877 "plugins": { 881 878 "requires": "nsPlugin" 882 879 }, ··· 942 937 "actions", 943 938 "mirred" 944 939 ], 940 + "dependsOn": "$TC actions add action mirred help 2>&1 | grep -q blockid", 945 941 "plugins": { 946 942 "requires": "nsPlugin" 947 943 }, ··· 1001 995 "actions", 1002 996 "mirred" 1003 997 ], 998 + "dependsOn": "$TC actions add action mirred help 2>&1 | grep -q blockid", 1004 999 "plugins": { 1005 1000 "requires": "nsPlugin" 1006 1001 },