advapi32/tests: Mark a test result on Windows 2000 as broken.
This commit is contained in:
parent
2a741324fe
commit
e0c5dfdf5d
|
@ -108,7 +108,8 @@ static void test_open_scm(void)
|
||||||
/* Again a correct one */
|
/* Again a correct one */
|
||||||
SetLastError(0xdeadbeef);
|
SetLastError(0xdeadbeef);
|
||||||
scm_handle = OpenSCManagerA(NULL, NULL, SC_MANAGER_CONNECT);
|
scm_handle = OpenSCManagerA(NULL, NULL, SC_MANAGER_CONNECT);
|
||||||
ok(GetLastError() == ERROR_SUCCESS, "Expected ERROR_SUCCESS, got %u\n", GetLastError());
|
ok(GetLastError() == ERROR_SUCCESS || broken(GetLastError() == ERROR_IO_PENDING) /* win2k */,
|
||||||
|
"Expected ERROR_SUCCESS, got %u\n", GetLastError());
|
||||||
ok(scm_handle != NULL, "Expected success, got error %u\n", GetLastError());
|
ok(scm_handle != NULL, "Expected success, got error %u\n", GetLastError());
|
||||||
CloseServiceHandle(scm_handle);
|
CloseServiceHandle(scm_handle);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue