Searched refs:daughter (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
58 assert_se(manager_load_unit(m, "daughter.service", NULL, NULL, &daughter) >= 0);
63 assert_se(daughter->load_state == UNIT_LOADED);
67 assert_se(UNIT_DEREF(daughter->slice) == parent);
74 assert_se(unit_get_own_mask(daughter) == 0);
82 assert_se(unit_get_members_mask(daughter) == 0);
90 assert_se(unit_get_siblings_mask(daughter) == (CGROUP_MASK_CPU | CGROUP_MASK_CPUACCT | CGROUP_MASK_MEMORY));
98 assert_se(unit_get_target_mask(daughter) == ((CGROUP_MASK_CPU | CGROUP_MASK_CPUACCT | CGROUP_MASK_MEMORY) & m->cgroup_supported));

Completed in 281 milliseconds