From d55575e976c05b7a0e30ae2a40c21d9eb1a6548f Mon Sep 17 00:00:00 2001 From: Stefan Leichter Date: Fri, 25 Feb 2005 16:19:19 +0000 Subject: [PATCH] Exclude two tests crashing on WinNT4. --- dlls/version/tests/info.c | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/dlls/version/tests/info.c b/dlls/version/tests/info.c index c2964bfd8b3..9f83e3befd2 100644 --- a/dlls/version/tests/info.c +++ b/dlls/version/tests/info.c @@ -157,6 +157,9 @@ static void test_info(void) if (pVersionInfo == 0) return; +#if 0 + /* this test crashes on WinNT4 + */ boolret = GetFileVersionInfoA( "kernel32.dll", 0, retval, 0); ok (!boolret, "GetFileVersionInfoA should have failed: GetLastError = 0x%08lx\n", GetLastError()); ok ((GetLastError() == ERROR_INVALID_DATA) || (GetLastError() == ERROR_BAD_PATHNAME) || @@ -164,6 +167,7 @@ static void test_info(void) "Last error wrong! ERROR_INVALID_DATA/ERROR_BAD_PATHNAME (ME)/" "NO_ERROR (95) expected, got 0x%08lx\n", GetLastError()); +#endif boolret = GetFileVersionInfoA( "kernel32.dll", 0, retval, pVersionInfo ); ok (boolret, "GetFileVersionInfoA failed: GetLastError = 0x%08lx\n", GetLastError()); @@ -182,8 +186,12 @@ static void test_info(void) trace("kernel32.dll version: %s\n", VersionString); +#if 0 + /* this test crashes on WinNT4 + */ boolret = VerQueryValueA( pVersionInfo, "\\", (LPVOID *)&pFixedVersionInfo, 0); ok (boolret, "VerQueryValue failed: GetLastError = 0x%08lx\n", GetLastError()); +#endif } START_TEST(info) -- 2.11.4.GIT