mirror of
https://gitlab.winehq.org/wine/wine-staging.git
synced 2024-11-21 16:46:54 -08:00
kernel32-Named_Pipe: Remove two todo_wine's - somehow magically fixed by the recent changes to wine APC handling.
This commit is contained in:
parent
4d3a96536e
commit
db827ac766
@ -1,15 +1,15 @@
|
||||
From 3bbdd942918050d538375e8ef4655101359fab88 Mon Sep 17 00:00:00 2001
|
||||
From 5f05e5517f75081777b26d6f0e300a12121d094a Mon Sep 17 00:00:00 2001
|
||||
From: Sebastian Lackner <sebastian@fds-team.de>
|
||||
Date: Sun, 17 Aug 2014 02:56:57 +0200
|
||||
Subject: kernel32/tests: Add additional tests for PIPE_NOWAIT in overlapped
|
||||
mode.
|
||||
|
||||
---
|
||||
dlls/kernel32/tests/pipe.c | 295 ++++++++++++++++++++++++++++++++++++++++++++-
|
||||
1 file changed, 294 insertions(+), 1 deletion(-)
|
||||
dlls/kernel32/tests/pipe.c | 293 ++++++++++++++++++++++++++++++++++++++++++++-
|
||||
1 file changed, 292 insertions(+), 1 deletion(-)
|
||||
|
||||
diff --git a/dlls/kernel32/tests/pipe.c b/dlls/kernel32/tests/pipe.c
|
||||
index 00840e6..f9354c6 100644
|
||||
index 3f753f8..c3f0b19 100644
|
||||
--- a/dlls/kernel32/tests/pipe.c
|
||||
+++ b/dlls/kernel32/tests/pipe.c
|
||||
@@ -2748,7 +2748,7 @@ static void test_readfileex_pending(void)
|
||||
@ -21,7 +21,7 @@ index 00840e6..f9354c6 100644
|
||||
OVERLAPPED overlapped;
|
||||
char read_buf[1024];
|
||||
char write_buf[1024];
|
||||
@@ -2906,6 +2906,160 @@ todo_wine
|
||||
@@ -2903,6 +2903,159 @@ todo_wine
|
||||
CloseHandle(client);
|
||||
CloseHandle(server);
|
||||
|
||||
@ -52,7 +52,6 @@ index 00840e6..f9354c6 100644
|
||||
+ ok(completion_called == 0, "completion routine called before ReadFileEx returned\n");
|
||||
+ ok(GetLastError() == ERROR_NO_DATA, "expected ERROR_NO_DATA, got %d\n", GetLastError());
|
||||
+ wait = WaitForSingleObjectEx(event, 0, TRUE);
|
||||
+ todo_wine
|
||||
+ ok(wait == WAIT_TIMEOUT, "WaitForSingleObjectEx returned %x\n", wait);
|
||||
+ ok(completion_called == 0, "completion routine called before writing to file\n");
|
||||
+
|
||||
@ -182,7 +181,7 @@ index 00840e6..f9354c6 100644
|
||||
server = CreateNamedPipeA(PIPENAME, FILE_FLAG_OVERLAPPED | PIPE_ACCESS_DUPLEX,
|
||||
/* dwOpenMode */ PIPE_TYPE_MESSAGE | PIPE_READMODE_MESSAGE | PIPE_WAIT,
|
||||
/* nMaxInstances */ 1,
|
||||
@@ -3044,6 +3198,145 @@ todo_wine
|
||||
@@ -3041,6 +3194,144 @@ todo_wine
|
||||
ok(num_bytes == strlen(long_test_string)-4, "ReadFile returned only %d bytes\n", num_bytes);
|
||||
ok(!memcmp(long_test_string, read_buf, strlen(long_test_string)), "ReadFile read wrong bytes\n");
|
||||
|
||||
@ -199,7 +198,6 @@ index 00840e6..f9354c6 100644
|
||||
+ ok(completion_called == 0, "completion routine called before ReadFileEx returned\n");
|
||||
+ ok(GetLastError() == ERROR_NO_DATA, "expected ERROR_NO_DATA, got %d\n", GetLastError());
|
||||
+ wait = WaitForSingleObjectEx(event, 0, TRUE);
|
||||
+ todo_wine
|
||||
+ ok(wait == WAIT_TIMEOUT, "WaitForSingleObjectEx returned %x\n", wait);
|
||||
+ ok(completion_called == 0, "completion routine called before writing to file\n");
|
||||
+
|
||||
@ -329,5 +327,5 @@ index 00840e6..f9354c6 100644
|
||||
CloseHandle(server);
|
||||
CloseHandle(event);
|
||||
--
|
||||
2.2.1
|
||||
2.3.0
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user