From: Frantisek Sumsal Date: Fri, 14 Apr 2023 19:10:18 +0000 (+0200) Subject: test: stop the test unit when it's not needed anymore X-Git-Tag: v254-rc1~707^2~9 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3a8b7e8b5f72a940a07938a8ed33f2c3283dd52b;p=thirdparty%2Fsystemd.git test: stop the test unit when it's not needed anymore Otherwise it keeps printing stuff to the journal/console, adding unnecessary noise. --- 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 ]]