Add a test to test_NamedPipe_2.

Gerald Pfeifer gerald at pfeifer.com
Fri Apr 30 19:37:38 CDT 2010


Disclaimer: somehow my FreeBSD tester has problems with the testsuite
right now, so could not fully verify this.

Gerald

---
 dlls/kernel32/tests/pipe.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/dlls/kernel32/tests/pipe.c b/dlls/kernel32/tests/pipe.c
index 948c704..3a245ef 100644
--- a/dlls/kernel32/tests/pipe.c
+++ b/dlls/kernel32/tests/pipe.c
@@ -797,6 +797,7 @@ static void test_NamedPipe_2(void)
     /* Set up a ten second timeout */
     alarm_event = CreateEvent( NULL, TRUE, FALSE, NULL );
     alarmThread = CreateThread(NULL, 0, alarmThreadMain, (void *) 10000, 0, &alarmThreadId);
+    ok(alarmThread != INVALID_HANDLE_VALUE, "CreateThread\n");
 
     /* The servers we're about to exercize do try to clean up carefully,
      * but to reduce the change of a test failure due to a pipe handle
-- 
1.6.6.2



More information about the wine-patches mailing list