[NTDLL_APITEST]

- Add two test cases for RtlFindClearBits/RtlFindSetBits that crash on ROS

svn path=/trunk/; revision=62690
This commit is contained in:
Thomas Faber 2014-04-08 20:57:03 +00:00
parent 2e786d24d0
commit e2ce9d5f37

View file

@ -409,6 +409,8 @@ Test_RtlFindClearBits(void)
ok_int(RtlFindClearBits(&BitMapHeader, 5, 64), 20);
ok_int(RtlFindClearBits(&BitMapHeader, 9, 28), 27);
ok_int(RtlFindClearBits(&BitMapHeader, 10, 0), -1);
Buffer[1] = 0xFF303F30;
ok_int(RtlFindClearBits(&BitMapHeader, 1, 56), 1);
FreeGuarded(Buffer);
}
@ -457,6 +459,7 @@ Test_RtlFindSetBits(void)
ok_int(RtlFindSetBits(&BitMapHeader, 5, 64), 20);
ok_int(RtlFindSetBits(&BitMapHeader, 6, 57), 40);
ok_int(RtlFindSetBits(&BitMapHeader, 7, 0), -1);
ok_int(RtlFindSetBits(&BitMapHeader, 1, 62), 1);
FreeGuarded(Buffer);
}