]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
test: systemd-analyze blame should succeed now
authorYu Watanabe <watanabe.yu+github@gmail.com>
Sun, 9 Apr 2023 18:40:49 +0000 (03:40 +0900)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Sun, 9 Apr 2023 20:34:30 +0000 (05:34 +0900)
test/units/testsuite-65.sh

index edaf667107156686c7036b4422224f2793b44ed0..0ee56dfc00afe8c481eeb52c04b1945d68a83e57 100755 (executable)
@@ -11,13 +11,15 @@ export SYSTEMD_LOG_LEVEL=debug
 
 # Sanity checks
 #
-# We can't really test time, blame, critical-chain and plot verbs here, as
+# We can't really test time, critical-chain and plot verbs here, as
 # the testsuite service is a part of the boot transaction, so let's assume
 # they fail
 systemd-analyze || :
 systemd-analyze time || :
-systemd-analyze blame || :
 systemd-analyze critical-chain || :
+# blame
+systemd-analyze blame
+systemd-run --wait --user --pipe -M testuser@.host systemd-analyze blame
 # plot
 systemd-analyze plot >/dev/null || :
 systemd-analyze plot --json=pretty >/dev/null || :