mirror of
https://github.com/samba-team/samba.git
synced 2024-12-25 23:21:54 +03:00
s4-smbtorture: test NULL and "" valuenames as well in query for wellknown winreg key.
Guenther
This commit is contained in:
parent
e0d85f87b7
commit
2324b07726
@ -2112,6 +2112,11 @@ static bool test_Open(struct torture_context *tctx, struct dcerpc_pipe *p,
|
||||
"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_QueryValue_full(p, tctx, &newhandle, NULL, false),
|
||||
"test_QueryValue_full for NULL value failed");
|
||||
torture_assert(tctx, test_QueryValue_full(p, tctx, &newhandle, "", false),
|
||||
"test_QueryValue_full for \"\" value failed");
|
||||
|
||||
torture_assert(tctx, test_CloseKey(p, tctx, &newhandle),
|
||||
"failed to close current version key");
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user