kernel32/tests: Fix overlapped named pipe test.
authorVincent Povirk <vincent@codeweavers.com>
Thu, 19 Feb 2009 22:49:55 +0000 (16:49 -0600)
committerAlexandre Julliard <julliard@winehq.org>
Fri, 27 Feb 2009 12:16:11 +0000 (13:16 +0100)
commit311d260ac1ae089ea26a9668b3723dce6e583af0
treeadaea4519e5a5903308e04178f045c27b19231ee
parent545b6989f28ceb6ab167ab8e8411f73cf228a46f
kernel32/tests: Fix overlapped named pipe test.

The overlapped named pipe test calls GetOverlappedResult after all
operations in which it passes an overlapped structure, but it seems we
only get one when the functions fail with ERROR_IO_PENDING. I've
modified the test to account for that, and it seems to pass
consistently on Windows and Wine.
dlls/kernel32/tests/pipe.c