Lines Matching refs:expected
607 static void assert_groups_equal(struct group *expected,
612 assert_int_equal(gr->gr_gid, expected->gr_gid);
613 assert_string_equal(gr->gr_name, expected->gr_name);
614 assert_string_equal(gr->gr_passwd, expected->gr_passwd);
617 order_string_array(expected->gr_mem, nmem);
620 assert_string_equal(gr->gr_mem[i], expected->gr_mem[i]);
1541 struct group expected = {
1554 assert_groups_equal(&expected, &gr, nmem);
1615 struct group expected = {
1632 expected.gr_name = sss_tc_fqname(tmp_ctx,
1636 assert_non_null(expected.gr_name);
1644 assert_groups_equal(&expected, &gr, nmem);
1716 struct group expected = {
1738 expected.gr_name = sss_tc_fqname(tmp_ctx,
1742 assert_non_null(expected.gr_name);
1750 assert_groups_equal(&expected, &gr, nmem);
1805 struct group expected = {
1830 assert_groups_equal(&expected, &gr, nmem);
1898 struct group expected = {
1922 expected.gr_name = sss_tc_fqname(tmp_ctx,
1926 assert_non_null(expected.gr_name);
1930 expected.gr_name = testgroup_members.gr_name;
1939 assert_groups_equal(&expected, &gr, nmem);
2016 struct group expected = {
2043 expected.gr_name = sss_tc_fqname(tmp_ctx,
2047 assert_non_null(expected.gr_name);
2055 assert_groups_equal(&expected, &gr, nmem);