diff options
author | Evgeny Vereshchagin <evvers@ya.ru> | 2016-10-20 15:18:12 +0200 |
---|---|---|
committer | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2016-11-02 02:20:26 +0100 |
commit | bff653e3970bb79832568ae86b095ee530b62302 (patch) | |
tree | 98b5615be34e5393a630df6773c2a79e77b51f91 /test/TEST-04-JOURNAL | |
parent | core: when restarting services, don't close fds (diff) | |
download | systemd-bff653e3970bb79832568ae86b095ee530b62302.tar.xz systemd-bff653e3970bb79832568ae86b095ee530b62302.zip |
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 |