]> git.ipfire.org Git - thirdparty/nftables.git/commit
json: icmp: move expected parts to json.output
authorFlorian Westphal <fw@strlen.de>
Thu, 21 Jan 2021 15:46:27 +0000 (16:46 +0100)
committerFlorian Westphal <fw@strlen.de>
Tue, 26 Jan 2021 13:30:16 +0000 (14:30 +0100)
commit00a5917965998e34e2d9c38f9e8a242aacf48389
tree0f31a2637c56e1a28a8617c0a8df8886ac0edadd
parent7d3a0799cfd0a7dbd179f2742b6632e66d1e9b6a
json: icmp: move expected parts to json.output

Phil Sutter says:
In general, *.t.json files should contain JSON equivalents for rules as
they are *input* into nft. So we want them to be as close to the
introductory standard syntax comment as possible.

Undo earlier change and place the expected dependency added by
nft internals to json.output rather than icmp.t.json.

Signed-off-by: Florian Westphal <fw@strlen.de>
tests/py/ip/icmp.t.json
tests/py/ip/icmp.t.json.output