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/torture/local/dbspeed.c | 2 +- source4/torture/local/local.c | 13 ++++++------- source4/torture/local/torture.c | 3 +-- 3 files changed, 8 insertions(+), 10 deletions(-) (limited to 'source4/torture/local') diff --git a/source4/torture/local/dbspeed.c b/source4/torture/local/dbspeed.c index 62c1384d77..45c4341bc6 100644 --- a/source4/torture/local/dbspeed.c +++ b/source4/torture/local/dbspeed.c @@ -257,7 +257,7 @@ failed: struct torture_suite *torture_local_dbspeed(TALLOC_CTX *mem_ctx) { - struct torture_suite *s = torture_suite_create(mem_ctx, "DBSPEED"); + struct torture_suite *s = torture_suite_create(mem_ctx, "dbspeed"); torture_suite_add_simple_tcase_const(s, "tdb_speed", test_tdb_speed, NULL); torture_suite_add_simple_tcase_const(s, "ldb_speed", test_ldb_speed, diff --git a/source4/torture/local/local.c b/source4/torture/local/local.c index 2f29c35fb2..d044c8f877 100644 --- a/source4/torture/local/local.c +++ b/source4/torture/local/local.c @@ -75,17 +75,16 @@ NTSTATUS torture_local_init(void) { int i; struct torture_suite *suite = torture_suite_create( - talloc_autofree_context(), - "LOCAL"); + talloc_autofree_context(), "local"); - torture_suite_add_simple_test(suite, "TALLOC", torture_local_talloc); - torture_suite_add_simple_test(suite, "REPLACE", torture_local_replace); + torture_suite_add_simple_test(suite, "talloc", torture_local_talloc); + torture_suite_add_simple_test(suite, "replace", torture_local_replace); torture_suite_add_simple_test(suite, - "CRYPTO-MD4", torture_local_crypto_md4); - torture_suite_add_simple_test(suite, "CRYPTO-MD5", + "crypto.md4", torture_local_crypto_md4); + torture_suite_add_simple_test(suite, "crypto.md5", torture_local_crypto_md5); - torture_suite_add_simple_test(suite, "CRYPTO-HMACMD5", + torture_suite_add_simple_test(suite, "crypto.hmacmd5", torture_local_crypto_hmacmd5); for (i = 0; suite_generators[i]; i++) diff --git a/source4/torture/local/torture.c b/source4/torture/local/torture.c index 5a8700d34d..0eb69a5db8 100644 --- a/source4/torture/local/torture.c +++ b/source4/torture/local/torture.c @@ -74,8 +74,7 @@ static bool test_provision(struct torture_context *tctx) struct torture_suite *torture_local_torture(TALLOC_CTX *mem_ctx) { - struct torture_suite *suite = torture_suite_create(mem_ctx, - "TORTURE"); + struct torture_suite *suite = torture_suite_create(mem_ctx, "torture"); torture_suite_add_simple_test(suite, "tempdir", test_tempdir); torture_suite_add_simple_test(suite, "provision", test_provision); -- cgit