bool created3 = false;
const char *test_key1;
const char *test_key3;
+ const char *test_subkey;
test_Cleanup(b, tctx, handle, base_key);
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;
}
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");