diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2010-12-11 03:26:31 +0100 |
---|---|---|
committer | Jelmer Vernooij <jelmer@samba.org> | 2010-12-11 04:16:13 +0100 |
commit | 35fbc7bbda5851f7172538f79fc79be201f1d521 (patch) | |
tree | 30449903f8f3288618986e3dadddd7a29f0ffe5f /source4/torture/nbt | |
parent | 68d97f8b492d1d075ed77a4bab7f178d10570106 (diff) | |
download | samba-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/nbt')
-rw-r--r-- | source4/torture/nbt/dgram.c | 2 | ||||
-rw-r--r-- | source4/torture/nbt/nbt.c | 2 | ||||
-rw-r--r-- | source4/torture/nbt/query.c | 2 | ||||
-rw-r--r-- | source4/torture/nbt/register.c | 2 | ||||
-rw-r--r-- | source4/torture/nbt/wins.c | 2 | ||||
-rw-r--r-- | source4/torture/nbt/winsbench.c | 3 | ||||
-rw-r--r-- | source4/torture/nbt/winsreplication.c | 5 |
7 files changed, 8 insertions, 10 deletions
diff --git a/source4/torture/nbt/dgram.c b/source4/torture/nbt/dgram.c index 8a701ac499..36914bdcc3 100644 --- a/source4/torture/nbt/dgram.c +++ b/source4/torture/nbt/dgram.c @@ -655,7 +655,7 @@ static bool nbt_test_ntlogon(struct torture_context *tctx) */ struct torture_suite *torture_nbt_dgram(TALLOC_CTX *mem_ctx) { - struct torture_suite *suite = torture_suite_create(mem_ctx, "DGRAM"); + struct torture_suite *suite = torture_suite_create(mem_ctx, "dgram"); torture_suite_add_simple_test(suite, "netlogon", nbt_test_netlogon); torture_suite_add_simple_test(suite, "netlogon2", nbt_test_netlogon2); diff --git a/source4/torture/nbt/nbt.c b/source4/torture/nbt/nbt.c index 6ea31dae86..7c45f867e7 100644 --- a/source4/torture/nbt/nbt.c +++ b/source4/torture/nbt/nbt.c @@ -49,7 +49,7 @@ bool torture_nbt_get_name(struct torture_context *tctx, NTSTATUS torture_nbt_init(void) { struct torture_suite *suite = torture_suite_create( - talloc_autofree_context(), "NBT"); + talloc_autofree_context(), "nbt"); /* nbt tests */ torture_suite_add_suite(suite, torture_nbt_register(suite)); torture_suite_add_suite(suite, torture_nbt_wins(suite)); diff --git a/source4/torture/nbt/query.c b/source4/torture/nbt/query.c index a05e34c0e6..d64683aa57 100644 --- a/source4/torture/nbt/query.c +++ b/source4/torture/nbt/query.c @@ -108,7 +108,7 @@ static bool bench_namequery(struct torture_context *tctx) */ struct torture_suite *torture_bench_nbt(TALLOC_CTX *mem_ctx) { - struct torture_suite *suite = torture_suite_create(mem_ctx, "BENCH"); + struct torture_suite *suite = torture_suite_create(mem_ctx, "bench"); torture_suite_add_simple_test(suite, "namequery", bench_namequery); return suite; diff --git a/source4/torture/nbt/register.c b/source4/torture/nbt/register.c index eadee9b44d..d52ae4181e 100644 --- a/source4/torture/nbt/register.c +++ b/source4/torture/nbt/register.c @@ -168,7 +168,7 @@ struct torture_suite *torture_nbt_register(TALLOC_CTX *mem_ctx) { struct torture_suite *suite; - suite = torture_suite_create(mem_ctx, "REGISTER"); + suite = torture_suite_create(mem_ctx, "register"); torture_suite_add_simple_test(suite, "register_own", nbt_register_own); torture_suite_add_simple_test(suite, "refresh_own", nbt_refresh_own); diff --git a/source4/torture/nbt/wins.c b/source4/torture/nbt/wins.c index fd8463a936..0ddaa8a05a 100644 --- a/source4/torture/nbt/wins.c +++ b/source4/torture/nbt/wins.c @@ -533,7 +533,7 @@ static bool nbt_test_wins(struct torture_context *tctx) */ struct torture_suite *torture_nbt_wins(TALLOC_CTX *mem_ctx) { - struct torture_suite *suite = torture_suite_create(mem_ctx, "WINS"); + struct torture_suite *suite = torture_suite_create(mem_ctx, "wins"); torture_suite_add_simple_test(suite, "wins", nbt_test_wins); diff --git a/source4/torture/nbt/winsbench.c b/source4/torture/nbt/winsbench.c index c77c63544c..aff620878c 100644 --- a/source4/torture/nbt/winsbench.c +++ b/source4/torture/nbt/winsbench.c @@ -292,8 +292,7 @@ static bool bench_wins(struct torture_context *tctx) */ struct torture_suite *torture_bench_wins(TALLOC_CTX *mem_ctx) { - struct torture_suite *suite = torture_suite_create(mem_ctx, - "BENCH-WINS"); + struct torture_suite *suite = torture_suite_create(mem_ctx, "bench-wins"); torture_suite_add_simple_test(suite, "wins", bench_wins); diff --git a/source4/torture/nbt/winsreplication.c b/source4/torture/nbt/winsreplication.c index ee4b8744e4..cf8db494ca 100644 --- a/source4/torture/nbt/winsreplication.c +++ b/source4/torture/nbt/winsreplication.c @@ -9739,15 +9739,14 @@ static bool torture_nbt_winsreplication_owned(struct torture_context *tctx) struct torture_suite *torture_nbt_winsreplication(TALLOC_CTX *mem_ctx) { struct torture_suite *suite = torture_suite_create( - mem_ctx, "WINSREPLICATION"); + mem_ctx, "winsreplication"); struct torture_tcase *tcase; tcase = torture_suite_add_simple_test(suite, "assoc_ctx1", test_assoc_ctx1); tcase->tests->dangerous = true; - torture_suite_add_simple_test(suite, "assoc_ctx2", - test_assoc_ctx2); + torture_suite_add_simple_test(suite, "assoc_ctx2", test_assoc_ctx2); torture_suite_add_simple_test(suite, "wins_replication", test_wins_replication); |