summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2010-03-10 22:04:02 +0100
committerGünther Deschner <gd@samba.org>2010-03-10 22:04:02 +0100
commit25d27ff57687337b8a2df231e9f8f6b01538cf73 (patch)
treef6cf8f5e946600d7bfffdea0f34f8cfda0ed8baf
parent61bf804e8f8d7b43ff7b31b119fb988b30a7e54a (diff)
downloadsamba-25d27ff57687337b8a2df231e9f8f6b01538cf73.tar.gz
samba-25d27ff57687337b8a2df231e9f8f6b01538cf73.tar.bz2
samba-25d27ff57687337b8a2df231e9f8f6b01538cf73.zip
Revert "s4-smbtorture: disable winreg QueryValue test for today."
This reverts commit 420e3b8553c9e721fba27dd64eb78b2c7105ce64.
-rw-r--r--source4/torture/rpc/winreg.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/torture/rpc/winreg.c b/source4/torture/rpc/winreg.c
index c43c363270..9ed0c7b672 100644
--- a/source4/torture/rpc/winreg.c
+++ b/source4/torture/rpc/winreg.c
@@ -1971,7 +1971,7 @@ static bool test_Open(struct torture_context *tctx, struct dcerpc_pipe *p,
torture_assert_ntstatus_ok(tctx, open_fn(p, tctx, &r),
"open");
-#if 0 /* FIXME: s3 and s4 crash on QueryValue */
+
if (open_fn == (void *)dcerpc_winreg_OpenHKLM) {
#if 0
torture_assert(tctx, test_OpenKey(p, tctx, &handle, KEY_CURRENT_VERSION, &newhandle),
@@ -1987,7 +1987,7 @@ static bool test_Open(struct torture_context *tctx, struct dcerpc_pipe *p,
torture_assert(tctx, test_CloseKey(p, tctx, &newhandle),
"failed to close current version key");
}
-#endif /* FIXME */
+
test_Cleanup(p, tctx, &handle, TEST_KEY_BASE);
if (!test_CreateKey(p, tctx, &handle, TEST_KEY_BASE, NULL)) {