mscoree/tests: Comment out a couple of tests that crash on Windows.
This commit is contained in:
parent
3e9f0ca227
commit
67d0195fd9
|
@ -60,8 +60,11 @@ static void test_versioninfo(void)
|
||||||
DWORD size, path_len;
|
DWORD size, path_len;
|
||||||
HRESULT hr;
|
HRESULT hr;
|
||||||
|
|
||||||
hr = pGetCORVersion(NULL, MAX_PATH, &size);
|
if (0) /* crashes on <= w2k3 */
|
||||||
ok(hr == E_POINTER,"GetCORVersion returned %08x\n", hr);
|
{
|
||||||
|
hr = pGetCORVersion(NULL, MAX_PATH, &size);
|
||||||
|
ok(hr == E_POINTER,"GetCORVersion returned %08x\n", hr);
|
||||||
|
}
|
||||||
|
|
||||||
hr = pGetCORVersion(version, 1, &size);
|
hr = pGetCORVersion(version, 1, &size);
|
||||||
ok(hr == HRESULT_FROM_WIN32(ERROR_INSUFFICIENT_BUFFER),"GetCORVersion returned %08x\n", hr);
|
ok(hr == HRESULT_FROM_WIN32(ERROR_INSUFFICIENT_BUFFER),"GetCORVersion returned %08x\n", hr);
|
||||||
|
@ -81,8 +84,11 @@ static void test_versioninfo(void)
|
||||||
hr = pGetCORSystemDirectory(path, path_len-1 , &size);
|
hr = pGetCORSystemDirectory(path, path_len-1 , &size);
|
||||||
ok(hr == HRESULT_FROM_WIN32(ERROR_INSUFFICIENT_BUFFER), "GetCORSystemDirectory returned %08x\n", hr);
|
ok(hr == HRESULT_FROM_WIN32(ERROR_INSUFFICIENT_BUFFER), "GetCORSystemDirectory returned %08x\n", hr);
|
||||||
|
|
||||||
hr = pGetCORSystemDirectory(NULL, MAX_PATH , &size);
|
if (0) /* crashes on <= w2k3 */
|
||||||
ok(hr == HRESULT_FROM_WIN32(ERROR_INSUFFICIENT_BUFFER), "GetCORSystemDirectory returned %08x\n", hr);
|
{
|
||||||
|
hr = pGetCORSystemDirectory(NULL, MAX_PATH , &size);
|
||||||
|
ok(hr == HRESULT_FROM_WIN32(ERROR_INSUFFICIENT_BUFFER), "GetCORSystemDirectory returned %08x\n", hr);
|
||||||
|
}
|
||||||
|
|
||||||
hr = pGetCORSystemDirectory(path, MAX_PATH , NULL);
|
hr = pGetCORSystemDirectory(path, MAX_PATH , NULL);
|
||||||
ok(hr == E_POINTER,"GetCORSystemDirectory returned %08x\n", hr);
|
ok(hr == E_POINTER,"GetCORSystemDirectory returned %08x\n", hr);
|
||||||
|
|
Loading…
Reference in New Issue