Commit d55575e9 authored by Stefan Leichter's avatar Stefan Leichter Committed by Alexandre Julliard

Exclude two tests crashing on WinNT4.

parent 3388eb08
...@@ -157,6 +157,9 @@ static void test_info(void) ...@@ -157,6 +157,9 @@ static void test_info(void)
if (pVersionInfo == 0) if (pVersionInfo == 0)
return; return;
#if 0
/* this test crashes on WinNT4
*/
boolret = GetFileVersionInfoA( "kernel32.dll", 0, retval, 0); boolret = GetFileVersionInfoA( "kernel32.dll", 0, retval, 0);
ok (!boolret, "GetFileVersionInfoA should have failed: GetLastError = 0x%08lx\n", GetLastError()); ok (!boolret, "GetFileVersionInfoA should have failed: GetLastError = 0x%08lx\n", GetLastError());
ok ((GetLastError() == ERROR_INVALID_DATA) || (GetLastError() == ERROR_BAD_PATHNAME) || ok ((GetLastError() == ERROR_INVALID_DATA) || (GetLastError() == ERROR_BAD_PATHNAME) ||
...@@ -164,6 +167,7 @@ static void test_info(void) ...@@ -164,6 +167,7 @@ static void test_info(void)
"Last error wrong! ERROR_INVALID_DATA/ERROR_BAD_PATHNAME (ME)/" "Last error wrong! ERROR_INVALID_DATA/ERROR_BAD_PATHNAME (ME)/"
"NO_ERROR (95) expected, got 0x%08lx\n", "NO_ERROR (95) expected, got 0x%08lx\n",
GetLastError()); GetLastError());
#endif
boolret = GetFileVersionInfoA( "kernel32.dll", 0, retval, pVersionInfo ); boolret = GetFileVersionInfoA( "kernel32.dll", 0, retval, pVersionInfo );
ok (boolret, "GetFileVersionInfoA failed: GetLastError = 0x%08lx\n", GetLastError()); ok (boolret, "GetFileVersionInfoA failed: GetLastError = 0x%08lx\n", GetLastError());
...@@ -182,8 +186,12 @@ static void test_info(void) ...@@ -182,8 +186,12 @@ static void test_info(void)
trace("kernel32.dll version: %s\n", VersionString); trace("kernel32.dll version: %s\n", VersionString);
#if 0
/* this test crashes on WinNT4
*/
boolret = VerQueryValueA( pVersionInfo, "\\", (LPVOID *)&pFixedVersionInfo, 0); boolret = VerQueryValueA( pVersionInfo, "\\", (LPVOID *)&pFixedVersionInfo, 0);
ok (boolret, "VerQueryValue failed: GetLastError = 0x%08lx\n", GetLastError()); ok (boolret, "VerQueryValue failed: GetLastError = 0x%08lx\n", GetLastError());
#endif
} }
START_TEST(info) START_TEST(info)
......
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