diff options
Diffstat (limited to 'source4/torture/ldap')
-rw-r--r-- | source4/torture/ldap/common.c | 17 |
1 files changed, 13 insertions, 4 deletions
diff --git a/source4/torture/ldap/common.c b/source4/torture/ldap/common.c index 5dc482776a..5b28e825f2 100644 --- a/source4/torture/ldap/common.c +++ b/source4/torture/ldap/common.c @@ -101,10 +101,19 @@ NTSTATUS torture_ldap_close(struct ldap_connection *conn) NTSTATUS torture_ldap_init(void) { - register_torture_op("BENCH-CLDAP", torture_bench_cldap); - register_torture_op("LDAP-BASIC", torture_ldap_basic); - register_torture_op("LDAP-SCHEMA", torture_ldap_schema); - register_torture_op("LDAP-CLDAP", torture_cldap); + struct torture_suite *suite = torture_suite_create( + talloc_autofree_context(), + "LDAP"); + torture_suite_add_simple_test(suite, "BENCH-CLDAP", + torture_bench_cldap); + torture_suite_add_simple_test(suite, "BASIC", torture_ldap_basic); + torture_suite_add_simple_test(suite, "CLDAP", torture_cldap); + torture_suite_add_simple_test(suite, "SCHEMA", torture_ldap_schema); + + suite->description = talloc_strdup( + suite, "LDAP and CLDAP tests"); + + torture_register_suite(suite); return NT_STATUS_OK; } |