mirror of
https://github.com/systemd/systemd-stable.git
synced 2025-02-28 17:57:25 +03:00
tests: add test that journald keeps fds over termination by signal
This test fails before previous commit, and passes with it.
This commit is contained in:
parent
f0bfbfac43
commit
bff653e397
@ -59,4 +59,12 @@ sleep 3
|
||||
systemctl stop forever-print-hola
|
||||
[[ ! -f "/i-lose-my-logs" ]]
|
||||
|
||||
# https://github.com/systemd/systemd/issues/4408
|
||||
rm -f /i-lose-my-logs
|
||||
systemctl start forever-print-hola
|
||||
sleep 3
|
||||
systemctl kill --signal=SIGKILL systemd-journald
|
||||
sleep 3
|
||||
[[ ! -f "/i-lose-my-logs" ]]
|
||||
|
||||
touch /testok
|
||||
|
Loading…
x
Reference in New Issue
Block a user