Commit bdec0b20 authored by Huw Davies's avatar Huw Davies Committed by Alexandre Julliard

schedsvc/tests: Early versions of Windows 10 return S_OK whether or not the element exists.

parent b655102c
......@@ -148,7 +148,9 @@ START_TEST(rpcapi)
ok(hr == S_OK, "expected S_OK, got %#x\n", hr);
hr = SchRpcDelete(Wine, 0);
ok(hr == HRESULT_FROM_WIN32(ERROR_FILE_NOT_FOUND), "expected ERROR_FILE_NOT_FOUND, got %#x\n", hr);
ok(hr == HRESULT_FROM_WIN32(ERROR_FILE_NOT_FOUND) ||
broken(hr == S_OK), /* Early versions of Win 10 */
"expected ERROR_FILE_NOT_FOUND, got %#x\n", hr);
hr = SchRpcDelete(empty, 0);
ok(hr == E_ACCESSDENIED /* win7 */ || hr == E_INVALIDARG /* vista */, "expected E_ACCESSDENIED, got %#x\n", hr);
......
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