MSI/tests: fix 1 test failure for 9x
Saulius Krasuckas
saulius2 at ar.fi.lt
Fri Nov 4 08:42:09 CST 2005
Log message:
Saulius Krasuckas <saulius.krasuckas at ieee.org>
Win9x returns MSIDBERROR_NOERROR.
Index: dlls/msi/tests/db.c
===================================================================
RCS file: /home/wine/wine/dlls/msi/tests/db.c,v
retrieving revision 1.16
diff -p -u -r1.16 db.c
--- dlls/msi/tests/db.c 28 Sep 2005 11:59:40 -0000 1.16
+++ dlls/msi/tests/db.c 4 Nov 2005 13:43:10 -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 %ld (expected -3)\n", r);
r = MsiViewGetError( hview, buffer, NULL );
ok(r == MSIDBERROR_INVALIDARG, "MsiViewGetError return\n");
More information about the wine-patches
mailing list