mirror of
https://github.com/systemd/systemd.git
synced 2025-03-11 20:58:27 +03:00
test: add test case for systemd-update-utmp vs daemon-reexec
This commit is contained in:
parent
08bc702b12
commit
d689f70a2c
@ -44,4 +44,17 @@ 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
|
||||
|
Loading…
x
Reference in New Issue
Block a user