[PATCH] shlwapi/tests: ChrCmpI* not present on Win95B (winetestbot)

Nikolay Sivov bunglehead at gmail.com
Sat Jan 30 09:28:45 CST 2010


On 1/30/2010 18:25, Detlef Riekenberg wrote:
>
> @@ -608,9 +610,13 @@ static void test_StrCmpA(void)
>     static const char str2[] = {'a','B','c','d','e','f'};
>     ok(0 != StrCmpNA(str1, str2, 6), "StrCmpNA is case-insensitive\n");
>     ok(0 == StrCmpNIA(str1, str2, 6), "StrCmpNIA is case-sensitive\n");
> -  ok(!ChrCmpIA('a', 'a'), "ChrCmpIA doesn't work at all!\n");
> -  ok(!ChrCmpIA('b', 'B'), "ChrCmpIA is not case-insensitive\n");
> -  ok(ChrCmpIA('a', 'z'), "ChrCmpIA believes that a == z!\n");
> +  if (pChrCmpIA) {
> +    ok(!pChrCmpIA('a', 'a'), "ChrCmpIA doesn't work at all!\n");
> +    ok(!pChrCmpIA('b', 'B'), "ChrCmpIA is not case-insensitive\n");
> +    ok(pChrCmpIA('a', 'z'), "ChrCmpIA believes that a == z!\n");
> +  }
> +  else
> +    win_skip("ChrCmpIW() is not available\n");
>
>    
Should be ChrCmpIA() in message.



More information about the wine-devel mailing list