Skip to content

Commit

Permalink
selftests/tc-testing: require an up to date iproute2 for blockcast tests
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Pedro Tammela authored and Jakub Kicinski committed Mar 5, 2024
1 parent fb0f023 commit dcfaf1f
Showing 1 changed file with 7 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -657,6 +657,7 @@
"actions",
"mirred"
],
"dependsOn": "$TC actions add action mirred help 2>&1 | grep -q blockid",
"plugins": {
"requires": "nsPlugin"
},
Expand Down Expand Up @@ -711,6 +712,7 @@
"actions",
"mirred"
],
"dependsOn": "$TC actions add action mirred help 2>&1 | grep -q blockid",
"plugins": {
"requires": "nsPlugin"
},
Expand Down Expand Up @@ -765,6 +767,7 @@
"actions",
"mirred"
],
"dependsOn": "$TC actions add action mirred help 2>&1 | grep -q blockid",
"plugins": {
"requires": "nsPlugin"
},
Expand Down Expand Up @@ -819,6 +822,7 @@
"actions",
"mirred"
],
"dependsOn": "$TC actions add action mirred help 2>&1 | grep -q blockid",
"plugins": {
"requires": "nsPlugin"
},
Expand Down Expand Up @@ -873,6 +877,7 @@
"actions",
"mirred"
],
"dependsOn": "$TC actions add action mirred help 2>&1 | grep -q blockid",
"plugins": {
"requires": "nsPlugin"
},
Expand Down Expand Up @@ -937,6 +942,7 @@
"actions",
"mirred"
],
"dependsOn": "$TC actions add action mirred help 2>&1 | grep -q blockid",
"plugins": {
"requires": "nsPlugin"
},
Expand Down Expand Up @@ -995,6 +1001,7 @@
"actions",
"mirred"
],
"dependsOn": "$TC actions add action mirred help 2>&1 | grep -q blockid",
"plugins": {
"requires": "nsPlugin"
},
Expand Down

0 comments on commit dcfaf1f

Please sign in to comment.