Mike McCormack : msi: Fix regression tests failing on Windows.
Alexandre Julliard
julliard at wine.codeweavers.com
Tue Nov 7 10:16:42 CST 2006
Module: wine
Branch: master
Commit: 2b943bfddc0c28eadc4fce3232648fed1340f9d7
URL: http://source.winehq.org/git/wine.git/?a=commit;h=2b943bfddc0c28eadc4fce3232648fed1340f9d7
Author: Mike McCormack <mike at codeweavers.com>
Date: Tue Nov 7 15:06:09 2006 +0900
msi: Fix regression tests failing on Windows.
---
dlls/msi/tests/db.c | 12 ++++++------
1 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/dlls/msi/tests/db.c b/dlls/msi/tests/db.c
index 9d03f46..1bca0d3 100644
--- a/dlls/msi/tests/db.c
+++ b/dlls/msi/tests/db.c
@@ -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++;
More information about the wine-cvs
mailing list