diff options
Diffstat (limited to 'source4')
-rw-r--r-- | source4/torture/rpc/winreg.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source4/torture/rpc/winreg.c b/source4/torture/rpc/winreg.c index 7368b2d12b..8fb1b1654f 100644 --- a/source4/torture/rpc/winreg.c +++ b/source4/torture/rpc/winreg.c @@ -1960,6 +1960,8 @@ static bool test_Open(struct torture_context *tctx, struct dcerpc_pipe *p, #endif torture_assert(tctx, test_QueryValue_full(p, tctx, &newhandle, VALUE_CURRENT_VERSION, true), "failed to query current version"); + torture_assert(tctx, test_QueryValue_full(p, tctx, &newhandle, "IDoNotExist", false), + "failed to query current version"); torture_assert(tctx, test_CloseKey(p, tctx, &newhandle), "failed to close current version key"); } |