rpcrt4: Test that the string retrieved from get_name was actually unmarshalled correctly.

This commit is contained in:
Rob Shearman 2007-11-30 22:02:38 +00:00 committed by Alexandre Julliard
parent d8e467b0fd
commit 620fca405d
1 changed files with 2 additions and 0 deletions

View File

@ -877,6 +877,8 @@ pointer_tests(void)
name.name = buffer = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, name.size);
get_name(&name);
ok(name.name == buffer, "[in,out] pointer should have stayed as %p but instead changed to %p\n", name.name, buffer);
todo_wine
ok(!strcmp(name.name, "Jeremy Wh"), "name didn't unmarshall properly, expected \"Jeremy Wh\", but got \"%s\"\n", name.name);
HeapFree(GetProcessHeap(), 0, name.name);
pa2 = a;