Rob Shearman : rpcrt4: Test that the string retrieved from get_name was actually unmarshalled correctly .
Alexandre Julliard
julliard at winehq.org
Mon Dec 3 09:17:42 CST 2007
Module: wine
Branch: master
Commit: 620fca405d0cb7c21cfee6d2b1871b1915fd590e
URL: http://source.winehq.org/git/wine.git/?a=commit;h=620fca405d0cb7c21cfee6d2b1871b1915fd590e
Author: Rob Shearman <rob at codeweavers.com>
Date: Fri Nov 30 22:02:38 2007 +0000
rpcrt4: Test that the string retrieved from get_name was actually unmarshalled correctly.
---
dlls/rpcrt4/tests/server.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/dlls/rpcrt4/tests/server.c b/dlls/rpcrt4/tests/server.c
index 20e6033..538f5a4 100644
--- a/dlls/rpcrt4/tests/server.c
+++ b/dlls/rpcrt4/tests/server.c
@@ -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;
More information about the wine-cvs
mailing list