]> git.ipfire.org Git - thirdparty/nftables.git/commit
tests/shell: implement NFT_TEST_HAVE_json feature detection as script
authorThomas Haller <thaller@redhat.com>
Mon, 18 Sep 2023 10:28:27 +0000 (12:28 +0200)
committerFlorian Westphal <fw@strlen.de>
Mon, 18 Sep 2023 11:08:59 +0000 (13:08 +0200)
commitf30cb622d27e4b14454bccb4b9c0c990a68888df
treeeae00a401566bedfa045487ab2c92cb052c4d982
parent5f83041242ca0ff38a74d51b85e00047568c4933
tests/shell: implement NFT_TEST_HAVE_json feature detection as script

No more need to special case the "run a script" approach for detecting
the json feature. Use the new mechanism instead.

Signed-off-by: Thomas Haller <thaller@redhat.com>
Signed-off-by: Florian Westphal <fw@strlen.de>
tests/shell/features/json.sh [new file with mode: 0755]
tests/shell/run-tests.sh