Comment out a test that crashes on early versions.

This commit is contained in:
Jon Griffiths 2005-03-14 10:10:00 +00:00 committed by Alexandre Julliard
parent db66ec0e55
commit 6cf8602ebb
1 changed files with 3 additions and 0 deletions

View File

@ -224,11 +224,14 @@ static void test_MRUListA(void)
iRet, GetLastError());
/* Add (NULL string) */
#if 0
/* Some native versions crash when passed NULL or fail to SetLastError() */
SetLastError(0);
iRet = pAddMRUStringA(hMRU, NULL);
ok(iRet == 0 && GetLastError() == ERROR_INVALID_PARAMETER,
"AddMRUStringA(NULL str) expected 0,ERROR_INVALID_PARAMETER got %d,%ld\n",
iRet, GetLastError());
#endif
/* Add 3 strings. Check the registry is correct after each add */
SetLastError(0);