From 076a6206ff9598af97e940b62b8b629da4758e6d Mon Sep 17 00:00:00 2001 From: Dan Hipschman Date: Mon, 25 Jun 2007 18:25:57 -0700 Subject: [PATCH] rpcrt4/tests: Wrap a try/except block around tests. --- dlls/rpcrt4/tests/server.c | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/dlls/rpcrt4/tests/server.c b/dlls/rpcrt4/tests/server.c index 538f2aa7c24..b1a5df21259 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(); } -- 2.11.4.GIT