summaryrefslogtreecommitdiff
path: root/source4/torture/rpc
diff options
context:
space:
mode:
Diffstat (limited to 'source4/torture/rpc')
-rw-r--r--source4/torture/rpc/atsvc.c2
-rw-r--r--source4/torture/rpc/bind.c2
-rw-r--r--source4/torture/rpc/browser.c2
-rw-r--r--source4/torture/rpc/dfs.c2
-rw-r--r--source4/torture/rpc/drsuapi.c5
-rw-r--r--source4/torture/rpc/drsuapi_cracknames.c4
-rw-r--r--source4/torture/rpc/dsgetinfo.c2
-rw-r--r--source4/torture/rpc/dssetup.c2
-rw-r--r--source4/torture/rpc/echo.c3
-rw-r--r--source4/torture/rpc/epmapper.c4
-rw-r--r--source4/torture/rpc/eventlog.c2
-rw-r--r--source4/torture/rpc/forest_trust.c2
-rw-r--r--source4/torture/rpc/frsapi.c2
-rw-r--r--source4/torture/rpc/handles.c2
-rw-r--r--source4/torture/rpc/initshutdown.c2
-rw-r--r--source4/torture/rpc/lsa.c6
-rw-r--r--source4/torture/rpc/lsa_lookup.c2
-rw-r--r--source4/torture/rpc/netlogon.c6
-rw-r--r--source4/torture/rpc/ntsvcs.c2
-rw-r--r--source4/torture/rpc/object_uuid.c2
-rw-r--r--source4/torture/rpc/oxidresolve.c3
-rw-r--r--source4/torture/rpc/remact.c2
-rw-r--r--source4/torture/rpc/remote_pac.c2
-rw-r--r--source4/torture/rpc/rpc.c44
-rw-r--r--source4/torture/rpc/samba3rpc.c30
-rw-r--r--source4/torture/rpc/samr.c10
-rw-r--r--source4/torture/rpc/samr_accessmask.c6
-rw-r--r--source4/torture/rpc/session_key.c2
-rw-r--r--source4/torture/rpc/spoolss.c8
-rw-r--r--source4/torture/rpc/spoolss_access.c2
-rw-r--r--source4/torture/rpc/spoolss_notify.c2
-rw-r--r--source4/torture/rpc/spoolss_win.c2
-rw-r--r--source4/torture/rpc/srvsvc.c2
-rw-r--r--source4/torture/rpc/svcctl.c2
-rw-r--r--source4/torture/rpc/unixinfo.c2
-rw-r--r--source4/torture/rpc/winreg.c2
-rw-r--r--source4/torture/rpc/wkssvc.c2
37 files changed, 88 insertions, 91 deletions
diff --git a/source4/torture/rpc/atsvc.c b/source4/torture/rpc/atsvc.c
index 34058f52a1..729a7ca837 100644
--- a/source4/torture/rpc/atsvc.c
+++ b/source4/torture/rpc/atsvc.c
@@ -126,7 +126,7 @@ static bool test_JobAdd(struct torture_context *tctx, struct dcerpc_pipe *p)
struct torture_suite *torture_rpc_atsvc(TALLOC_CTX *mem_ctx)
{
- struct torture_suite *suite = torture_suite_create(mem_ctx, "ATSVC");
+ struct torture_suite *suite = torture_suite_create(mem_ctx, "atsvc");
struct torture_rpc_tcase *tcase;
tcase = torture_suite_add_rpc_iface_tcase(suite, "atsvc", &ndr_table_atsvc);
diff --git a/source4/torture/rpc/bind.c b/source4/torture/rpc/bind.c
index f6470595e3..457dbd9575 100644
--- a/source4/torture/rpc/bind.c
+++ b/source4/torture/rpc/bind.c
@@ -86,7 +86,7 @@ static void test_bind_op(struct torture_suite *suite,
struct torture_suite *torture_rpc_bind(TALLOC_CTX *mem_ctx)
{
- struct torture_suite *suite = torture_suite_create(mem_ctx, "BIND");
+ struct torture_suite *suite = torture_suite_create(mem_ctx, "bind");
struct {
const char *test_name;
uint32_t flags;
diff --git a/source4/torture/rpc/browser.c b/source4/torture/rpc/browser.c
index b039b0fcc8..d3c312cb48 100644
--- a/source4/torture/rpc/browser.c
+++ b/source4/torture/rpc/browser.c
@@ -114,7 +114,7 @@ bool test_BrowserrQueryOtherDomains(struct torture_context *tctx,
struct torture_suite *torture_rpc_browser(TALLOC_CTX *mem_ctx)
{
- struct torture_suite *suite = torture_suite_create(mem_ctx, "BROWSER");
+ struct torture_suite *suite = torture_suite_create(mem_ctx, "browser");
struct torture_rpc_tcase *tcase = torture_suite_add_rpc_iface_tcase(suite, "browser", &ndr_table_browser);
torture_rpc_tcase_add_test(tcase, "BrowserrQueryOtherDomains", test_BrowserrQueryOtherDomains);
diff --git a/source4/torture/rpc/dfs.c b/source4/torture/rpc/dfs.c
index 8c06859265..8eb4f9f8e2 100644
--- a/source4/torture/rpc/dfs.c
+++ b/source4/torture/rpc/dfs.c
@@ -634,7 +634,7 @@ static bool test_FtRoot(struct torture_context *tctx,
struct torture_suite *torture_rpc_dfs(TALLOC_CTX *mem_ctx)
{
struct torture_rpc_tcase *tcase;
- struct torture_suite *suite = torture_suite_create(mem_ctx, "DFS");
+ struct torture_suite *suite = torture_suite_create(mem_ctx, "dfs");
tcase = torture_suite_add_rpc_iface_tcase(suite, "netdfs",
&ndr_table_netdfs);
diff --git a/source4/torture/rpc/drsuapi.c b/source4/torture/rpc/drsuapi.c
index 99f101c38e..86b0d32768 100644
--- a/source4/torture/rpc/drsuapi.c
+++ b/source4/torture/rpc/drsuapi.c
@@ -849,10 +849,9 @@ void torture_rpc_drsuapi_tcase(struct torture_suite *suite)
typedef bool (*run_func) (struct torture_context *test, void *tcase_data);
struct torture_test *test;
- struct torture_tcase *tcase = torture_suite_add_tcase(suite, "DRSUAPI");
+ struct torture_tcase *tcase = torture_suite_add_tcase(suite, "drsuapi");
- torture_tcase_set_fixture(tcase,
- torture_drsuapi_tcase_setup,
+ torture_tcase_set_fixture(tcase, torture_drsuapi_tcase_setup,
torture_drsuapi_tcase_teardown);
#if 0
diff --git a/source4/torture/rpc/drsuapi_cracknames.c b/source4/torture/rpc/drsuapi_cracknames.c
index 5eae0ad401..259f997b47 100644
--- a/source4/torture/rpc/drsuapi_cracknames.c
+++ b/source4/torture/rpc/drsuapi_cracknames.c
@@ -1018,11 +1018,11 @@ void torture_rpc_drsuapi_cracknames_tcase(struct torture_suite *suite)
typedef bool (*run_func) (struct torture_context *test, void *tcase_data);
struct torture_test *test;
- struct torture_tcase *tcase = torture_suite_add_tcase(suite, "CRACKNAMES");
+ struct torture_tcase *tcase = torture_suite_add_tcase(suite, "cracknames");
torture_tcase_set_fixture(tcase,
torture_drsuapi_cracknames_setup,
torture_drsuapi_cracknames_teardown);
- test = torture_tcase_add_simple_test(tcase, "CRACKNAMES-TEST", (run_func)test_DsCrackNames);
+ test = torture_tcase_add_simple_test(tcase, "cracknames-test", (run_func)test_DsCrackNames);
}
diff --git a/source4/torture/rpc/dsgetinfo.c b/source4/torture/rpc/dsgetinfo.c
index 7b152d3754..6122ff0603 100644
--- a/source4/torture/rpc/dsgetinfo.c
+++ b/source4/torture/rpc/dsgetinfo.c
@@ -420,7 +420,7 @@ void torture_drs_rpc_dsgetinfo_tcase(struct torture_suite *suite)
typedef bool (*run_func) (struct torture_context *test, void *tcase_data);
struct torture_test *test;
- struct torture_tcase *tcase = torture_suite_add_tcase(suite, "DSGETINFO");
+ struct torture_tcase *tcase = torture_suite_add_tcase(suite, "dsgetinfo");
torture_tcase_set_fixture(tcase,
torture_dsgetinfo_tcase_setup,
diff --git a/source4/torture/rpc/dssetup.c b/source4/torture/rpc/dssetup.c
index f8b0ef3491..9a61199564 100644
--- a/source4/torture/rpc/dssetup.c
+++ b/source4/torture/rpc/dssetup.c
@@ -55,7 +55,7 @@ bool test_DsRoleGetPrimaryDomainInformation(struct torture_context *tctx,
struct torture_suite *torture_rpc_dssetup(TALLOC_CTX *mem_ctx)
{
- struct torture_suite *suite = torture_suite_create(mem_ctx, "DSSETUP");
+ struct torture_suite *suite = torture_suite_create(mem_ctx, "dssetup");
struct torture_rpc_tcase *tcase = torture_suite_add_rpc_iface_tcase(suite, "dssetup", &ndr_table_dssetup);
torture_rpc_tcase_add_test(tcase, "DsRoleGetPrimaryDomainInformation", test_DsRoleGetPrimaryDomainInformation);
diff --git a/source4/torture/rpc/echo.c b/source4/torture/rpc/echo.c
index 3b19d5a6b4..643b21fa7f 100644
--- a/source4/torture/rpc/echo.c
+++ b/source4/torture/rpc/echo.c
@@ -435,8 +435,7 @@ failed:
struct torture_suite *torture_rpc_echo(TALLOC_CTX *mem_ctx)
{
- struct torture_suite *suite = torture_suite_create(
- mem_ctx, "ECHO");
+ struct torture_suite *suite = torture_suite_create(mem_ctx, "echo");
struct torture_rpc_tcase *tcase;
tcase = torture_suite_add_rpc_iface_tcase(suite, "echo",
diff --git a/source4/torture/rpc/epmapper.c b/source4/torture/rpc/epmapper.c
index 6a1c987de1..2409af11ea 100644
--- a/source4/torture/rpc/epmapper.c
+++ b/source4/torture/rpc/epmapper.c
@@ -266,9 +266,9 @@ static bool test_InqObject(struct torture_context *tctx, struct dcerpc_pipe *p)
struct torture_suite *torture_rpc_epmapper(TALLOC_CTX *mem_ctx)
{
- struct torture_suite *suite = torture_suite_create(mem_ctx, "EPMAPPER");
+ struct torture_suite *suite = torture_suite_create(mem_ctx, "epmapper");
struct torture_rpc_tcase *tcase;
-
+
tcase = torture_suite_add_rpc_iface_tcase(suite, "epmapper",
&ndr_table_epmapper);
diff --git a/source4/torture/rpc/eventlog.c b/source4/torture/rpc/eventlog.c
index 3b6c70e068..0d48fc0c26 100644
--- a/source4/torture/rpc/eventlog.c
+++ b/source4/torture/rpc/eventlog.c
@@ -483,7 +483,7 @@ struct torture_suite *torture_rpc_eventlog(TALLOC_CTX *mem_ctx)
struct torture_rpc_tcase *tcase;
struct torture_test *test;
- suite = torture_suite_create(mem_ctx, "EVENTLOG");
+ suite = torture_suite_create(mem_ctx, "eventlog");
tcase = torture_suite_add_rpc_iface_tcase(suite, "eventlog",
&ndr_table_eventlog);
diff --git a/source4/torture/rpc/forest_trust.c b/source4/torture/rpc/forest_trust.c
index 002a300320..70d1516750 100644
--- a/source4/torture/rpc/forest_trust.c
+++ b/source4/torture/rpc/forest_trust.c
@@ -827,7 +827,7 @@ struct torture_suite *torture_rpc_lsa_forest_trust(TALLOC_CTX *mem_ctx)
struct torture_suite *suite;
struct torture_rpc_tcase *tcase;
- suite = torture_suite_create(mem_ctx, "LSA-FOREST-TRUST");
+ suite = torture_suite_create(mem_ctx, "lsa.forest.trust");
tcase = torture_suite_add_rpc_iface_tcase(suite, "lsa-forest-trust",
&ndr_table_lsarpc);
diff --git a/source4/torture/rpc/frsapi.c b/source4/torture/rpc/frsapi.c
index bb2c9d8a1e..06f15a2d50 100644
--- a/source4/torture/rpc/frsapi.c
+++ b/source4/torture/rpc/frsapi.c
@@ -255,7 +255,7 @@ static bool test_InfoW(struct torture_context *tctx,
struct torture_suite *torture_rpc_frsapi(TALLOC_CTX *mem_ctx)
{
struct torture_rpc_tcase *tcase;
- struct torture_suite *suite = torture_suite_create(mem_ctx, "FRSAPI");
+ struct torture_suite *suite = torture_suite_create(mem_ctx, "frsapi");
struct torture_test *test;
tcase = torture_suite_add_rpc_iface_tcase(suite, "frsapi",
diff --git a/source4/torture/rpc/handles.c b/source4/torture/rpc/handles.c
index 13357ac947..6b51eb5ab4 100644
--- a/source4/torture/rpc/handles.c
+++ b/source4/torture/rpc/handles.c
@@ -587,7 +587,7 @@ struct torture_suite *torture_rpc_handles(TALLOC_CTX *mem_ctx)
{
struct torture_suite *suite;
- suite = torture_suite_create(mem_ctx, "HANDLES");
+ suite = torture_suite_create(mem_ctx, "handles");
torture_suite_add_simple_test(suite, "lsarpc", test_handles_lsa);
torture_suite_add_simple_test(suite, "lsarpc-shared", test_handles_lsa_shared);
torture_suite_add_simple_test(suite, "samr", test_handles_samr);
diff --git a/source4/torture/rpc/initshutdown.c b/source4/torture/rpc/initshutdown.c
index c314c6dbc9..28eaacd5e5 100644
--- a/source4/torture/rpc/initshutdown.c
+++ b/source4/torture/rpc/initshutdown.c
@@ -100,7 +100,7 @@ static bool test_InitEx(struct torture_context *tctx,
struct torture_suite *torture_rpc_initshutdown(TALLOC_CTX *mem_ctx)
{
- struct torture_suite *suite = torture_suite_create(mem_ctx, "INITSHUTDOWN");
+ struct torture_suite *suite = torture_suite_create(mem_ctx, "initshutdown");
struct torture_rpc_tcase *tcase;
struct torture_test *test;
diff --git a/source4/torture/rpc/lsa.c b/source4/torture/rpc/lsa.c
index c963d4fe02..7bfd80f74c 100644
--- a/source4/torture/rpc/lsa.c
+++ b/source4/torture/rpc/lsa.c
@@ -2966,7 +2966,7 @@ struct torture_suite *torture_rpc_lsa_lookup_names(TALLOC_CTX *mem_ctx)
struct torture_suite *suite;
struct torture_rpc_tcase *tcase;
- suite = torture_suite_create(mem_ctx, "LSA-LOOKUPNAMES");
+ suite = torture_suite_create(mem_ctx, "lsa.lookupnames");
tcase = torture_suite_add_rpc_iface_tcase(suite, "lsa",
&ndr_table_lsarpc);
@@ -3029,7 +3029,7 @@ struct torture_suite *torture_rpc_lsa_trusted_domains(TALLOC_CTX *mem_ctx)
state->num_trusts = 12;
- suite = torture_suite_create(mem_ctx, "LSA-TRUSTED-DOMAINS");
+ suite = torture_suite_create(mem_ctx, "lsa.trusted.domains");
tcase = torture_suite_add_rpc_iface_tcase(suite, "lsa",
&ndr_table_lsarpc);
@@ -3084,7 +3084,7 @@ struct torture_suite *torture_rpc_lsa_privileges(TALLOC_CTX *mem_ctx)
struct torture_suite *suite;
struct torture_rpc_tcase *tcase;
- suite = torture_suite_create(mem_ctx, "LSA-PRIVILEGES");
+ suite = torture_suite_create(mem_ctx, "lsa.privileges");
tcase = torture_suite_add_rpc_iface_tcase(suite, "lsa",
&ndr_table_lsarpc);
diff --git a/source4/torture/rpc/lsa_lookup.c b/source4/torture/rpc/lsa_lookup.c
index d474ca1656..c4b4cf9374 100644
--- a/source4/torture/rpc/lsa_lookup.c
+++ b/source4/torture/rpc/lsa_lookup.c
@@ -397,7 +397,7 @@ struct torture_suite *torture_rpc_lsa_lookup_sids(TALLOC_CTX *mem_ctx)
struct torture_suite *suite;
struct torture_rpc_tcase *tcase;
- suite = torture_suite_create(mem_ctx, "LSA-LOOKUPSIDS");
+ suite = torture_suite_create(mem_ctx, "lsa.lookupsids");
tcase = torture_suite_add_rpc_iface_tcase(suite, "lsa",
&ndr_table_lsarpc);
diff --git a/source4/torture/rpc/netlogon.c b/source4/torture/rpc/netlogon.c
index 457d38e82d..c9fda65a39 100644
--- a/source4/torture/rpc/netlogon.c
+++ b/source4/torture/rpc/netlogon.c
@@ -3470,7 +3470,7 @@ static bool test_SetPassword_with_flags(struct torture_context *tctx,
struct torture_suite *torture_rpc_netlogon(TALLOC_CTX *mem_ctx)
{
- struct torture_suite *suite = torture_suite_create(mem_ctx, "NETLOGON");
+ struct torture_suite *suite = torture_suite_create(mem_ctx, "netlogon");
struct torture_rpc_tcase *tcase;
struct torture_test *test;
@@ -3513,7 +3513,7 @@ struct torture_suite *torture_rpc_netlogon(TALLOC_CTX *mem_ctx)
struct torture_suite *torture_rpc_netlogon_s3(TALLOC_CTX *mem_ctx)
{
- struct torture_suite *suite = torture_suite_create(mem_ctx, "NETLOGON-S3");
+ struct torture_suite *suite = torture_suite_create(mem_ctx, "netlogon-s3");
struct torture_rpc_tcase *tcase;
tcase = torture_suite_add_machine_bdc_rpc_iface_tcase(suite, "netlogon",
@@ -3531,7 +3531,7 @@ struct torture_suite *torture_rpc_netlogon_s3(TALLOC_CTX *mem_ctx)
struct torture_suite *torture_rpc_netlogon_admin(TALLOC_CTX *mem_ctx)
{
- struct torture_suite *suite = torture_suite_create(mem_ctx, "NETLOGON-ADMIN");
+ struct torture_suite *suite = torture_suite_create(mem_ctx, "netlogon.admin");
struct torture_rpc_tcase *tcase;
tcase = torture_suite_add_machine_bdc_rpc_iface_tcase(suite, "netlogon",
diff --git a/source4/torture/rpc/ntsvcs.c b/source4/torture/rpc/ntsvcs.c
index 5007f1d28a..c1418e3ce7 100644
--- a/source4/torture/rpc/ntsvcs.c
+++ b/source4/torture/rpc/ntsvcs.c
@@ -171,7 +171,7 @@ static bool test_PNP_GetDeviceRegProp(struct torture_context *tctx,
struct torture_suite *torture_rpc_ntsvcs(TALLOC_CTX *mem_ctx)
{
struct torture_rpc_tcase *tcase;
- struct torture_suite *suite = torture_suite_create(mem_ctx, "NTSVCS");
+ struct torture_suite *suite = torture_suite_create(mem_ctx, "ntsvcs");
struct torture_test *test;
tcase = torture_suite_add_rpc_iface_tcase(suite, "ntsvcs",
diff --git a/source4/torture/rpc/object_uuid.c b/source4/torture/rpc/object_uuid.c
index e2320bf4d2..8e7d6a7bad 100644
--- a/source4/torture/rpc/object_uuid.c
+++ b/source4/torture/rpc/object_uuid.c
@@ -77,7 +77,7 @@ static bool test_random_uuid(struct torture_context *torture)
struct torture_suite *torture_rpc_object_uuid(TALLOC_CTX *mem_ctx)
{
struct torture_suite *suite;
- suite = torture_suite_create(mem_ctx, "OBJECTUUID");
+ suite = torture_suite_create(mem_ctx, "objectuuid");
torture_suite_add_simple_test(suite, "random-uuid", test_random_uuid);
return suite;
}
diff --git a/source4/torture/rpc/oxidresolve.c b/source4/torture/rpc/oxidresolve.c
index eb3bc84b88..33865d7e02 100644
--- a/source4/torture/rpc/oxidresolve.c
+++ b/source4/torture/rpc/oxidresolve.c
@@ -221,8 +221,7 @@ static bool test_ServerAlive2(struct torture_context *tctx,
struct torture_suite *torture_rpc_oxidresolve(TALLOC_CTX *mem_ctx)
{
- struct torture_suite *suite = torture_suite_create(mem_ctx,
- "OXIDRESOLVE");
+ struct torture_suite *suite = torture_suite_create(mem_ctx, "oxidresolve");
struct torture_rpc_tcase *tcase;
tcase = torture_suite_add_rpc_iface_tcase(suite, "oxidresolver",
diff --git a/source4/torture/rpc/remact.c b/source4/torture/rpc/remact.c
index 56c21b4e7e..c14adb8596 100644
--- a/source4/torture/rpc/remact.c
+++ b/source4/torture/rpc/remact.c
@@ -78,7 +78,7 @@ static bool test_RemoteActivation(struct torture_context *tctx,
struct torture_suite *torture_rpc_remact(TALLOC_CTX *mem_ctx)
{
- struct torture_suite *suite = torture_suite_create(mem_ctx, "REMACT");
+ struct torture_suite *suite = torture_suite_create(mem_ctx, "remact");
struct torture_rpc_tcase *tcase;
tcase = torture_suite_add_rpc_iface_tcase(suite, "remact", &ndr_table_IRemoteActivation);
diff --git a/source4/torture/rpc/remote_pac.c b/source4/torture/rpc/remote_pac.c
index 22ea204efe..33034e0190 100644
--- a/source4/torture/rpc/remote_pac.c
+++ b/source4/torture/rpc/remote_pac.c
@@ -648,7 +648,7 @@ static bool test_S2U4Self_workstation(struct torture_context *tctx,
struct torture_suite *torture_rpc_remote_pac(TALLOC_CTX *mem_ctx)
{
- struct torture_suite *suite = torture_suite_create(mem_ctx, "PAC");
+ struct torture_suite *suite = torture_suite_create(mem_ctx, "pac");
struct torture_rpc_tcase *tcase;
/* It is important to use different names, so that old entries in our credential cache are not used */
diff --git a/source4/torture/rpc/rpc.c b/source4/torture/rpc/rpc.c
index 7f3ae06d3a..d7fdc48d4d 100644
--- a/source4/torture/rpc/rpc.c
+++ b/source4/torture/rpc/rpc.c
@@ -454,13 +454,13 @@ _PUBLIC_ struct torture_test *torture_rpc_tcase_add_test_ex(
NTSTATUS torture_rpc_init(void)
{
- struct torture_suite *suite = torture_suite_create(talloc_autofree_context(), "RPC");
+ struct torture_suite *suite = torture_suite_create(talloc_autofree_context(), "rpc");
ndr_table_init();
- torture_suite_add_simple_test(suite, "LSA", torture_rpc_lsa);
- torture_suite_add_simple_test(suite, "LSALOOKUP", torture_rpc_lsa_lookup);
- torture_suite_add_simple_test(suite, "LSA-GETUSER", torture_rpc_lsa_get_user);
+ torture_suite_add_simple_test(suite, "lsa", torture_rpc_lsa);
+ torture_suite_add_simple_test(suite, "lsalookup", torture_rpc_lsa_lookup);
+ torture_suite_add_simple_test(suite, "lsa-getuser", torture_rpc_lsa_get_user);
torture_suite_add_suite(suite, torture_rpc_lsa_lookup_sids(suite));
torture_suite_add_suite(suite, torture_rpc_lsa_lookup_names(suite));
torture_suite_add_suite(suite, torture_rpc_lsa_secrets(suite));
@@ -482,18 +482,18 @@ NTSTATUS torture_rpc_init(void)
torture_suite_add_suite(suite, torture_rpc_spoolss_win(suite));
torture_suite_add_suite(suite, torture_rpc_spoolss_driver(suite));
torture_suite_add_suite(suite, torture_rpc_spoolss_access(suite));
- torture_suite_add_simple_test(suite, "SAMR", torture_rpc_samr);
- torture_suite_add_simple_test(suite, "SAMR-USERS", torture_rpc_samr_users);
- torture_suite_add_simple_test(suite, "SAMR-PASSWORDS", torture_rpc_samr_passwords);
+ torture_suite_add_simple_test(suite, "samr", torture_rpc_samr);
+ torture_suite_add_simple_test(suite, "samr.users", torture_rpc_samr_users);
+ torture_suite_add_simple_test(suite, "samr.passwords", torture_rpc_samr_passwords);
torture_suite_add_suite(suite, torture_rpc_netlogon(suite));
torture_suite_add_suite(suite, torture_rpc_netlogon_s3(suite));
torture_suite_add_suite(suite, torture_rpc_netlogon_admin(suite));
torture_suite_add_suite(suite, torture_rpc_remote_pac(suite));
- torture_suite_add_simple_test(suite, "SAMLOGON", torture_rpc_samlogon);
- torture_suite_add_simple_test(suite, "SAMSYNC", torture_rpc_samsync);
- torture_suite_add_simple_test(suite, "SCHANNEL", torture_rpc_schannel);
- torture_suite_add_simple_test(suite, "SCHANNEL2", torture_rpc_schannel2);
- torture_suite_add_simple_test(suite, "BENCH-SCHANNEL1", torture_rpc_schannel_bench1);
+ torture_suite_add_simple_test(suite, "samlogon", torture_rpc_samlogon);
+ torture_suite_add_simple_test(suite, "samsync", torture_rpc_samsync);
+ torture_suite_add_simple_test(suite, "schannel", torture_rpc_schannel);
+ torture_suite_add_simple_test(suite, "schannel2", torture_rpc_schannel2);
+ torture_suite_add_simple_test(suite, "bench-schannel1", torture_rpc_schannel_bench1);
torture_suite_add_suite(suite, torture_rpc_srvsvc(suite));
torture_suite_add_suite(suite, torture_rpc_svcctl(suite));
torture_suite_add_suite(suite, torture_rpc_samr_accessmask(suite));
@@ -507,22 +507,22 @@ NTSTATUS torture_rpc_init(void)
torture_suite_add_suite(suite, torture_rpc_initshutdown(suite));
torture_suite_add_suite(suite, torture_rpc_oxidresolve(suite));
torture_suite_add_suite(suite, torture_rpc_remact(suite));
- torture_suite_add_simple_test(suite, "MGMT", torture_rpc_mgmt);
- torture_suite_add_simple_test(suite, "SCANNER", torture_rpc_scanner);
- torture_suite_add_simple_test(suite, "AUTOIDL", torture_rpc_autoidl);
- torture_suite_add_simple_test(suite, "COUNTCALLS", torture_rpc_countcalls);
- torture_suite_add_simple_test(suite, "MULTIBIND", torture_multi_bind);
- torture_suite_add_simple_test(suite, "AUTHCONTEXT", torture_bind_authcontext);
+ torture_suite_add_simple_test(suite, "mgmt", torture_rpc_mgmt);
+ torture_suite_add_simple_test(suite, "scanner", torture_rpc_scanner);
+ torture_suite_add_simple_test(suite, "autoidl", torture_rpc_autoidl);
+ torture_suite_add_simple_test(suite, "countcalls", torture_rpc_countcalls);
+ torture_suite_add_simple_test(suite, "multibind", torture_multi_bind);
+ torture_suite_add_simple_test(suite, "authcontext", torture_bind_authcontext);
torture_suite_add_suite(suite, torture_rpc_samba3(suite));
torture_rpc_drsuapi_tcase(suite);
torture_rpc_drsuapi_cracknames_tcase(suite);
torture_suite_add_suite(suite, torture_rpc_dssetup(suite));
torture_suite_add_suite(suite, torture_rpc_browser(suite));
- torture_suite_add_simple_test(suite, "ALTERCONTEXT", torture_rpc_alter_context);
- torture_suite_add_simple_test(suite, "JOIN", torture_rpc_join);
+ torture_suite_add_simple_test(suite, "altercontext", torture_rpc_alter_context);
+ torture_suite_add_simple_test(suite, "join", torture_rpc_join);
torture_drs_rpc_dsgetinfo_tcase(suite);
- torture_suite_add_simple_test(suite, "BENCH-RPC", torture_bench_rpc);
- torture_suite_add_simple_test(suite, "ASYNCBIND", torture_async_bind);
+ torture_suite_add_simple_test(suite, "bench-rpc", torture_bench_rpc);
+ torture_suite_add_simple_test(suite, "asyncbind", torture_async_bind);
torture_suite_add_suite(suite, torture_rpc_ntsvcs(suite));
torture_suite_add_suite(suite, torture_rpc_bind(suite));
diff --git a/source4/torture/rpc/samba3rpc.c b/source4/torture/rpc/samba3rpc.c
index 06b5c8c0ef..745d4305ab 100644
--- a/source4/torture/rpc/samba3rpc.c
+++ b/source4/torture/rpc/samba3rpc.c
@@ -3346,21 +3346,21 @@ bool torture_samba3_getaliasmembership_0(struct torture_context *torture)
struct torture_suite *torture_rpc_samba3(TALLOC_CTX *mem_ctx)
{
- struct torture_suite *suite = torture_suite_create(mem_ctx, "SAMBA3");
-
- torture_suite_add_simple_test(suite, "BIND", torture_bind_samba3);
- torture_suite_add_simple_test(suite, "NETLOGON", torture_netlogon_samba3);
- torture_suite_add_simple_test(suite, "SESSIONKEY", torture_samba3_sessionkey);
- torture_suite_add_simple_test(suite, "SRVSVC", torture_samba3_rpc_srvsvc);
- torture_suite_add_simple_test(suite, "SHARESEC", torture_samba3_rpc_sharesec);
- torture_suite_add_simple_test(suite, "GETUSERNAME", torture_samba3_rpc_getusername);
- torture_suite_add_simple_test(suite, "RANDOMAUTH2", torture_samba3_rpc_randomauth2);
- torture_suite_add_simple_test(suite, "LSA", torture_samba3_rpc_lsa);
- torture_suite_add_simple_test(suite, "SPOOLSS", torture_samba3_rpc_spoolss);
- torture_suite_add_simple_test(suite, "WKSSVC", torture_samba3_rpc_wkssvc);
- torture_suite_add_simple_test(suite, "WINREG", torture_samba3_rpc_winreg);
- torture_suite_add_simple_test(suite, "GETALIASMEMBERSHIP-0", torture_samba3_getaliasmembership_0);
- torture_suite_add_simple_test(suite, "REGCONFIG", torture_samba3_regconfig);
+ struct torture_suite *suite = torture_suite_create(mem_ctx, "samba3");
+
+ torture_suite_add_simple_test(suite, "bind", torture_bind_samba3);
+ torture_suite_add_simple_test(suite, "netlogon", torture_netlogon_samba3);
+ torture_suite_add_simple_test(suite, "sessionkey", torture_samba3_sessionkey);
+ torture_suite_add_simple_test(suite, "srvsvc", torture_samba3_rpc_srvsvc);
+ torture_suite_add_simple_test(suite, "sharesec", torture_samba3_rpc_sharesec);
+ torture_suite_add_simple_test(suite, "getusername", torture_samba3_rpc_getusername);
+ torture_suite_add_simple_test(suite, "randomauth2", torture_samba3_rpc_randomauth2);
+ torture_suite_add_simple_test(suite, "lsa", torture_samba3_rpc_lsa);
+ torture_suite_add_simple_test(suite, "spoolss", torture_samba3_rpc_spoolss);
+ torture_suite_add_simple_test(suite, "wkssvc", torture_samba3_rpc_wkssvc);
+ torture_suite_add_simple_test(suite, "winreg", torture_samba3_rpc_winreg);
+ torture_suite_add_simple_test(suite, "getaliasmembership-0", torture_samba3_getaliasmembership_0);
+ torture_suite_add_simple_test(suite, "regconfig", torture_samba3_regconfig);
suite->description = talloc_strdup(suite, "samba3 DCERPC interface tests");
diff --git a/source4/torture/rpc/samr.c b/source4/torture/rpc/samr.c
index 8d10671b40..c3e3905f94 100644
--- a/source4/torture/rpc/samr.c
+++ b/source4/torture/rpc/samr.c
@@ -8065,7 +8065,7 @@ static bool torture_rpc_samr_pwdlastset(struct torture_context *torture,
struct torture_suite *torture_rpc_samr_passwords_pwdlastset(TALLOC_CTX *mem_ctx)
{
- struct torture_suite *suite = torture_suite_create(mem_ctx, "SAMR-PASSWORDS-PWDLASTSET");
+ struct torture_suite *suite = torture_suite_create(mem_ctx, "samr.passwords.pwdlastset");
struct torture_rpc_tcase *tcase;
tcase = torture_suite_add_machine_bdc_rpc_iface_tcase(suite, "samr",
@@ -8110,7 +8110,7 @@ static bool torture_rpc_samr_users_privileges_delete_user(struct torture_context
struct torture_suite *torture_rpc_samr_user_privileges(TALLOC_CTX *mem_ctx)
{
- struct torture_suite *suite = torture_suite_create(mem_ctx, "SAMR-USERS-PRIVILEGES");
+ struct torture_suite *suite = torture_suite_create(mem_ctx, "samr.users.privileges");
struct torture_rpc_tcase *tcase;
tcase = torture_suite_add_machine_bdc_rpc_iface_tcase(suite, "samr",
@@ -8215,7 +8215,7 @@ static bool torture_rpc_samr_many_aliases(struct torture_context *torture,
struct torture_suite *torture_rpc_samr_large_dc(TALLOC_CTX *mem_ctx)
{
- struct torture_suite *suite = torture_suite_create(mem_ctx, "SAMR-LARGE-DC");
+ struct torture_suite *suite = torture_suite_create(mem_ctx, "samr.large-dc");
struct torture_rpc_tcase *tcase;
struct torture_samr_context *ctx;
@@ -8266,7 +8266,7 @@ static bool torture_rpc_samr_badpwdcount(struct torture_context *torture,
struct torture_suite *torture_rpc_samr_passwords_badpwdcount(TALLOC_CTX *mem_ctx)
{
- struct torture_suite *suite = torture_suite_create(mem_ctx, "SAMR-PASSWORDS-BADPWDCOUNT");
+ struct torture_suite *suite = torture_suite_create(mem_ctx, "samr.passwords.badpwdcount");
struct torture_rpc_tcase *tcase;
tcase = torture_suite_add_machine_bdc_rpc_iface_tcase(suite, "samr",
@@ -8311,7 +8311,7 @@ static bool torture_rpc_samr_lockout(struct torture_context *torture,
struct torture_suite *torture_rpc_samr_passwords_lockout(TALLOC_CTX *mem_ctx)
{
- struct torture_suite *suite = torture_suite_create(mem_ctx, "SAMR-PASSWORDS-LOCKOUT");
+ struct torture_suite *suite = torture_suite_create(mem_ctx, "samr.passwords.lockout");
struct torture_rpc_tcase *tcase;
tcase = torture_suite_add_machine_bdc_rpc_iface_tcase(suite, "samr",
diff --git a/source4/torture/rpc/samr_accessmask.c b/source4/torture/rpc/samr_accessmask.c
index e6f7b05a96..118026f80f 100644
--- a/source4/torture/rpc/samr_accessmask.c
+++ b/source4/torture/rpc/samr_accessmask.c
@@ -660,13 +660,13 @@ static bool test_samr_connect(struct torture_context *tctx,
struct torture_suite *torture_rpc_samr_accessmask(TALLOC_CTX *mem_ctx)
{
- struct torture_suite *suite = torture_suite_create(mem_ctx, "SAMR-ACCESSMASK");
+ struct torture_suite *suite = torture_suite_create(mem_ctx, "samr.accessmask");
struct torture_rpc_tcase *tcase;
tcase = torture_suite_add_rpc_iface_tcase(suite, "samr",
&ndr_table_samr);
- torture_rpc_tcase_add_test(tcase, "CONNECT", test_samr_connect);
+ torture_rpc_tcase_add_test(tcase, "connect", test_samr_connect);
/* test which bits in the accessmask to Connect5 will allow
* us to call OpenDomain() */
@@ -1183,7 +1183,7 @@ static bool torture_rpc_samr_workstation_query(struct torture_context *tctx,
struct torture_suite *torture_rpc_samr_workstation_auth(TALLOC_CTX *mem_ctx)
{
- struct torture_suite *suite = torture_suite_create(mem_ctx, "SAMR-MACHINE-AUTH");
+ struct torture_suite *suite = torture_suite_create(mem_ctx, "samr.machine.auth");
struct torture_rpc_tcase *tcase;
tcase = torture_suite_add_machine_workstation_rpc_iface_tcase(suite, "samr",
diff --git a/source4/torture/rpc/session_key.c b/source4/torture/rpc/session_key.c
index b7c90e4b4e..a1f863d7be 100644
--- a/source4/torture/rpc/session_key.c
+++ b/source4/torture/rpc/session_key.c
@@ -227,7 +227,7 @@ static const bool bool_vals[] = { true, false };
/* TEST session key correctness by pushing and pulling secrets */
struct torture_suite *torture_rpc_lsa_secrets(TALLOC_CTX *mem_ctx)
{
- struct torture_suite *suite = torture_suite_create(mem_ctx, "LSA-SECRETS");
+ struct torture_suite *suite = torture_suite_create(mem_ctx, "lsa.secrets");
int keyexchange, ntlm2, lm_key;
for (keyexchange = 0; keyexchange < ARRAY_SIZE(bool_vals); keyexchange++) {
diff --git a/source4/torture/rpc/spoolss.c b/source4/torture/rpc/spoolss.c
index dfd1c7ee33..26e53eb252 100644
--- a/source4/torture/rpc/spoolss.c
+++ b/source4/torture/rpc/spoolss.c
@@ -7820,7 +7820,7 @@ void torture_tcase_printer(struct torture_tcase *tcase)
struct torture_suite *torture_rpc_spoolss_printer(TALLOC_CTX *mem_ctx)
{
- struct torture_suite *suite = torture_suite_create(mem_ctx, "PRINTER");
+ struct torture_suite *suite = torture_suite_create(mem_ctx, "printer");
struct torture_tcase *tcase;
tcase = torture_suite_add_tcase(suite, "addprinter");
@@ -7866,8 +7866,8 @@ struct torture_suite *torture_rpc_spoolss_printer(TALLOC_CTX *mem_ctx)
struct torture_suite *torture_rpc_spoolss(TALLOC_CTX *mem_ctx)
{
- struct torture_suite *suite = torture_suite_create(mem_ctx, "SPOOLSS");
- struct torture_tcase *tcase = torture_suite_add_tcase(suite, "PRINTSERVER");
+ struct torture_suite *suite = torture_suite_create(mem_ctx, "spoolss");
+ struct torture_tcase *tcase = torture_suite_add_tcase(suite, "printserver");
torture_tcase_set_fixture(tcase,
torture_rpc_spoolss_setup,
@@ -9038,7 +9038,7 @@ static bool test_add_driver_adobe_cupsaddsmb(struct torture_context *tctx,
struct torture_suite *torture_rpc_spoolss_driver(TALLOC_CTX *mem_ctx)
{
- struct torture_suite *suite = torture_suite_create(mem_ctx, "SPOOLSS-DRIVER");
+ struct torture_suite *suite = torture_suite_create(mem_ctx, "spoolss.driver");
struct torture_rpc_tcase *tcase = torture_suite_add_rpc_iface_tcase(suite,
"driver", &ndr_table_spoolss);
diff --git a/source4/torture/rpc/spoolss_access.c b/source4/torture/rpc/spoolss_access.c
index 1dcc44dd0f..c32c5c108e 100644
--- a/source4/torture/rpc/spoolss_access.c
+++ b/source4/torture/rpc/spoolss_access.c
@@ -857,7 +857,7 @@ static bool test_openprinter_wrap(struct torture_context *tctx,
struct torture_suite *torture_rpc_spoolss_access(TALLOC_CTX *mem_ctx)
{
- struct torture_suite *suite = torture_suite_create(mem_ctx, "SPOOLSS-ACCESS");
+ struct torture_suite *suite = torture_suite_create(mem_ctx, "spoolss.access");
struct torture_tcase *tcase;
struct torture_rpc_tcase *rpc_tcase;
diff --git a/source4/torture/rpc/spoolss_notify.c b/source4/torture/rpc/spoolss_notify.c
index a613e31a9e..ec29c3944f 100644
--- a/source4/torture/rpc/spoolss_notify.c
+++ b/source4/torture/rpc/spoolss_notify.c
@@ -585,7 +585,7 @@ static bool test_ReplyOpenPrinter(struct torture_context *tctx,
struct torture_suite *torture_rpc_spoolss_notify(TALLOC_CTX *mem_ctx)
{
- struct torture_suite *suite = torture_suite_create(mem_ctx, "SPOOLSS-NOTIFY");
+ struct torture_suite *suite = torture_suite_create(mem_ctx, "spoolss.notify");
struct torture_rpc_tcase *tcase = torture_suite_add_rpc_iface_tcase(suite,
"notify", &ndr_table_spoolss);
diff --git a/source4/torture/rpc/spoolss_win.c b/source4/torture/rpc/spoolss_win.c
index b0586e1586..96c3a2455d 100644
--- a/source4/torture/rpc/spoolss_win.c
+++ b/source4/torture/rpc/spoolss_win.c
@@ -600,7 +600,7 @@ end_testWinXP:
struct torture_suite *torture_rpc_spoolss_win(TALLOC_CTX *mem_ctx)
{
- struct torture_suite *suite = torture_suite_create(mem_ctx, "SPOOLSS-WIN");
+ struct torture_suite *suite = torture_suite_create(mem_ctx, "spoolss.win");
struct torture_rpc_tcase *tcase = torture_suite_add_rpc_iface_tcase(suite,
"win", &ndr_table_spoolss);
diff --git a/source4/torture/rpc/srvsvc.c b/source4/torture/rpc/srvsvc.c
index 16f267326c..21b67fda3b 100644
--- a/source4/torture/rpc/srvsvc.c
+++ b/source4/torture/rpc/srvsvc.c
@@ -1160,7 +1160,7 @@ again:
struct torture_suite *torture_rpc_srvsvc(TALLOC_CTX *mem_ctx)
{
- struct torture_suite *suite = torture_suite_create(mem_ctx, "SRVSVC");
+ struct torture_suite *suite = torture_suite_create(mem_ctx, "srvsvc");
struct torture_rpc_tcase *tcase;
struct torture_test *test;
diff --git a/source4/torture/rpc/svcctl.c b/source4/torture/rpc/svcctl.c
index 5c4f803e05..a20cf98aa0 100644
--- a/source4/torture/rpc/svcctl.c
+++ b/source4/torture/rpc/svcctl.c
@@ -625,7 +625,7 @@ static bool test_SCManager(struct torture_context *tctx,
struct torture_suite *torture_rpc_svcctl(TALLOC_CTX *mem_ctx)
{
- struct torture_suite *suite = torture_suite_create(mem_ctx, "SVCCTL");
+ struct torture_suite *suite = torture_suite_create(mem_ctx, "svcctl");
struct torture_rpc_tcase *tcase;
tcase = torture_suite_add_rpc_iface_tcase(suite, "svcctl", &ndr_table_svcctl);
diff --git a/source4/torture/rpc/unixinfo.c b/source4/torture/rpc/unixinfo.c
index 58c9755e56..227b002deb 100644
--- a/source4/torture/rpc/unixinfo.c
+++ b/source4/torture/rpc/unixinfo.c
@@ -135,7 +135,7 @@ struct torture_suite *torture_rpc_unixinfo(TALLOC_CTX *mem_ctx)
struct torture_suite *suite;
struct torture_rpc_tcase *tcase;
- suite = torture_suite_create(mem_ctx, "UNIXINFO");
+ suite = torture_suite_create(mem_ctx, "unixinfo");
tcase = torture_suite_add_rpc_iface_tcase(suite, "unixinfo",
&ndr_table_unixinfo);
diff --git a/source4/torture/rpc/winreg.c b/source4/torture/rpc/winreg.c
index 9cca02def6..8a9a5e48bc 100644
--- a/source4/torture/rpc/winreg.c
+++ b/source4/torture/rpc/winreg.c
@@ -3112,7 +3112,7 @@ static bool test_Open(struct torture_context *tctx, struct dcerpc_pipe *p,
struct torture_suite *torture_rpc_winreg(TALLOC_CTX *mem_ctx)
{
struct torture_rpc_tcase *tcase;
- struct torture_suite *suite = torture_suite_create(mem_ctx, "WINREG");
+ struct torture_suite *suite = torture_suite_create(mem_ctx, "winreg");
struct torture_test *test;
tcase = torture_suite_add_rpc_iface_tcase(suite, "winreg",
diff --git a/source4/torture/rpc/wkssvc.c b/source4/torture/rpc/wkssvc.c
index 3121213fca..5bf64afa26 100644
--- a/source4/torture/rpc/wkssvc.c
+++ b/source4/torture/rpc/wkssvc.c
@@ -1366,7 +1366,7 @@ struct torture_suite *torture_rpc_wkssvc(TALLOC_CTX *mem_ctx)
struct torture_rpc_tcase *tcase;
struct torture_test *test;
- suite = torture_suite_create(mem_ctx, "WKSSVC");
+ suite = torture_suite_create(mem_ctx, "wkssvc");
tcase = torture_suite_add_rpc_iface_tcase(suite, "wkssvc",
&ndr_table_wkssvc);