[PATCH resend] user32/tests: Fix broadcast test failures on Windows 10

Alexandre Julliard julliard at winehq.org
Fri Apr 27 13:41:32 CDT 2018


Alex Henrie <alexhenrie24 at gmail.com> writes:

> On Fri, Apr 27, 2018 at 11:38 AM Alexandre Julliard <julliard at winehq.org>
> wrote:
>
>> Alex Henrie <alexhenrie24 at gmail.com> writes:
>
>> > What is the right way to fix these test failures? Do you think the
>> > pre-win10 behavior should be marked as broken?
>
>> I'm not sure this privilege dropping is meaningful at all. I feel it
>> would be more useful to test more behaviors of that function under
>> normal privileges, with hopefully consistent results across platforms.
>
> You're right. I just tested it and to my surprise, these tests behave the
> same on all testbot platforms with or without the call to
> AdjustTokenPrivileges: https://testbot.winehq.org/JobDetails.pl?Key=38082
>
> That makes me think that these are essentially just more invalid parameter
> tests like the ones my patch already removes. In that light, would it be
> acceptable to simply delete the test_noprivileges function and encourage
> anyone working on message broadcasting to write more meaningful tests in
> the future?

Yes, I think that's acceptable. Also we'll probably want to ask that
hypothetical future person to merge the remaining tests into message.c ;-)

-- 
Alexandre Julliard
julliard at winehq.org



More information about the wine-devel mailing list