From: Frantisek Sumsal Date: Fri, 26 May 2023 19:41:43 +0000 (+0200) Subject: Revert "test: add test case for systemd-update-utmp vs daemon-reexec" X-Git-Tag: v254-rc1~358 X-Git-Url: http://git-history.diyao.me/?a=commitdiff_plain;h=837773add465bd0a0d1f598203d297cf0129468b;p=systemd%2F.git Revert "test: add test case for systemd-update-utmp vs daemon-reexec" Temporarily revert the test case for #27167, as the additional daemon-reexecs exacerbate #27287, making CIs fail quite often. As the #27167 is also covered by TEST-01-BASIC itself, since we do daemon-reexec there anyway, we shouldn't lose any coverage, but it should make CIs more stable until #27287 is figured out. Resolves (or more like works around): #27807 This reverts commit d689f70a2c18666bbf6500df7a53962a8f3e91a4. --- diff --git a/test/units/testsuite-01.sh b/test/units/testsuite-01.sh index 475eaa2923..91dd47ca14 100755 --- a/test/units/testsuite-01.sh +++ b/test/units/testsuite-01.sh @@ -44,17 +44,4 @@ systemctl daemon-reload # of systemd-analyze blame. See issue #27187. systemd-analyze blame -# Test for 'systemd-update-utmp runlevel' vs 'systemctl daemon-reexec'. -# See issue #27163. -# shellcheck disable=SC2034 -for _ in {0..10}; do - systemctl daemon-reexec & - pid_reexec=$! - # shellcheck disable=SC2034 - for _ in {0..10}; do - SYSTEMD_LOG_LEVEL=debug /usr/lib/systemd/systemd-update-utmp runlevel - done - wait "$pid_reexec" -done - echo OK >/testok