mbox series

[nft,0/4] Apply some recent changes to JSON output

Message ID 20180911201427.25896-1-phil@nwl.cc
Headers show
Series Apply some recent changes to JSON output | expand

Message

Phil Sutter Sept. 11, 2018, 8:14 p.m. UTC
This series contains a number of fixes for JSON output code indicated by
failing testcases in tests/py. In one instance, testcase's JSON
equivalent had to be adjusted.

Phil Sutter (4):
  json: Fix datatype_json() for literal level
  json: Make inet_service_type_json() respect literal level
  json: Print range expressions numerically
  tests/py: Fix JSON for icmp*.t

 src/json.c                        | 35 +++++++++++++++++++++-----
 tests/py/ip/icmp.t.json           |  4 +--
 tests/py/ip/icmp.t.json.output    | 24 ++++++++++++++++++
 tests/py/ip6/icmpv6.t.json        |  6 ++---
 tests/py/ip6/icmpv6.t.json.output | 41 +++++++++++++++++++++++++++++++
 5 files changed, 99 insertions(+), 11 deletions(-)

Comments

Florian Westphal Sept. 13, 2018, 8:45 a.m. UTC | #1
Phil Sutter <phil@nwl.cc> wrote:
> This series contains a number of fixes for JSON output code indicated by
> failing testcases in tests/py. In one instance, testcase's JSON
> equivalent had to be adjusted.

Series applied, thanks Phil.