mirror of
https://github.com/samba-team/samba.git
synced 2025-07-30 19:42:05 +03:00
r26588: Janitorial: Rename torture_*_add_*test to torture_*_add_*test_const.
Also rename the corresponding wrap_ functions.
(This used to be commit e59c2eaf68
)
This commit is contained in:
committed by
Stefan Metzmacher
parent
95b1f554b2
commit
3c744ddd2c
@ -154,17 +154,18 @@ static bool test_no_transport(struct torture_context *tctx)
|
||||
struct torture_suite *torture_local_binding_string(TALLOC_CTX *mem_ctx)
|
||||
{
|
||||
int i;
|
||||
struct torture_suite *suite = torture_suite_create(mem_ctx,
|
||||
"BINDING");
|
||||
struct torture_suite *suite = torture_suite_create(mem_ctx, "BINDING");
|
||||
|
||||
for (i = 0; i < ARRAY_SIZE(test_strings); i++) {
|
||||
torture_suite_add_simple_tcase(suite, test_strings[i],
|
||||
test_BindingString, test_strings[i]);
|
||||
torture_suite_add_simple_tcase_const(suite, test_strings[i],
|
||||
test_BindingString,
|
||||
test_strings[i]);
|
||||
}
|
||||
|
||||
torture_suite_add_simple_test(suite, "no transport", test_no_transport);
|
||||
torture_suite_add_simple_test(suite, "no transport",test_no_transport);
|
||||
|
||||
torture_suite_add_simple_test(suite, "parsing results", test_parse_check_results);
|
||||
torture_suite_add_simple_test(suite, "parsing results",
|
||||
test_parse_check_results);
|
||||
|
||||
return suite;
|
||||
}
|
||||
|
Reference in New Issue
Block a user