add "eval-exit-code" and skip tests based on kernel version
Get series with b4
b4 am [email protected]Versions newest first
- v2 Latest3 patches 7 repliesIn review
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | tests/shell: add "tests/shell/helpers/eval-exit-code"tests/ | +116 | 0 replies | |
| 2/3 | tests/shell: skip "table_onoff" test on older kernelstests/ | +3 | 5 replies | |
| 3/3 | tests/shell: skip "vlan_8021ad_tag" test on older kernelstests/ | +7 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.
Cover letter [PATCH nft v2 0/3] add "eval-exit-code" and skip tests based on kernel version
This is a follow-up and replaces the two patches:
[PATCH nft 1/3] tests/shell: skip "table_onoff" test if kernel patch is missing [PATCH nft 2/3] tests/shell: skip "vlan_8021ad_tag" test instead of failing
Instead, add a helper script "eval-exit-code" which makes it easy(?) to conditionally downgrade a test failure to a SKIP (exit 77) based on the kernel version.
Thomas Haller (3):
tests/shell: add "tests/shell/helpers/eval-exit-code" tests/shell: skip "table_onoff" test on older kernels tests/shell: skip "vlan_8021ad_tag" test on older kernels
tests/shell/helpers/eval-exit-code | 116 ++++++++++++++++++ .../testcases/packetpath/vlan_8021ad_tag | 8 +- .../shell/testcases/transactions/table_onoff | 4 +- 3 files changed, 126 insertions(+), 2 deletions(-) create mode 100755 tests/shell/helpers/eval-exit-code
Signature · 1 line
2.41.0