projects
/
systemd
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e51d13d
)
test: stop the test unit when it's not needed anymore
author
Frantisek Sumsal
<frantisek@sumsal.cz>
Fri, 14 Apr 2023 19:10:18 +0000
(21:10 +0200)
committer
Frantisek Sumsal
<frantisek@sumsal.cz>
Fri, 14 Apr 2023 19:13:14 +0000
(21:13 +0200)
Otherwise it keeps printing stuff to the journal/console, adding
unnecessary noise.
test/units/testsuite-04.sh
patch
|
blob
|
history
diff --git
a/test/units/testsuite-04.sh
b/test/units/testsuite-04.sh
index b7cbfeb75a32748b09ac695cb8de390f45404fa5..35d35c0e8503762dda47e8c7cb7de00a2c9ddd22 100755
(executable)
--- 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 ]]