From 25d27ff57687337b8a2df231e9f8f6b01538cf73 Mon Sep 17 00:00:00 2001 From: Günther Deschner Date: Wed, 10 Mar 2010 22:04:02 +0100 Subject: Revert "s4-smbtorture: disable winreg QueryValue test for today." This reverts commit 420e3b8553c9e721fba27dd64eb78b2c7105ce64. --- source4/torture/rpc/winreg.c | 4 ++-- 1 file 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)) { -- cgit