]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
test: add another regression test 27193/head
authorYu Watanabe <watanabe.yu+github@gmail.com>
Sun, 9 Apr 2023 18:07:22 +0000 (03:07 +0900)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Sun, 9 Apr 2023 20:43:09 +0000 (05:43 +0900)
For #27187, which should be also caused by #26956.

test/units/testsuite-01.sh

index ebb8a78128a4c5b6fbfe9a4a917aeba06d5141b8..cd18a9fd740c3570b5331055b4c020964648e0a4 100755 (executable)
@@ -35,4 +35,10 @@ fi
 systemctl --state=failed --no-legend --no-pager | tee /failed
 systemctl daemon-reload
 
+# Check that the early setup is actually skipped on reexec.
+# If the early setup is done more than once, then several timestamps,
+# e.g. SecurityStartTimestamp, are re-initialized, and causes an ABRT
+# of systemd-analyze blame. See issue #27187.
+systemd-analyze blame
+
 echo OK >/testok