]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
systemd-analyze: Add --json=, --table and -no-legend tests for plot 25790/head
authorjoshuazivkovic <joshua.zivkovic@codethink.co.uk>
Fri, 13 Jan 2023 09:17:27 +0000 (09:17 +0000)
committerjoshuazivkovic <joshua.zivkovic@codethink.co.uk>
Wed, 18 Jan 2023 14:33:08 +0000 (14:33 +0000)
test/units/testsuite-65.sh

index ebe1f57b52f181e2005fc336af7b4b2f59f74056..4093c5a2a7870604f67b577f791b57ee59d2a9e8 100755 (executable)
@@ -18,7 +18,16 @@ systemd-analyze || :
 systemd-analyze time || :
 systemd-analyze blame || :
 systemd-analyze critical-chain || :
+# plot
 systemd-analyze plot >/dev/null || :
+systemd-analyze plot --json=pretty >/dev/null || :
+systemd-analyze plot --json=short >/dev/null || :
+systemd-analyze plot --json=off >/dev/null || :
+systemd-analyze plot --json=pretty --no-legend >/dev/null || :
+systemd-analyze plot --json=short --no-legend >/dev/null || :
+systemd-analyze plot --json=off --no-legend >/dev/null || :
+systemd-analyze plot --table >/dev/null || :
+systemd-analyze plot --table --no-legend >/dev/null || :
 # legacy/deprecated options (moved to systemctl, but still usable from analyze)
 systemd-analyze log-level
 systemd-analyze log-level "$(systemctl log-level)"