Commit 076a6206 authored by Dan Hipschman's avatar Dan Hipschman Committed by Alexandre Julliard

rpcrt4/tests: Wrap a try/except block around tests.

parent 704f2868
...@@ -677,7 +677,17 @@ START_TEST(server) ...@@ -677,7 +677,17 @@ START_TEST(server)
progname = argv[0]; progname = argv[0];
if (argc == 3) if (argc == 3)
client(argv[2]); {
RpcTryExcept
{
client(argv[2]);
}
RpcExcept(TRUE)
{
trace("Exception %d\n", RpcExceptionCode());
}
RpcEndExcept
}
else else
server(); server();
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment