msi: Fix regression tests failing on Windows.

This commit is contained in:
Mike McCormack 2006-11-07 15:06:09 +09:00 committed by Alexandre Julliard
parent c5c5521015
commit 2b943bfddc
1 changed files with 6 additions and 6 deletions

View File

@ -2395,13 +2395,13 @@ static void test_join(void)
size = MAX_PATH;
r = MsiRecordGetString( hrec, 2, buf, &size );
ok( r == ERROR_SUCCESS, "failed to get record string: %d\n", r );
if( !lstrcmp( buf, join_res_fifth[i].two ))
if( lstrcmp( buf, join_res_fifth[i].two ))
data_correct = FALSE;
i++;
MsiCloseHandle(hrec);
}
todo_wine ok( data_correct, "data returned in the wrong order\n");
ok( data_correct, "data returned in the wrong order\n");
ok( i == 1, "Expected 1 rows, got %d\n", i );
ok( r == ERROR_NO_MORE_ITEMS, "expected no more items: %d\n", r );
@ -2551,25 +2551,25 @@ static void test_join(void)
size = MAX_PATH;
r = MsiRecordGetString( hrec, 1, buf, &size );
ok( r == ERROR_SUCCESS, "failed to get record string: %d\n", r );
if( !lstrcmp( buf, join_res_eighth[i].one ))
if( lstrcmp( buf, join_res_eighth[i].one ))
data_correct = FALSE;
size = MAX_PATH;
r = MsiRecordGetString( hrec, 2, buf, &size );
ok( r == ERROR_SUCCESS, "failed to get record string: %d\n", r );
if( !lstrcmp( buf, join_res_eighth[i].two ))
if( lstrcmp( buf, join_res_eighth[i].two ))
data_correct = FALSE;
size = MAX_PATH;
r = MsiRecordGetString( hrec, 3, buf, &size );
ok( r == ERROR_SUCCESS, "failed to get record string: %d\n", r );
if( !lstrcmp( buf, join_res_eighth[i].three ))
if( lstrcmp( buf, join_res_eighth[i].three ))
data_correct = FALSE;
size = MAX_PATH;
r = MsiRecordGetString( hrec, 4, buf, &size );
ok( r == ERROR_SUCCESS, "failed to get record string: %d\n", r );
if( !lstrcmp( buf, join_res_eighth[i].four ))
if( lstrcmp( buf, join_res_eighth[i].four ))
data_correct = FALSE;
i++;