mirror of
https://github.com/systemd/systemd.git
synced 2026-08-04 15:10:33 +00:00
test: wait for verbose-success.service finished
Otherwise, the command 'echo' may not be invoked yet.
Follow-up for 25aa35d465.
This commit is contained in:
committed by
Frantisek Sumsal
parent
8ef31e1f13
commit
ff4240fc22
@@ -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)" ]]
|
||||
|
||||
Reference in New Issue
Block a user