help: tests: Fix functional test to check for status logs
Fixes: #2171 (closed).
Since systemd version 250, journalctl does not print the header line '-- Journal begins... --'. To accommodate those changes, read the status log lines accurately and check that they are not empty.
Tests:
-
Run help functional tests on stable, testing and unstable.
-
Modify code to not print status logs and notice that the functional test fails.
Signed-off-by: Sunil Mohan Adapa sunil@medhas.org