Revert "s4-smbtorture: disable winreg QueryValue test for today."
authorGünther Deschner <gd@samba.org>
Wed, 10 Mar 2010 21:04:02 +0000 (22:04 +0100)
committerGünther Deschner <gd@samba.org>
Wed, 10 Mar 2010 21:04:02 +0000 (22:04 +0100)
This reverts commit 420e3b8553c9e721fba27dd64eb78b2c7105ce64.

source4/torture/rpc/winreg.c

index c43c363270fc77f6d01b6eaf01dac4d5864bb9c1..9ed0c7b67270b43644434558c5eabcd0db069cb6 100644 (file)
@@ -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)) {