projects
/
systemd
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8ef31e1
)
test: wait for verbose-success.service finished
author
Yu Watanabe
<watanabe.yu+github@gmail.com>
Fri, 5 Jan 2024 09:53:56 +0000
(18:53 +0900)
committer
Frantisek Sumsal
<frantisek@sumsal.cz>
Fri, 5 Jan 2024 12:08:10 +0000
(13:08 +0100)
Otherwise, the command 'echo' may not be invoked yet.
Follow-up for
25aa35d465cf4725bc3ebd2a919e7f39ecafb920
.
test/units/testsuite-04.journal.sh
patch
|
blob
|
history
diff --git
a/test/units/testsuite-04.journal.sh
b/test/units/testsuite-04.journal.sh
index 88fab48b9a26c97b2dcfc65d9bc0054baef6f125..2c0c50f5b83efbc7d33e1e8ad5506cb5804afb33 100755
(executable)
--- a/
test/units/testsuite-04.journal.sh
+++ b/
test/units/testsuite-04.journal.sh
@@
-108,7
+108,8
@@
journalctl --sync
[[ -z "$(journalctl -b -q -u silent-success.service)" ]]
# Test syslog identifiers exclusion
-systemctl start verbose-success
+systemctl start verbose-success.service
+timeout 30 bash -xec 'while systemctl -q is-active verbose-success.service; do sleep 1; done'
journalctl --sync
[[ -n "$(journalctl -b -q -u verbose-success.service -t systemd)" ]]
[[ -n "$(journalctl -b -q -u verbose-success.service -t echo)" ]]