tests: add a simple test that bootctl output is valid json
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Wed, 16 Nov 2022 08:49:30 +0000 (09:49 +0100)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Thu, 1 Dec 2022 17:01:00 +0000 (18:01 +0100)
commit50f2c32cd5477bb42bf9a26e4aefd7230c2574c7
tree5c8bb223fd39df2d3520a7feb743e91971ebdf35
parentb570204a97bccfbfce8fc4ffa65306f8a06fe16e
tests: add a simple test that bootctl output is valid json

python's json.tool module is used because it does validation. jq is more forgiving.
Also, json is in the stdlib, so it should be always available.
meson.build
test/meson.build
test/test-bootctl-json.sh [new file with mode: 0755]