From: Evgeny Vereshchagin Date: Thu, 20 Oct 2016 13:18:12 +0000 (+0000) Subject: tests: add test that journald keeps fds over termination by signal X-Git-Tag: v232~11^2~1 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=bff653e3970bb79832568ae86b095ee530b62302;p=thirdparty%2Fsystemd.git tests: add test that journald keeps fds over termination by signal This test fails before previous commit, and passes with it. --- diff --git a/test/TEST-04-JOURNAL/test-journal.sh b/test/TEST-04-JOURNAL/test-journal.sh index 6646eccfa7e..493ff00ce00 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