kernel32/tests: Add a forgotten if statement.
This commit is contained in:
parent
042bdefe5e
commit
7a6fbf2b09
|
@ -237,6 +237,7 @@ static void test_profile_sections_names(void)
|
||||||
/* Test with sufficiently large buffer */
|
/* Test with sufficiently large buffer */
|
||||||
SetLastError(0xdeadbeef);
|
SetLastError(0xdeadbeef);
|
||||||
ret = GetPrivateProfileSectionNamesW( bufW, 29, testfile3W );
|
ret = GetPrivateProfileSectionNamesW( bufW, 29, testfile3W );
|
||||||
|
if (ret == 0 && (GetLastError() == ERROR_CALL_NOT_IMPLEMENTED))
|
||||||
{
|
{
|
||||||
skip("GetPrivateProfileSectionNamesW is not implemented\n");
|
skip("GetPrivateProfileSectionNamesW is not implemented\n");
|
||||||
DeleteFileA( testfile3 );
|
DeleteFileA( testfile3 );
|
||||||
|
|
Loading…
Reference in New Issue