summaryrefslogtreecommitdiffstats
path: root/include/parser.h
diff options
context:
space:
mode:
authorPhil Sutter <phil@nwl.cc>2019-05-27 13:36:42 +0200
committerPablo Neira Ayuso <pablo@netfilter.org>2019-05-31 18:17:36 +0200
commit5db92ace9263ea1daa1d10c6f3a04ecc97317258 (patch)
treeeb4310771872784c27bf81ab675c361c4c3d23be /include/parser.h
parentef2ff133007855707f978f75ac638af3d5c06fbe (diff)
tests/py: Support JSON validation
Introduce a new flag -s/--schema to nft-test.py which enables validation of any JSON input and output against our schema. Make use of traceback module to get more details if validation fails. Signed-off-by: Phil Sutter <phil@nwl.cc> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'include/parser.h')
0 files changed, 0 insertions, 0 deletions