Module: wine Branch: master Commit: 076a6206ff9598af97e940b62b8b629da4758e6d URL: http://source.winehq.org/git/wine.git/?a=commit;h=076a6206ff9598af97e940b62b... Author: Dan Hipschman <dsh(a)linux.ucla.edu> Date: Mon Jun 25 18:25:57 2007 -0700 rpcrt4/tests: Wrap a try/except block around tests. --- dlls/rpcrt4/tests/server.c | 12 +++++++++++- 1 files changed, 11 insertions(+), 1 deletions(-) diff --git a/dlls/rpcrt4/tests/server.c b/dlls/rpcrt4/tests/server.c index 538f2aa..b1a5df2 100644 --- a/dlls/rpcrt4/tests/server.c +++ b/dlls/rpcrt4/tests/server.c @@ -677,7 +677,17 @@ START_TEST(server) progname = argv[0]; if (argc == 3) - client(argv[2]); + { + RpcTryExcept + { + client(argv[2]); + } + RpcExcept(TRUE) + { + trace("Exception %d\n", RpcExceptionCode()); + } + RpcEndExcept + } else server(); }