From 35fbc7bbda5851f7172538f79fc79be201f1d521 Mon Sep 17 00:00:00 2001 From: Jelmer Vernooij Date: Sat, 11 Dec 2010 03:26:31 +0100 Subject: 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 Autobuild-Date: Sat Dec 11 04:16:13 CET 2010 on sn-devel-104 --- source4/lib/registry/tests/diff.c | 2 +- source4/lib/registry/tests/generic.c | 2 +- source4/lib/registry/tests/hive.c | 2 +- source4/lib/registry/tests/registry.c | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) (limited to 'source4/lib/registry') diff --git a/source4/lib/registry/tests/diff.c b/source4/lib/registry/tests/diff.c index d6a5bd53f2..5568171f75 100644 --- a/source4/lib/registry/tests/diff.c +++ b/source4/lib/registry/tests/diff.c @@ -276,7 +276,7 @@ static bool diff_setup_dotreg_tcase (struct torture_context *tctx, void **data) struct torture_suite *torture_registry_diff(TALLOC_CTX *mem_ctx) { struct torture_tcase *tcase; - struct torture_suite *suite = torture_suite_create(mem_ctx, "DIFF"); + struct torture_suite *suite = torture_suite_create(mem_ctx, "diff"); tcase = torture_suite_add_tcase(suite, "PReg"); torture_tcase_set_fixture(tcase, diff_setup_preg_tcase, NULL); diff --git a/source4/lib/registry/tests/generic.c b/source4/lib/registry/tests/generic.c index a69a6148d5..2e0863c17a 100644 --- a/source4/lib/registry/tests/generic.c +++ b/source4/lib/registry/tests/generic.c @@ -154,7 +154,7 @@ static bool test_reg_val_description_nullname(struct torture_context *ctx) struct torture_suite *torture_registry(TALLOC_CTX *mem_ctx) { - struct torture_suite *suite = torture_suite_create(mem_ctx, "REGISTRY"); + struct torture_suite *suite = torture_suite_create(mem_ctx, "registry"); torture_suite_add_simple_test(suite, "str_regtype", test_str_regtype); torture_suite_add_simple_test(suite, "reg_val_data_string dword", diff --git a/source4/lib/registry/tests/hive.c b/source4/lib/registry/tests/hive.c index 4ae9a5bcbf..71d3f0a3f8 100644 --- a/source4/lib/registry/tests/hive.c +++ b/source4/lib/registry/tests/hive.c @@ -457,7 +457,7 @@ static bool test_dir_refuses_null_location(struct torture_context *tctx) struct torture_suite *torture_registry_hive(TALLOC_CTX *mem_ctx) { struct torture_tcase *tcase; - struct torture_suite *suite = torture_suite_create(mem_ctx, "HIVE"); + struct torture_suite *suite = torture_suite_create(mem_ctx, "hive"); torture_suite_add_simple_test(suite, "dir-refuses-null-location", test_dir_refuses_null_location); diff --git a/source4/lib/registry/tests/registry.c b/source4/lib/registry/tests/registry.c index 3003468b15..50aefc8786 100644 --- a/source4/lib/registry/tests/registry.c +++ b/source4/lib/registry/tests/registry.c @@ -579,7 +579,7 @@ static void tcase_add_tests(struct torture_tcase *tcase) struct torture_suite *torture_registry_registry(TALLOC_CTX *mem_ctx) { struct torture_tcase *tcase; - struct torture_suite *suite = torture_suite_create(mem_ctx, "REGISTRY"); + struct torture_suite *suite = torture_suite_create(mem_ctx, "registry"); tcase = torture_suite_add_tcase(suite, "local"); torture_tcase_set_fixture(tcase, setup_local_registry, NULL); -- cgit