]> git.ipfire.org Git - thirdparty/nftables.git/commit
tests: shell: Add test case for JSON 'flags' arrays
authorPhil Sutter <phil@nwl.cc>
Thu, 8 May 2025 15:34:18 +0000 (17:34 +0200)
committerPhil Sutter <phil@nwl.cc>
Tue, 13 May 2025 08:48:53 +0000 (10:48 +0200)
commit77c2ecee9bc7025aa6582696f94ee33ee644ecc7
treed44a71674761a2ebe1b69654d0e3791712b48244
parenta740f2036ad0d50b4a91e110611563809dac420a
tests: shell: Add test case for JSON 'flags' arrays

Ensure these arrays are reduced if containing just a single item and
parser interprets them correctly in any case.

Signed-off-by: Phil Sutter <phil@nwl.cc>
tests/shell/testcases/json/single_flag [new file with mode: 0755]