Skip to content

Some fixes and minor improvements in tests/

Phil Sutter netfilter-devel 1 version Applied

Status from this message: Applied, thanks Phil.

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 1 replyApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/4tests/py: Fix JSON equivalentstests/py/any/ct.t.json tests/py/any/ct.t.json.output tests/py/any/meta.t.json+86 -800 replies
2/4tests/py: Add missing arp.t JSON equivalentstests/py/arp/arp.t.json tests/py/arp/arp.t.json.output+70 -80 replies
3/4tests/shell: Fix warning from awk calltests/shell/testcases/sets/0028delete_handle_0+1 -10 replies
4/4tests/shell: Print unified diffs in dump errorstests/shell/run-tests.sh+1 -10 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [nft PATCH 0/4] Some fixes and minor improvements in tests/

This series mostly adds missing bits and changes to JSON equivalents in tests/py to avoid errors when running the suite with -j flag.

In addition to that, patch 3 fixes awk syntax in 0028delete_handle_0 test of tests/shell suite. Patch 4 improves the diff output upon dump errors in same suite by printing unified diffs instead of normal ones.

Phil Sutter (4):
tests/py: Fix JSON equivalents
tests/py: Add missing arp.t JSON equivalents
tests/shell: Fix warning from awk call
tests/shell: Print unified diffs in dump errors

 tests/py/any/ct.t.json                        |  35 ++++--
 tests/py/any/ct.t.json.output                 |  21 +++-
 tests/py/any/meta.t.json                      | 110 +++++++-----------
 tests/py/arp/arp.t.json                       |  64 ++++++++++
 tests/py/arp/arp.t.json.output                |  14 +--
 tests/shell/run-tests.sh                      |   2 +-
 .../shell/testcases/sets/0028delete_handle_0  |   2 +-
 7 files changed, 158 insertions(+), 90 deletions(-)
Signature · 1 line
2.21.0