atl/tests: Fix test in test_registrar.

Paul Vriens paul.vriens.wine at gmail.com
Sat Nov 27 16:27:51 CST 2010


Hi Gerald,

On 11/27/2010 10:19 PM, Gerald Pfeifer wrote:
> An obvious one I'd say...
>
> Gerald
> ---
>   dlls/atl/tests/registrar.c |    2 +-
>   1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/dlls/atl/tests/registrar.c b/dlls/atl/tests/registrar.c
> index 422608b..268765f 100644
> --- a/dlls/atl/tests/registrar.c
> +++ b/dlls/atl/tests/registrar.c
> @@ -106,7 +106,7 @@ static void test_registrar(void)
>           size = 4;
>           lret = RegQueryValueExA(key, "binary_quoted", NULL, NULL, bytes,&size);
>           ok(lret == ERROR_SUCCESS, "RegQueryValueA, failed, error %d\n", lret);
> -        ok(bytes[0] = 0xde&&  bytes[1] == 0xad&&  bytes[2] == 0xbe&&  bytes[3] == 0xef,
> +        ok(bytes[0] == 0xde&&  bytes[1] == 0xad&&  bytes[2] == 0xbe&&  bytes[3] == 0xef,
>               "binary quoted value was not preserved (it's 0x%02X%02X%02X%02X)\n",
>               0xff&  bytes[0], 0xff&  bytes[1], 0xff&  bytes[2], 0xff&  bytes[3]);
>

There are two of these actually. Do you mind me sending in one big patch 
to fix the stuff you found and the fix for Win95/NT that don't support 
binary values?

-- 
Cheers,

Paul.



More information about the wine-devel mailing list