[PATCH] advapi32: Add some tests for StartTrace().

Zebediah Figura z.figura12 at gmail.com
Sat Jul 2 15:57:48 CDT 2016


On 07/02/2016 07:47 AM, Marvin wrote:
> Hi,
> 
> While running your changed tests on Windows, I think I found new failures.
> Being a bot and all I'm not very good at pattern recognition, so I might be
> wrong, but could you please double-check?
> Full results can be found at
> https://testbot.winehq.org/JobDetails.pl?Key=23920
> 
> Your paranoid android.
> 
> 
> === wxppro (32 bit eventlog) ===
> eventlog.c:1172: Test failed: Expected ERROR_BAD_PATHNAME, got 87
> eventlog.c:1185: Test failed: Expected ERROR_BAD_LENGTH, got 87
> eventlog.c:1194: Test failed: Expected ERROR_BAD_LENGTH, got 87
> eventlog.c:1255: Test failed: Expected ERROR_BAD_PATHNAME, got 87
> eventlog.c:1272: Test failed: Expected success
> eventlog.c:1280: Test failed: Expected ERROR_ALREADY_EXISTS, got 87
> 
> === w2003std (32 bit eventlog) ===
> eventlog.c:1172: Test failed: Expected ERROR_BAD_PATHNAME, got 87
> eventlog.c:1185: Test failed: Expected ERROR_BAD_LENGTH, got 87
> eventlog.c:1194: Test failed: Expected ERROR_BAD_LENGTH, got 87
> eventlog.c:1255: Test failed: Expected ERROR_BAD_PATHNAME, got 87
> eventlog.c:1272: Test failed: Expected success
> eventlog.c:1280: Test failed: Expected ERROR_ALREADY_EXISTS, got 87
> 
> === wvistau64 (32 bit eventlog) ===
> eventlog.c:1172: Test failed: Expected ERROR_BAD_PATHNAME, got 87
> eventlog.c:1194: Test failed: Expected ERROR_BAD_LENGTH, got 87
> eventlog.c:1255: Test failed: Expected ERROR_BAD_PATHNAME, got 87
> eventlog.c:1272: Test failed: Expected success
> eventlog.c:1280: Test failed: Expected ERROR_ALREADY_EXISTS, got 87
> 
> === w2008s64 (32 bit eventlog) ===
> eventlog.c:1172: Test failed: Expected ERROR_BAD_PATHNAME, got 87
> eventlog.c:1194: Test failed: Expected ERROR_BAD_LENGTH, got 87
> eventlog.c:1255: Test failed: Expected ERROR_BAD_PATHNAME, got 87
> eventlog.c:1272: Test failed: Expected success
> eventlog.c:1280: Test failed: Expected ERROR_ALREADY_EXISTS, got 87
> 
> === w7u (32 bit eventlog) ===
> eventlog.c:1172: Test failed: Expected ERROR_BAD_PATHNAME, got 87
> eventlog.c:1194: Test failed: Expected ERROR_BAD_LENGTH, got 87
> eventlog.c:1255: Test failed: Expected ERROR_BAD_PATHNAME, got 87
> eventlog.c:1272: Test failed: Expected success
> eventlog.c:1280: Test failed: Expected ERROR_ALREADY_EXISTS, got 87
> 
> === w7pro64 (32 bit eventlog) ===
> eventlog.c:1172: Test failed: Expected ERROR_BAD_PATHNAME, got 87
> eventlog.c:1194: Test failed: Expected ERROR_BAD_LENGTH, got 87
> eventlog.c:1255: Test failed: Expected ERROR_BAD_PATHNAME, got 87
> eventlog.c:1272: Test failed: Expected success
> eventlog.c:1280: Test failed: Expected ERROR_ALREADY_EXISTS, got 87
> 
> === w8 (32 bit eventlog) ===
> eventlog.c:1172: Test failed: Expected ERROR_BAD_PATHNAME, got 87
> eventlog.c:1194: Test failed: Expected ERROR_BAD_LENGTH, got 87
> eventlog.c:1255: Test failed: Expected ERROR_BAD_PATHNAME, got 87
> eventlog.c:1272: Test failed: Expected success
> eventlog.c:1280: Test failed: Expected ERROR_ALREADY_EXISTS, got 87
> 
> === w864 (32 bit eventlog) ===
> eventlog.c:1172: Test failed: Expected ERROR_BAD_PATHNAME, got 87
> eventlog.c:1194: Test failed: Expected ERROR_BAD_LENGTH, got 87
> eventlog.c:1255: Test failed: Expected ERROR_BAD_PATHNAME, got 87
> eventlog.c:1272: Test failed: Expected success
> eventlog.c:1280: Test failed: Expected ERROR_ALREADY_EXISTS, got 87
> 
> === w1064 (32 bit eventlog) ===
> eventlog.c:1172: Test failed: Expected ERROR_BAD_PATHNAME, got 87
> eventlog.c:1194: Test failed: Expected ERROR_BAD_LENGTH, got 87
> eventlog.c:1255: Test failed: Expected ERROR_BAD_PATHNAME, got 87
> eventlog.c:1272: Test failed: Expected success
> eventlog.c:1280: Test failed: Expected ERROR_ALREADY_EXISTS, got 87
> 
> 

This test is failing when built 32 bits, but I tried building both
64-bit and 32-bit executables using mingw-w64 on my win7 machine, and
they both worked. I'm a newbie (this is my first patch), so I'm probably
doing something wrong, but I don't know what. The error in question (87)
is probably associated with the wrong sizeof() being returned, but I
don't know why that would happen.

Thanks,
Zeb




More information about the wine-devel mailing list