ws2/tests: Test AcceptEx with a deferred socket

Paul Vriens paul.vriens.wine at gmail.com
Fri Jul 17 01:02:48 CDT 2009


Mike Kaplinskiy wrote:
> Paul,
> 
> Does the attached fix test failures on at least NT4? The 4000 test
> failures is ok, it's just 3999 of the same failure. The failures are
> the same because of a mistake on my part.
> 
> I didn't get a chance to test this since my virtualbox is down until a
> 2.6.31-compatible version of their kernel module is out.
> 
> Mike.
> 
> On Thu, Jul 16, 2009 at 3:40 AM, Paul Vriens<paul.vriens.wine at gmail.com> wrote:
>> Mike Kaplinskiy wrote:
>>> This tests the following AcceptEx scenario:
>>>   WSAAccept->CF_DEFER->AcceptEx
>>> Windows seems to return the deferred socket with AcceptEx (verified on
>>> XP & 2K3).
>>>
>>> Mike.
>>>
>>>
>>> ------------------------------------------------------------------------
>>>
>>>
>> Hi Mike,
>>
>> These new tests fail on all NT4 boxes (some 6 and 1 has 4000+ failures) and
>> what looks like to be all Windows x64_64 systems. The strange thing (or
>> maybe not) is that the errors are the same on all of these (one box has
>> 4000+ failures but still has those same 6).
>>
>> See:
>>
>> http://test.winehq.org/data/tests/ws2_32:sock.html
>>
>> Could you have a look?
>>
>> I can do some tests if necessary on NT4, I don't have a Windows x86_64
>> system however.
>>
>> --
>> Cheers,
>>
>> Paul.
>>
This is what I now get on NT4:

.....
sock.c:2819: Test failed: Did not get both connections, got 1
sock.c:2867: Test failed: bytesReturned isn't supposed to be 1
sock: 441754 tests executed (0 marked as todo, 2 failures), 4 skipped.


-- 
Cheers,

Paul.



More information about the wine-devel mailing list