Commit a0dd646e authored by Alexandre Julliard's avatar Alexandre Julliard

advapi32/tests: Don't test the contents of an uninitialized buffer.

parent 4ed64d38
......@@ -685,7 +685,7 @@ static void test_get_servicekeyname(void)
GetLastError() == ERROR_IO_PENDING /* W2K */ ||
GetLastError() == 0xdeadbeef /* NT4, XP, Vista */,
"Expected ERROR_SUCCESS, ERROR_IO_PENDING or 0xdeadbeef, got %d\n", GetLastError());
todo_wine
if (ret)
{
ok(lstrlen(servicename) == tempsize/2,
"Expected the buffer to be twice the length of the string\n") ;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment