summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorYu Watanabe <watanabe.yu+github@gmail.com>2023-04-10 03:07:22 +0900
committerYu Watanabe <watanabe.yu+github@gmail.com>2023-04-10 05:43:09 +0900
commit32cc2cfac9b91361fb15676883e85ac40b9696b5 (patch)
treef8f1334e1140810929bed27b9cc3d715a69e74a5 /test
parent1538136911db66af220bf56bba85fc42dbbfca37 (diff)
downloadsystemd-32cc2cfac9b91361fb15676883e85ac40b9696b5.tar.gz
test: add another regression test
For #27187, which should be also caused by #26956.
Diffstat (limited to 'test')
-rwxr-xr-xtest/units/testsuite-01.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/units/testsuite-01.sh b/test/units/testsuite-01.sh
index ebb8a78128..cd18a9fd74 100755
--- a/test/units/testsuite-01.sh
+++ b/test/units/testsuite-01.sh
@@ -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