Commit 2e0d15b0 authored by Francois Gouget's avatar Francois Gouget Committed by Alexandre Julliard

oleaut32/tests: Skip the test_stub() tests if we have insufficient privileges.

parent e08c6947
......@@ -5323,6 +5323,14 @@ static void test_stub(void)
ok(hr == S_OK, "got %08x\n", hr);
hr = RegisterTypeLib(tl, filenameW, NULL);
if (hr == TYPE_E_REGISTRYACCESS)
{
win_skip("Insufficient privileges to register typelib in the registry\n");
ITypeLib_Release(tl);
DeleteFileW(filenameW);
CoUninitialize();
return;
}
ok(hr == S_OK, "got %08x\n", hr);
ITypeLib_Release(tl);
......
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