From 3a8b7e8b5f72a940a07938a8ed33f2c3283dd52b Mon Sep 17 00:00:00 2001 From: Frantisek Sumsal Date: Fri, 14 Apr 2023 21:10:18 +0200 Subject: [PATCH] test: stop the test unit when it's not needed anymore Otherwise it keeps printing stuff to the journal/console, adding unnecessary noise. --- test/units/testsuite-04.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/test/units/testsuite-04.sh b/test/units/testsuite-04.sh index b7cbfeb75a3..35d35c0e850 100755 --- a/test/units/testsuite-04.sh +++ b/test/units/testsuite-04.sh @@ -175,6 +175,7 @@ sleep 3 systemctl kill --signal=SIGKILL systemd-journald sleep 3 [[ ! -f "/i-lose-my-logs" ]] +systemctl stop forever-print-hola # https://github.com/systemd/systemd/issues/15528 journalctl --follow --file=/var/log/journal/*/* | head -n1 || [[ $? -eq 1 ]] -- 2.47.3