ntoskrnl.exe/tests: Always test DeviceIoControl result.
Spotted by Mathew Hodson. Signed-off-by: Jacek Caban <jacek@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
87a8622ffe
commit
e1d932a9e1
|
@ -233,6 +233,7 @@ static void test_overlapped(void)
|
|||
|
||||
cancel_cnt = 0xdeadbeef;
|
||||
res = DeviceIoControl(file, IOCTL_WINETEST_GET_CANCEL_COUNT, NULL, 0, &cancel_cnt, sizeof(cancel_cnt), NULL, &overlapped);
|
||||
ok(res, "DeviceIoControl failed: %u\n", GetLastError());
|
||||
todo_wine
|
||||
ok(cancel_cnt == 2, "cancel_cnt = %u\n", cancel_cnt);
|
||||
|
||||
|
|
Loading…
Reference in New Issue