test-runner: print if haveged fails to start

If haveged is not installed it attempts to start but exits with no
indication of what happened.
This commit is contained in:
James Prestwood 2019-08-20 15:21:28 -04:00 committed by Denis Kenzior
parent ed08bc35a3
commit 0e317ed9b1
1 changed files with 3 additions and 1 deletions

View File

@ -2280,8 +2280,10 @@ static void run_auto_tests(void)
if (!start_dbus_daemon())
goto exit;
if (!start_haveged())
if (!start_haveged()) {
l_error("Failed to start haveged");
goto exit;
}
test_stat_queue = l_queue_new();