Searched refs:son (Results 1 - 1 of 1) sorted by relevance

/systemd/src/test/
H A Dtest-cgroup-mask.c29 Unit *son, *daughter, *parent, *root, *grandchild, *parent_deep; local
57 assert_se(manager_load_unit(m, "son.service", NULL, NULL, &son) >= 0);
62 assert_se(son->load_state == UNIT_LOADED);
66 assert_se(UNIT_DEREF(son->slice) == parent);
73 assert_se(unit_get_own_mask(son) == (CGROUP_MASK_CPU | CGROUP_MASK_CPUACCT));
81 assert_se(unit_get_members_mask(son) == 0);
89 assert_se(unit_get_siblings_mask(son) == (CGROUP_MASK_CPU | CGROUP_MASK_CPUACCT | CGROUP_MASK_MEMORY));
97 assert_se(unit_get_target_mask(son) == ((CGROUP_MASK_CPU | CGROUP_MASK_CPUACCT | CGROUP_MASK_MEMORY) & m->cgroup_supported));

Completed in 1376 milliseconds