advapi32: Fix test under w2k8.
This commit is contained in:
parent
4d6d09553b
commit
905817a589
|
@ -66,7 +66,8 @@ static void test_open_scm(void)
|
||||||
scm_handle = OpenSCManagerA("DOESNOTEXIST", SERVICES_ACTIVE_DATABASEA, SC_MANAGER_CONNECT);
|
scm_handle = OpenSCManagerA("DOESNOTEXIST", SERVICES_ACTIVE_DATABASEA, SC_MANAGER_CONNECT);
|
||||||
ok(!scm_handle, "Expected failure\n");
|
ok(!scm_handle, "Expected failure\n");
|
||||||
todo_wine
|
todo_wine
|
||||||
ok(GetLastError() == RPC_S_SERVER_UNAVAILABLE, "Expected RPC_S_SERVER_UNAVAILABLE, got %d\n", GetLastError());
|
ok(GetLastError() == RPC_S_SERVER_UNAVAILABLE || GetLastError() == RPC_S_INVALID_NET_ADDR /* w2k8 */,
|
||||||
|
"Expected RPC_S_SERVER_UNAVAILABLE or RPC_S_INVALID_NET_ADDR, got %d\n", GetLastError());
|
||||||
CloseServiceHandle(scm_handle); /* Just in case */
|
CloseServiceHandle(scm_handle); /* Just in case */
|
||||||
|
|
||||||
/* Proper call with an empty hostname */
|
/* Proper call with an empty hostname */
|
||||||
|
|
Loading…
Reference in New Issue