Author: tkreuzer
Date: Sat Aug 4 20:51:10 2007
New Revision: 28161
URL:
http://svn.reactos.org/svn/reactos?rev=28161&view=rev
Log:
small bugfix
Modified:
trunk/rostests/apitests/apitest.c
trunk/rostests/apitests/w32knapi/w32knapi.c
Modified: trunk/rostests/apitests/apitest.c
URL:
http://svn.reactos.org/svn/reactos/trunk/rostests/apitests/apitest.c?rev=28…
==============================================================================
--- trunk/rostests/apitests/apitest.c (original)
+++ trunk/rostests/apitests/apitest.c Sat Aug 4 20:51:10 2007
@@ -156,14 +156,14 @@
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;
}
Modified: trunk/rostests/apitests/w32knapi/w32knapi.c
URL:
http://svn.reactos.org/svn/reactos/trunk/rostests/apitests/w32knapi/w32knap…
==============================================================================
--- trunk/rostests/apitests/w32knapi/w32knapi.c (original)
+++ trunk/rostests/apitests/w32knapi/w32knapi.c Sat Aug 4 20:51:10 2007
@@ -142,6 +142,7 @@
int nCmdShow)
{
g_hInstance = hInstance;
+
printf("Win32k native API test\n");
@@ -155,7 +156,5 @@
printf("\n");
- TestMain(L"w32knapi", L"win32k.sys Nt-Api");
-
- return 0;
+ return TestMain(L"w32knapi", L"win32k.sys Nt-Api");
}