ChangeSet ID: 21120 CVSROOT: /opt/cvs-commit Module name: wine Changes by: julliard@winehq.org 2005/11/05 04:42:57
Modified files: dlls/msi/tests : db.c
Log message: Saulius Krasuckas saulius.krasuckas@ieee.org Win9x returns MSIDBERROR_NOERROR.
Patch: http://cvs.winehq.org/patch.py?id=21120
Old revision New revision Changes Path 1.16 1.17 +2 -1 wine/dlls/msi/tests/db.c
Index: wine/dlls/msi/tests/db.c diff -u -p wine/dlls/msi/tests/db.c:1.16 wine/dlls/msi/tests/db.c:1.17 --- wine/dlls/msi/tests/db.c:1.16 5 Nov 2005 10:42:57 -0000 +++ wine/dlls/msi/tests/db.c 5 Nov 2005 10:42:57 -0000 @@ -400,7 +400,8 @@ static void test_viewmodify(void)
/* see what happens with a good hview and bad args */ r = MsiViewGetError( hview, NULL, NULL ); - ok(r == MSIDBERROR_INVALIDARG, "MsiViewGetError return\n"); + ok(r == MSIDBERROR_INVALIDARG || r == MSIDBERROR_NOERROR, + "MsiViewGetError returns %u (expected -3)\n", r); r = MsiViewGetError( hview, buffer, NULL ); ok(r == MSIDBERROR_INVALIDARG, "MsiViewGetError return\n");