[KMTESTS:NTOS_IO] Fix check of spinlocks in case of checked builds

Down back to zero failures
This commit is contained in:
Jérôme Gardou 2021-07-23 17:38:22 +02:00
parent 59e1b7848b
commit 2289deb849

View file

@ -14,6 +14,8 @@
{ \
if (KmtIsMultiProcessorBuild) \
ok_eq_ulongptr(*(Lock), (Locked) != 0); \
else if (KmtIsCheckedBuild) \
ok_eq_bool(*(Lock) != 0, (Locked) != 0); \
else \
ok_eq_ulongptr(*(Lock), 0); \
} while (0)