Lines Matching defs:group
299 static int parse_group_packet(uint8_t *body, size_t blen, struct group *gr, uint32_t *nmem)
434 struct group *group,
441 group->gr_name,
449 group->gr_gid,
455 static void assert_groups_equal(struct group *expected,
456 struct group *gr, const int nmem)
1261 struct group getgrnam_no_members = {
1273 struct group gr;
1285 /* Test that requesting a valid, cached group with no members returns a valid
1286 * group structure
1292 /* Prime the cache with a valid group */
1301 /* Query for that group, call a callback when command finishes */
1332 struct group testgroup_members = {
1344 struct group gr;
1347 struct group expected = {
1364 /* Test that requesting a valid, cached group with some members returns a valid
1365 * group structure with those members present
1403 /* Query for that group, call a callback when command finishes */
1419 struct group gr;
1421 struct group expected = {
1457 /* Test that requesting a valid, cached group with some members returns a valid
1458 * group structure with those members present as fully qualified names
1470 /* Query for that group, call a callback when command finishes */
1484 /* Test that requesting a valid, cached group with subdomain members returns
1485 * a valid * group structure with those members present as fully
1508 struct group testsubdomgroup = {
1520 struct group gr;
1522 struct group expected = {
1592 /* Query for that group, call a callback when command finishes */
1609 struct group gr;
1611 struct group expected = {
1657 /* Query for that group, call a callback when command finishes */
1673 struct group gr;
1675 struct group expected = {
1724 /* Query for that group, call a callback when command finishes */
1743 struct group gr;
1745 struct group expected = {
1799 /* Query for that group, call a callback when command finishes */
1810 struct group space_group = {
1812 .gr_name = discard_const("space group"),
1822 struct group gr;
1836 /* Test that requesting a valid, cached group with space in its name returns a valid
1837 * group structure
1843 /* Prime the cache with a valid group */
1848 mock_input_user_or_group("space group");
1852 /* Query for that group, call a callback when command finishes */
1868 struct group gr;
1883 /* Test that requesting a valid, cached group with space in its name returns a valid
1884 * group structure
1893 mock_input_user_or_group("space group");
1897 /* Query for that group, call a callback when command finishes */
2587 struct group testinitgr_gr1 = {
2594 struct group testinitgr_gr2 = {
2715 struct group testinitgr_srch_gr1 = {
2722 struct group testinitgr_srch_gr2 = {
2823 struct group testinitgr_update_gr1 = {
2830 struct group testinitgr_update_gr2 = {
2933 struct group testinitgr_2attr_gr1 = {
2940 struct group testinitgr_2attr_gr2 = {