small bugfix

svn path=/trunk/; revision=28161
This commit is contained in:
Timo Kreuzer 2007-08-04 16:51:10 +00:00
parent 2669c54fcc
commit 5f857c9cba
2 changed files with 5 additions and 6 deletions

View file

@ -156,14 +156,14 @@ TestMain(LPWSTR pszName, LPWSTR pszModule)
printf(" regressions: %d\n", orfailed);
}
if (ti.bRegress)
return ti.rfailed;
if (bStatus)
{
write(hFile, szFileFooter, strlen(szFileFooter));
close(hFile);
}
if (ti.bRegress)
return ti.rfailed;
return ti.failed;
}

View file

@ -142,6 +142,7 @@ WinMain(HINSTANCE hInstance,
int nCmdShow)
{
g_hInstance = hInstance;
printf("Win32k native API test\n");
@ -155,7 +156,5 @@ WinMain(HINSTANCE hInstance,
printf("\n");
TestMain(L"w32knapi", L"win32k.sys Nt-Api");
return 0;
return TestMain(L"w32knapi", L"win32k.sys Nt-Api");
}