dpnet/tests: Fix a test that fails on Windows.
This commit is contained in:
parent
6e75f68153
commit
997cb5c675
|
@ -131,8 +131,8 @@ static void test_get_sp_caps(void)
|
||||||
ok(hr == DPN_OK, "GetSPCaps failed with %x\n", hr);
|
ok(hr == DPN_OK, "GetSPCaps failed with %x\n", hr);
|
||||||
|
|
||||||
ok(caps.dwFlags == (DPNSPCAPS_SUPPORTSDPNSRV | DPNSPCAPS_SUPPORTSBROADCAST | DPNSPCAPS_SUPPORTSALLADAPTERS |
|
ok(caps.dwFlags == (DPNSPCAPS_SUPPORTSDPNSRV | DPNSPCAPS_SUPPORTSBROADCAST | DPNSPCAPS_SUPPORTSALLADAPTERS |
|
||||||
DPNSPCAPS_SUPPORTSTHREADPOOL), "provider unexpectedly misses some capability flags\n");
|
DPNSPCAPS_SUPPORTSTHREADPOOL), "unexpected flags %x\n", caps.dwFlags);
|
||||||
ok(caps.dwNumThreads == 3, "expected 3, got %d\n", caps.dwNumThreads);
|
ok(caps.dwNumThreads >= 3, "got %d\n", caps.dwNumThreads);
|
||||||
ok(caps.dwDefaultEnumCount == 5, "expected 5, got %d\n", caps.dwDefaultEnumCount);
|
ok(caps.dwDefaultEnumCount == 5, "expected 5, got %d\n", caps.dwDefaultEnumCount);
|
||||||
ok(caps.dwDefaultEnumRetryInterval == 1500, "expected 1500, got %d\n", caps.dwDefaultEnumRetryInterval);
|
ok(caps.dwDefaultEnumRetryInterval == 1500, "expected 1500, got %d\n", caps.dwDefaultEnumRetryInterval);
|
||||||
ok(caps.dwDefaultEnumTimeout == 1500, "expected 1500, got %d\n", caps.dwDefaultEnumTimeout);
|
ok(caps.dwDefaultEnumTimeout == 1500, "expected 1500, got %d\n", caps.dwDefaultEnumTimeout);
|
||||||
|
|
Loading…
Reference in New Issue