summaryrefslogtreecommitdiff
path: root/source4/torture/libnet/libnet.c
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2006-12-12 23:23:50 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 14:29:14 -0500
commit25e468e83ff62be6d018bb7e887d5bd6536d354a (patch)
tree76264f095205db3ac6ae3ca02fc47eddb7791c47 /source4/torture/libnet/libnet.c
parenta1af18217b9876327647552df1f328924ae726c4 (diff)
downloadsamba-25e468e83ff62be6d018bb7e887d5bd6536d354a.tar.gz
samba-25e468e83ff62be6d018bb7e887d5bd6536d354a.tar.bz2
samba-25e468e83ff62be6d018bb7e887d5bd6536d354a.zip
r20144: add NET-API-BECOME-DC test that tests libnet_BecomeDC()/libnet_UnbecomeDC()
metze (This used to be commit 0359d9a00b3e30e2bd67b89d6b11236e5af0106b)
Diffstat (limited to 'source4/torture/libnet/libnet.c')
-rw-r--r--source4/torture/libnet/libnet.c8
1 files changed, 3 insertions, 5 deletions
diff --git a/source4/torture/libnet/libnet.c b/source4/torture/libnet/libnet.c
index ec06cea0f1..9a8d61e98e 100644
--- a/source4/torture/libnet/libnet.c
+++ b/source4/torture/libnet/libnet.c
@@ -24,9 +24,7 @@
NTSTATUS torture_net_init(void)
{
- struct torture_suite *suite = torture_suite_create(
- talloc_autofree_context(),
- "NET");
+ struct torture_suite *suite = torture_suite_create(talloc_autofree_context(), "NET");
torture_suite_add_simple_test(suite, "USERINFO", torture_userinfo);
torture_suite_add_simple_test(suite, "USERADD", torture_useradd);
@@ -53,9 +51,9 @@ NTSTATUS torture_net_init(void)
torture_suite_add_simple_test(suite, "API-DOMCLOSELSA", torture_domain_close_lsa);
torture_suite_add_simple_test(suite, "API-DOMOPENSAMR", torture_domain_open_samr);
torture_suite_add_simple_test(suite, "API-DOMCLOSESAMR", torture_domain_close_samr);
+ torture_suite_add_simple_test(suite, "API-BECOME-DC", torture_net_become_dc);
- suite->description = talloc_strdup(suite,
- "libnet convenience interface tests");
+ suite->description = talloc_strdup(suite, "libnet convenience interface tests");
torture_register_suite(suite);