From 0d8c31ff7237149b505290652864b4e7e866b2a7 Mon Sep 17 00:00:00 2001 From: Zbigniew Jędrzejewski-Szmek Date: Tue, 7 Jan 2014 08:41:24 -0500 Subject: test-engine: fix access to unit load path Also add a bit of debugging output to help diagnose problems, add missing units, and simplify cppflags. Move test-engine to normal tests from manual tests, it should now work without destroying the system. --- src/core/manager.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/core/manager.h') diff --git a/src/core/manager.h b/src/core/manager.h index 718c29fa0f..aa6c76fa5a 100644 --- a/src/core/manager.h +++ b/src/core/manager.h @@ -230,6 +230,8 @@ struct Manager { bool taint_usr:1; bool first_boot:1; + bool test_run:1; + ShowStatus show_status; bool confirm_spawn; bool no_console_output; @@ -276,7 +278,7 @@ struct Manager { int kdbus_fd; }; -int manager_new(SystemdRunningAs running_as, Manager **m); +int manager_new(SystemdRunningAs running_as, bool test_run, Manager **m); void manager_free(Manager *m); int manager_enumerate(Manager *m); -- cgit v1.2.3-54-g00ecf