setupapi/tests: Fix remaining failures on Win9x.

This commit is contained in:
Paul Vriens 2009-05-15 11:05:48 +02:00 committed by Alexandre Julliard
parent 713183200b
commit 644f57679b
1 changed files with 6 additions and 0 deletions

View File

@ -589,6 +589,12 @@ static void test_SetupGetIntField(void)
retb = SetupGetIntField( &context, keys[i].index, &intfield ); retb = SetupGetIntField( &context, keys[i].index, &intfield );
if ( keys[i].err == ERROR_SUCCESS ) if ( keys[i].err == ERROR_SUCCESS )
{ {
if ( !retb && !lstrcmpA( keys[i].key, "123=" ) )
{
win_skip( "results differ on Win9x\n" );
SetupCloseInfFile( hinf );
continue;
}
ok( retb, "%u: Expected success\n", i ); ok( retb, "%u: Expected success\n", i );
ok( GetLastError() == ERROR_SUCCESS || ok( GetLastError() == ERROR_SUCCESS ||
GetLastError() == 0xdeadbeef /* win9x, NT4 */, GetLastError() == 0xdeadbeef /* win9x, NT4 */,