summaryrefslogtreecommitdiff
path: root/source4/torture/local
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/local
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/local')
-rw-r--r--source4/torture/local/dbspeed.c2
-rw-r--r--source4/torture/local/local.c13
-rw-r--r--source4/torture/local/torture.c3
3 files changed, 8 insertions, 10 deletions
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);