From e40e5661ee9a78d83195eb79b347cdc552dc694a Mon Sep 17 00:00:00 2001 From: Sebastian Lackner Date: Thu, 7 May 2015 01:15:12 +0200 Subject: [PATCH] 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 4bf2ad23f78..9fadb0f2ea9 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 */