test: use systemd-run --wait in TEST-44-LOG-NAMESPACE
authorLuca Boccassi <bluca@debian.org>
Wed, 14 Apr 2021 20:26:50 +0000 (21:26 +0100)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Thu, 15 Apr 2021 06:16:19 +0000 (08:16 +0200)
commitcf9844ffabd7fd51f22e729692b79d55cd7bdd76
tree5909bfc4bf68764b78d6c7f8c74b4fca3aa6bff7
parent828b603a791edd04a5c3603456aa8caca44ce67e
test: use systemd-run --wait in TEST-44-LOG-NAMESPACE

The test appears to be occasionally failing. It uses systemd-run to echo
'hello world' into a namespaced journal and then uses journalctl to look for it,
but it doesn't wait.
In the failed runs it can't find it, but the automated journal dump shows
the message at the end.

Use --wait to avoid races.
test/units/testsuite-44.sh