Lines Matching refs:manager
113 static int test_load_config(Manager *manager) {
119 * assert_se(network_should_reload(manager) == true);
122 r = manager_load_config(manager);
127 assert_se(manager_should_reload(manager) == false);
132 static void test_network_get(Manager *manager, struct udev_device *loopback) {
138 assert_se(network_get(manager, loopback, "lo", &mac, &network) == -ENOENT);
188 _cleanup_manager_free_ Manager *manager = NULL;
197 assert_se(manager_new(&manager) >= 0);
199 r = test_load_config(manager);
210 test_network_get(manager, loopback);
212 assert_se(manager_rtnl_enumerate_links(manager) >= 0);