commit 0e317ed9b19ed9365077ad57653ec036ffa54f7b
parent ed08bc35a38f83965815fe19e4e4678b206bd757
Author: James Prestwood <prestwoj@gmail.com>
Date: Tue, 20 Aug 2019 15:21:28 -0400
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.
Diffstat:
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/tools/test-runner.c b/tools/test-runner.c
@@ -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();