diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2007-08-31 15:43:03 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 15:03:18 -0500 |
commit | d05d5da1e8cfd64f2c5b1c0ee1b2c71bb65ae441 (patch) | |
tree | 8313a843e2cc80f1924a9c7377e55387303dfbab /source4/torture/nbt | |
parent | 9e35f00c63462c7e43ade2d3b770b6247b083a46 (diff) | |
download | samba-d05d5da1e8cfd64f2c5b1c0ee1b2c71bb65ae441.tar.gz samba-d05d5da1e8cfd64f2c5b1c0ee1b2c71bb65ae441.tar.bz2 samba-d05d5da1e8cfd64f2c5b1c0ee1b2c71bb65ae441.zip |
r24846: Use metadata about dangerous tests.
(This used to be commit f914b828ff486d41e123e6dafa1c8fd76b34b44b)
Diffstat (limited to 'source4/torture/nbt')
-rw-r--r-- | source4/torture/nbt/winsreplication.c | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/source4/torture/nbt/winsreplication.c b/source4/torture/nbt/winsreplication.c index bc370c8b4e..78f6352ed6 100644 --- a/source4/torture/nbt/winsreplication.c +++ b/source4/torture/nbt/winsreplication.c @@ -97,10 +97,6 @@ static bool test_assoc_ctx1(struct torture_context *tctx) struct nbt_name name; const char *address; - if (!torture_setting_bool(tctx, "dangerous", false)) { - torture_skip(tctx, "winsrepl: cross connection assoc_ctx usage disabled - enable dangerous tests to use"); - } - if (!torture_nbt_get_name(tctx, &name, &address)) return false; @@ -9675,8 +9671,11 @@ struct torture_suite *torture_nbt_winsreplication(void) struct torture_suite *suite = torture_suite_create( talloc_autofree_context(), "WINSREPLICATION"); - torture_suite_add_simple_test(suite, "assoc_ctx1", - test_assoc_ctx1); + 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); |