dcount++;
}
-
SAFE_FREE(rep.extra_data.data);
+
+ torture_assert(torture, dcount >= 2,
+ "The list of trusted domain should contain 2 entries");
+
*_d = d;
return true;
}
*/
}
- torture_assert(torture, i >= 2,
- "The list of trusted domain should contain 2 entries");
-
return true;
}
struct torture_suite *suite = torture_suite_create(talloc_autofree_context(), "STRUCT");
torture_suite_add_simple_test(suite, "PING", torture_winbind_struct_ping);
- torture_suite_add_simple_test(suite, "GETDCNAME", torture_winbind_struct_getdcname);
torture_suite_add_simple_test(suite, "LIST_TRUSTDOM", torture_winbind_struct_list_trustdom);
+ torture_suite_add_simple_test(suite, "GETDCNAME", torture_winbind_struct_getdcname);
suite->description = talloc_strdup(suite, "WINBIND - struct based protocol tests");