From: Frantisek Sumsal Date: Sat, 15 Apr 2023 19:33:02 +0000 (+0200) Subject: test: add a couple of basic sanity tests for the security verb X-Git-Tag: v254-rc1~707^2~2 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=f7f5657ece9d0afd5026edd835b12aa970f46547;p=thirdparty%2Fsystemd.git test: add a couple of basic sanity tests for the security verb --- diff --git a/test/units/testsuite-65.sh b/test/units/testsuite-65.sh index 49e6b87a130..cf3a8564136 100755 --- a/test/units/testsuite-65.sh +++ b/test/units/testsuite-65.sh @@ -150,6 +150,11 @@ systemd-analyze cat-config /etc/systemd/system.conf >/dev/null systemd-analyze cat-config systemd/system.conf systemd/journald.conf >/dev/null systemd-analyze cat-config systemd/system.conf foo/bar systemd/journald.conf >/dev/null systemd-analyze cat-config foo/bar +# security +systemd-analyze security +systemd-analyze security --json=off +systemd-analyze security --json=pretty | jq +systemd-analyze security --json=short | jq if [[ ! -v ASAN_OPTIONS ]]; then # check that systemd-analyze cat-config paths work in a chroot