[NTDLL_APITEST]

- Fix a test failure on WHS-Testbot

svn path=/trunk/; revision=69331
This commit is contained in:
Thomas Faber 2015-09-23 15:53:24 +00:00
parent 8953816270
commit c43914c6a7

View file

@ -25,7 +25,8 @@ START_TEST(NtOpenThreadToken)
TRUE,
&TokenHandle);
ok(Status == STATUS_NO_TOKEN, "Status = %lx\n", Status);
ok(TokenHandle == NULL, "TokenHandle = %p\n", TokenHandle);
ok(TokenHandle == (HANDLE)0x55555555 /* 2003 */ ||
TokenHandle == NULL /* Win7 */, "TokenHandle = %p\n", TokenHandle);
Status = RtlImpersonateSelf(SecurityImpersonation);
ok(Status == STATUS_SUCCESS, "Status = %lx\n", Status);