diff options
author | Evgeny Vereshchagin <evvers@ya.ru> | 2016-10-20 13:18:12 +0000 |
---|---|---|
committer | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2016-11-01 21:20:26 -0400 |
commit | bff653e3970bb79832568ae86b095ee530b62302 (patch) | |
tree | 98b5615be34e5393a630df6773c2a79e77b51f91 /test/TEST-04-JOURNAL | |
parent | f0bfbfac43b7faa68ef1bb2ad659c191b9ec85d2 (diff) |
tests: add test that journald keeps fds over termination by signal
This test fails before previous commit, and passes with it.
Diffstat (limited to 'test/TEST-04-JOURNAL')
-rwxr-xr-x | test/TEST-04-JOURNAL/test-journal.sh | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/test/TEST-04-JOURNAL/test-journal.sh b/test/TEST-04-JOURNAL/test-journal.sh index 6646eccfa7..493ff00ce0 100755 --- a/test/TEST-04-JOURNAL/test-journal.sh +++ b/test/TEST-04-JOURNAL/test-journal.sh @@ -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 |