summaryrefslogtreecommitdiff
path: root/source4/torture/libnet
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2010-12-11 03:26:31 +0100
committerJelmer Vernooij <jelmer@samba.org>2010-12-11 04:16:13 +0100
commit35fbc7bbda5851f7172538f79fc79be201f1d521 (patch)
tree30449903f8f3288618986e3dadddd7a29f0ffe5f /source4/torture/libnet
parent68d97f8b492d1d075ed77a4bab7f178d10570106 (diff)
downloadsamba-35fbc7bbda5851f7172538f79fc79be201f1d521.tar.gz
samba-35fbc7bbda5851f7172538f79fc79be201f1d521.tar.bz2
samba-35fbc7bbda5851f7172538f79fc79be201f1d521.zip
s4-smbtorture: Make test names lowercase and dot-separated.
This is consistent with the test names used by selftest, should make the names less confusing and easier to integrate with other tools. Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Sat Dec 11 04:16:13 CET 2010 on sn-devel-104
Diffstat (limited to 'source4/torture/libnet')
-rw-r--r--source4/torture/libnet/libnet.c67
1 files changed, 34 insertions, 33 deletions
diff --git a/source4/torture/libnet/libnet.c b/source4/torture/libnet/libnet.c
index 545f636a6c..3b9548cec9 100644
--- a/source4/torture/libnet/libnet.c
+++ b/source4/torture/libnet/libnet.c
@@ -26,40 +26,41 @@
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);
- torture_suite_add_simple_test(suite, "USERDEL", torture_userdel);
- torture_suite_add_simple_test(suite, "USERMOD", torture_usermod);
- torture_suite_add_simple_test(suite, "DOMOPEN", torture_domainopen);
- torture_suite_add_simple_test(suite, "GROUPINFO", torture_groupinfo);
- torture_suite_add_simple_test(suite, "GROUPADD", torture_groupadd);
- torture_suite_add_simple_test(suite, "API-LOOKUP", torture_lookup);
- torture_suite_add_simple_test(suite, "API-LOOKUPHOST", torture_lookup_host);
- torture_suite_add_simple_test(suite, "API-LOOKUPPDC", torture_lookup_pdc);
- torture_suite_add_simple_test(suite, "API-LOOKUPNAME", torture_lookup_sam_name);
- torture_suite_add_simple_test(suite, "API-CREATEUSER", torture_createuser);
- torture_suite_add_simple_test(suite, "API-DELETEUSER", torture_deleteuser);
- torture_suite_add_simple_test(suite, "API-MODIFYUSER", torture_modifyuser);
- torture_suite_add_simple_test(suite, "API-USERINFO", torture_userinfo_api);
- torture_suite_add_simple_test(suite, "API-USERLIST", torture_userlist);
- torture_suite_add_simple_test(suite, "API-GROUPINFO", torture_groupinfo_api);
- torture_suite_add_simple_test(suite, "API-GROUPLIST", torture_grouplist);
- torture_suite_add_simple_test(suite, "API-CREATEGROUP", torture_creategroup);
- torture_suite_add_simple_test(suite, "API-RPCCONN-BIND", torture_rpc_connect_binding);
- torture_suite_add_simple_test(suite, "API-RPCCONN-SRV", torture_rpc_connect_srv);
- torture_suite_add_simple_test(suite, "API-RPCCONN-PDC", torture_rpc_connect_pdc);
- torture_suite_add_simple_test(suite, "API-RPCCONN-DC", torture_rpc_connect_dc);
- torture_suite_add_simple_test(suite, "API-RPCCONN-DCINFO", torture_rpc_connect_dc_info);
- torture_suite_add_simple_test(suite, "API-LISTSHARES", torture_listshares);
- torture_suite_add_simple_test(suite, "API-DELSHARE", torture_delshare);
- torture_suite_add_simple_test(suite, "API-DOMOPENLSA", torture_domain_open_lsa);
- 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);
- torture_suite_add_simple_test(suite, "API-DOMLIST", torture_domain_list);
+ torture_suite_add_simple_test(suite, "userinfo", torture_userinfo);
+ torture_suite_add_simple_test(suite, "useradd", torture_useradd);
+ torture_suite_add_simple_test(suite, "userdel", torture_userdel);
+ torture_suite_add_simple_test(suite, "usermod", torture_usermod);
+ torture_suite_add_simple_test(suite, "domopen", torture_domainopen);
+ torture_suite_add_simple_test(suite, "groupinfo", torture_groupinfo);
+ torture_suite_add_simple_test(suite, "groupadd", torture_groupadd);
+ torture_suite_add_simple_test(suite, "api.lookup", torture_lookup);
+ torture_suite_add_simple_test(suite, "api.lookuphost", torture_lookup_host);
+ torture_suite_add_simple_test(suite, "api.lookuppdc", torture_lookup_pdc);
+ torture_suite_add_simple_test(suite, "api.lookupname", torture_lookup_sam_name);
+ torture_suite_add_simple_test(suite, "api.createuser", torture_createuser);
+ torture_suite_add_simple_test(suite, "api.deleteuser", torture_deleteuser);
+ torture_suite_add_simple_test(suite, "api.modifyuser", torture_modifyuser);
+ torture_suite_add_simple_test(suite, "api.userinfo", torture_userinfo_api);
+ torture_suite_add_simple_test(suite, "api.userlist", torture_userlist);
+ torture_suite_add_simple_test(suite, "api.groupinfo", torture_groupinfo_api);
+ torture_suite_add_simple_test(suite, "api.grouplist", torture_grouplist);
+ torture_suite_add_simple_test(suite, "api.creategroup", torture_creategroup);
+ torture_suite_add_simple_test(suite, "api.rpcconn.bind", torture_rpc_connect_binding);
+ torture_suite_add_simple_test(suite, "api.rpcconn.srv", torture_rpc_connect_srv);
+ torture_suite_add_simple_test(suite, "api.rpcconn.pdc", torture_rpc_connect_pdc);
+ torture_suite_add_simple_test(suite, "api.rpcconn.dc", torture_rpc_connect_dc);
+ torture_suite_add_simple_test(suite, "api.rpcconn.dcinfo", torture_rpc_connect_dc_info);
+ torture_suite_add_simple_test(suite, "api.listshares", torture_listshares);
+ torture_suite_add_simple_test(suite, "api.delshare", torture_delshare);
+ torture_suite_add_simple_test(suite, "api.domopenlsa", torture_domain_open_lsa);
+ 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);
+ torture_suite_add_simple_test(suite, "api.domlist", torture_domain_list);
suite->description = talloc_strdup(suite, "libnet convenience interface tests");