msvcrt/tests: Remove wrong FreeLibrary and fix typo's.
This commit is contained in:
parent
16d9123377
commit
059436d536
|
@ -187,7 +187,7 @@ static void InitFunctionPtrs(void)
|
||||||
hMsvcrt = GetModuleHandleA("msvcrt.dll");
|
hMsvcrt = GetModuleHandleA("msvcrt.dll");
|
||||||
if (!hMsvcrt)
|
if (!hMsvcrt)
|
||||||
hMsvcrt = GetModuleHandleA("msvcrtd.dll");
|
hMsvcrt = GetModuleHandleA("msvcrtd.dll");
|
||||||
ok(hMsvcrt != 0, "LoadLibraryA failed\n");
|
ok(hMsvcrt != 0, "GetModuleHandleA failed\n");
|
||||||
if (hMsvcrt)
|
if (hMsvcrt)
|
||||||
{
|
{
|
||||||
SETNOFAIL(poperator_new, "??_U@YAPAXI@Z");
|
SETNOFAIL(poperator_new, "??_U@YAPAXI@Z");
|
||||||
|
@ -1004,8 +1004,5 @@ START_TEST(cpp)
|
||||||
test_rtti();
|
test_rtti();
|
||||||
test_demangle_datatype();
|
test_demangle_datatype();
|
||||||
test_demangle();
|
test_demangle();
|
||||||
|
|
||||||
if (hMsvcrt)
|
|
||||||
FreeLibrary(hMsvcrt);
|
|
||||||
}
|
}
|
||||||
#endif /* __i386__ */
|
#endif /* __i386__ */
|
||||||
|
|
|
@ -135,7 +135,7 @@ START_TEST(string)
|
||||||
hMsvcrt = GetModuleHandleA("msvcrt.dll");
|
hMsvcrt = GetModuleHandleA("msvcrt.dll");
|
||||||
if (!hMsvcrt)
|
if (!hMsvcrt)
|
||||||
hMsvcrt = GetModuleHandleA("msvcrtd.dll");
|
hMsvcrt = GetModuleHandleA("msvcrtd.dll");
|
||||||
ok(hMsvcrt != 0, "LoadLibraryA failed\n");
|
ok(hMsvcrt != 0, "GetModuleHandleA failed\n");
|
||||||
SET(pmemcpy,"memcpy");
|
SET(pmemcpy,"memcpy");
|
||||||
SET(pmemcmp,"memcmp");
|
SET(pmemcmp,"memcmp");
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue