advapi32/tests: Run a test on more platforms (try2)

Nicolas Le Cam niko.lecam at gmail.com
Tue Nov 4 04:23:27 CST 2008


2008/11/4 Alexandre Julliard <julliard at winehq.org>:
> Nicolas Le Cam <niko.lecam at gmail.com> writes:
>
>> @@ -614,7 +614,9 @@ static void test_enum_provider_types(void)
>>       DWORD dwTypeCount;
>>
>>       /* actual values */
>> -     DWORD index = 0;
>> +     /* the first provider type registry key may not have a TypeName subkey
>> +      * we use the second one instead */
>> +     DWORD index = 1;
>
> That's just moving the problem around, there's no reason that the second
> one would always be guaranteed to have a typename.
>
> --
> Alexandre Julliard
> julliard at winehq.org
>

(Resent because I've forgot to cc to wine-devel. Sorry)

Thank you for your answer.
I will shortly submit a modified patch that loop on Provider Type keys
to find one that fits our needs.

Nicolas Le Cam



More information about the wine-devel mailing list