Austin English : rpcrt4/tests: Improve failure messages.

Alexandre Julliard julliard at winehq.org
Tue Jul 20 11:20:33 CDT 2010


Module: wine
Branch: master
Commit: eb7c2061143f675fbc26b39c0cec5cb5df33abf0
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=eb7c2061143f675fbc26b39c0cec5cb5df33abf0

Author: Austin English <austinenglish at gmail.com>
Date:   Mon Jul 19 12:16:59 2010 -0500

rpcrt4/tests: Improve failure messages.

---

 dlls/rpcrt4/tests/rpc.c |   10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/dlls/rpcrt4/tests/rpc.c b/dlls/rpcrt4/tests/rpc.c
index bb480e1..684b47e 100644
--- a/dlls/rpcrt4/tests/rpc.c
+++ b/dlls/rpcrt4/tests/rpc.c
@@ -283,11 +283,11 @@ todo_wine {
                                    &identity, &authzsvc);
 
     ok(status == RPC_S_OK, "RpcBindingInqAuthInfo failed (%u)\n", status);
-    ok(identity == NULL, "expected NULL identity\n");
-    ok(principal != (unsigned char *)0xdeadbeef, "expected valid principal\n");
-    ok(level == RPC_C_AUTHN_LEVEL_PKT_PRIVACY, "expected RPC_C_AUTHN_LEVEL_PKT_PRIVACY\n");
-    ok(authnsvc == RPC_C_AUTHN_WINNT, "expected RPC_C_AUTHN_WINNT\n");
-    todo_wine ok(authzsvc == RPC_C_AUTHZ_NAME, "expected RPC_C_AUTHZ_NAME\n");
+    ok(identity == NULL, "expected NULL identity, got %p\n", identity);
+    ok(principal != (unsigned char *)0xdeadbeef, "expected valid principal, got %p\n", principal);
+    ok(level == RPC_C_AUTHN_LEVEL_PKT_PRIVACY, "expected RPC_C_AUTHN_LEVEL_PKT_PRIVACY, got %d\n", level);
+    ok(authnsvc == RPC_C_AUTHN_WINNT, "expected RPC_C_AUTHN_WINNT, got %d\n", authnsvc);
+    todo_wine ok(authzsvc == RPC_C_AUTHZ_NAME, "expected RPC_C_AUTHZ_NAME, got %d\n", authzsvc);
 
     RpcStringFree(&principal);
 




More information about the wine-cvs mailing list