1
1
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:
Evgeny Vereshchagin 2016-10-20 13:18:12 +00:00 committed by Zbigniew Jędrzejewski-Szmek
parent f0bfbfac43
commit bff653e397

View File

@ -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