Sebastian Lackner : ntdll/tests: Add/ remove todo_wine to avoid test failures.

Alexandre Julliard julliard at wine.codeweavers.com
Thu May 7 09:01:44 CDT 2015


Module: wine
Branch: master
Commit: e40e5661ee9a78d83195eb79b347cdc552dc694a
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=e40e5661ee9a78d83195eb79b347cdc552dc694a

Author: Sebastian Lackner <sebastian at fds-team.de>
Date:   Thu May  7 01:15:12 2015 +0200

ntdll/tests: Add/remove todo_wine to avoid test failures.

---

 dlls/ntdll/tests/pipe.c | 9 ++++-----
 1 file changed, 4 insertions(+), 5 deletions(-)

diff --git a/dlls/ntdll/tests/pipe.c b/dlls/ntdll/tests/pipe.c
index 4bf2ad2..9fadb0f 100644
--- a/dlls/ntdll/tests/pipe.c
+++ b/dlls/ntdll/tests/pipe.c
@@ -469,13 +469,12 @@ static void test_cancelio(void)
     ok(res == STATUS_PENDING, "NtFsControlFile returned %x\n", res);
 
     res = pNtCancelIoFile(hPipe, &cancel_sb);
-    todo_wine ok(!res, "NtCancelIoFile returned %x\n", res);
+    ok(!res, "NtCancelIoFile returned %x\n", res);
 
-    todo_wine {
-        ok(U(iosb).Status == STATUS_CANCELLED, "Wrong iostatus %x\n", U(iosb).Status);
-        ok(WaitForSingleObject(hEvent, 0) == 0, "hEvent not signaled\n");
-    }
+    ok(U(iosb).Status == STATUS_CANCELLED, "Wrong iostatus %x\n", U(iosb).Status);
+    ok(WaitForSingleObject(hEvent, 0) == 0, "hEvent not signaled\n");
 
+    todo_wine
     ok(!ioapc_called, "IOAPC ran too early\n");
 
     SleepEx(0, TRUE); /* alertable wait state */




More information about the wine-cvs mailing list