Zebediah Figura : ntoskrnl/tests: Fix a test failure.
Alexandre Julliard
julliard at winehq.org
Wed Jul 13 16:54:55 CDT 2022
Module: wine
Branch: master
Commit: 03034f2c0ef23964891d60e5995d167a113f2d3e
URL: https://gitlab.winehq.org/wine/wine/-/commit/03034f2c0ef23964891d60e5995d167a113f2d3e
Author: Zebediah Figura <zfigura at codeweavers.com>
Date: Tue Jul 12 21:26:07 2022 -0500
ntoskrnl/tests: Fix a test failure.
---
dlls/ntoskrnl.exe/tests/driver_pnp.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/dlls/ntoskrnl.exe/tests/driver_pnp.c b/dlls/ntoskrnl.exe/tests/driver_pnp.c
index 9727292d65d..1f22c4b9997 100644
--- a/dlls/ntoskrnl.exe/tests/driver_pnp.c
+++ b/dlls/ntoskrnl.exe/tests/driver_pnp.c
@@ -700,7 +700,8 @@ static NTSTATUS fdo_ioctl(IRP *irp, IO_STACK_LOCATION *stack, ULONG code)
* handles to the device are closed (and the user-space thread is
* currently blocked in this ioctl and won't close its handle
* yet.) */
- ok(!remove_device_count, "Got %u remove events.\n", remove_device_count);
+ todo_wine_if (remove_device_count)
+ ok(!remove_device_count, "Got %u remove events.\n", remove_device_count);
return STATUS_SUCCESS;
}
More information about the wine-cvs
mailing list