diff options
Diffstat (limited to 'source4/librpc')
-rw-r--r-- | source4/librpc/tests/binding_string.c | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/source4/librpc/tests/binding_string.c b/source4/librpc/tests/binding_string.c index 362848049b..5e6fb04515 100644 --- a/source4/librpc/tests/binding_string.c +++ b/source4/librpc/tests/binding_string.c @@ -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; } |