Commit 16d161bc authored by Paul Vriens's avatar Paul Vriens Committed by Alexandre Julliard

dxdiagn/tests: Fix some test failures on a clean W2K3.

parent ff4047a9
......@@ -32,7 +32,9 @@ static void test_Initialize(void)
hr = CoCreateInstance(&CLSID_DxDiagProvider, NULL, CLSCTX_INPROC_SERVER,
&IID_IDxDiagProvider, (LPVOID*)&pddp);
ok(hr == S_OK, "Creating a IDxDiagProvider instance failed with %x\n", hr);
ok(hr == S_OK ||
broken(hr == REGDB_E_CLASSNOTREG), /* Clean W2K3 */
"Creating a IDxDiagProvider instance failed with %x\n", hr);
if (FAILED(hr))
{
skip("Failed to create a IDxDiagProvider instance\n");
......@@ -97,7 +99,9 @@ static void test_GetRootContainer(void)
hr = CoCreateInstance(&CLSID_DxDiagProvider, NULL, CLSCTX_INPROC_SERVER,
&IID_IDxDiagProvider, (LPVOID*)&pddp);
ok(hr == S_OK, "Creating a IDxDiagProvider instance failed with %x\n", hr);
ok(hr == S_OK ||
broken(hr == REGDB_E_CLASSNOTREG), /* Clean W2K3 */
"Creating a IDxDiagProvider instance failed with %x\n", hr);
if (FAILED(hr))
{
skip("Failed to create a IDxDiagProvider instance\n");
......
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