From 74d0fc10fd646e493a98a00e524f17e9c4f3df3f Mon Sep 17 00:00:00 2001 From: Andreas Schneider Date: Fri, 21 May 2010 12:49:23 +0200 Subject: s4-torture: Disable the security descriptor tests. --- source4/torture/rpc/winreg.c | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'source4/torture') diff --git a/source4/torture/rpc/winreg.c b/source4/torture/rpc/winreg.c index 89d003df4a..bbe72be7ca 100644 --- a/source4/torture/rpc/winreg.c +++ b/source4/torture/rpc/winreg.c @@ -2386,6 +2386,7 @@ static bool test_key_base(struct torture_context *tctx, bool created3 = false; const char *test_key1; const char *test_key3; + const char *test_subkey; test_Cleanup(b, tctx, handle, base_key); @@ -2459,9 +2460,11 @@ static bool test_key_base(struct torture_context *tctx, created3 = true; } + test_subkey = talloc_asprintf(tctx, "%s\\%s", test_key3, TEST_SUBKEY); + if (created3) { - if (test_CreateKey(b, tctx, handle, TEST_SUBKEY, NULL)) { - if (!test_DeleteKey(b, tctx, handle, TEST_SUBKEY)) { + if (test_CreateKey(b, tctx, handle, test_subkey, NULL)) { + if (!test_DeleteKey(b, tctx, handle, test_subkey)) { torture_comment(tctx, "DeleteKey failed\n"); ret = false; } @@ -2490,6 +2493,8 @@ static bool test_key_base_sd(struct torture_context *tctx, const char *test_key2; const char *test_key4; + torture_skip(tctx, "security descriptor test disabled\n"); + if (torture_setting_bool(tctx, "samba3", false) || torture_setting_bool(tctx, "samba4", false)) { torture_skip(tctx, "skipping security descriptor tests against Samba"); -- cgit