json: resolve multiple test case failures
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest3 patches 1 replyIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | tests: json: add missing test case outputtests/ tests/ tests/ +2 more | +150 | 0 replies | |
| 2/3 | tests: avoid warning and add missing json test casestests/ tests/ | +57 | 0 replies | |
| 3/3 | json: add missing nat_type flag and netmap nat flagsrc/ src/ tests/ | +211 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH nft 0/3] json: resolve multiple test case failures
Over the last few months nft gained a few new features and test cases that either do not have a json test case or fail in json mode.
First two patches only touch the test cases themselves, but the snat.t failure turned out to be due to lack of feature parity with the normal bison parser.
Thus that patch adds needed export/import facility for nat_type and the netmap flag.
src/json.c | 43 +++++++++++++--- src/parser_json.c | 70 +++++++++++++++++++++++++- tests/py/bridge/reject.t | 2 tests/py/bridge/reject.t.json | 72 +++++++++++++++++++++++++++ tests/py/inet/dnat.t | 4 - tests/py/inet/dnat.t.json | 55 ++++++++++++++++++++ tests/py/inet/sets.t.json | 74 ++++++++++++++++++++++++++++ tests/py/ip/icmp.t.json | 4 - tests/py/ip/icmp.t.json.output | 2 tests/py/ip/snat.t.json | 108 +++++++++++++++++++++++++++++++++++++++++ 10 files changed, 418 insertions(+), 16 deletions(-)