summaryrefslogtreecommitdiffstats
path: root/test/units/testsuite-65.sh
diff options
context:
space:
mode:
authorFrantisek Sumsal <frantisek@sumsal.cz>2023-04-15 21:33:02 +0200
committerFrantisek Sumsal <frantisek@sumsal.cz>2023-04-16 09:21:13 +0200
commitf7f5657ece9d0afd5026edd835b12aa970f46547 (patch)
tree26e17338fbd41dec2345a5145d80590e92ff05be /test/units/testsuite-65.sh
parenttest: add a couple of basic sanity tests for timedatectl (diff)
downloadsystemd-f7f5657ece9d0afd5026edd835b12aa970f46547.tar.xz
systemd-f7f5657ece9d0afd5026edd835b12aa970f46547.zip
test: add a couple of basic sanity tests for the security verb
Diffstat (limited to '')
-rwxr-xr-xtest/units/testsuite-65.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/units/testsuite-65.sh b/test/units/testsuite-65.sh
index 49e6b87a13..cf3a856413 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