Re: Asynchronous read/write tests in ntdll/tests/file.c

2013-09-18 Thread Thomas Faber
On 2013-09-18 11:31, Dmitry Timoshkov wrote: > Thomas Faber wrote: >> status = pNtWriteFile(hfile, 0, NULL, NULL, &iob, contents, >> sizeof(contents), &offset, NULL); >> ok(status == STATUS_PENDING || broken(status == STATUS_SUCCESS) /* see below >> */, "expected STATUS_PENDING, got %#x\n", stat

Re: Asynchronous read/write tests in ntdll/tests/file.c

2013-09-18 Thread Dmitry Timoshkov
Thomas Faber wrote: > I noticed a couple of tests structured like this: > > status = pNtWriteFile(hfile, 0, NULL, NULL, &iob, contents, > sizeof(contents), &offset, NULL); > ok(status == STATUS_PENDING || broken(status == STATUS_SUCCESS) /* see > below */, "expected STATUS_PENDING, got %#x\n", s

Asynchronous read/write tests in ntdll/tests/file.c

2013-09-18 Thread Thomas Faber
Hey Dmitry, I noticed a couple of tests structured like this: status = pNtWriteFile(hfile, 0, NULL, NULL, &iob, contents, sizeof(contents), &offset, NULL); ok(status == STATUS_PENDING || broken(status == STATUS_SUCCESS) /* see below */, "expected STATUS_PENDING, got %#x\n", status); ok(iob.Status