James Hawkins : msi: Fix a few test failures on win9x.
Alexandre Julliard
julliard at winehq.org
Tue Mar 18 07:44:47 CDT 2008
Module: wine
Branch: master
Commit: ecc948ab4873cabfe4fca9a9d9dcb37193064b76
URL: http://source.winehq.org/git/wine.git/?a=commit;h=ecc948ab4873cabfe4fca9a9d9dcb37193064b76
Author: James Hawkins <jhawkins at codeweavers.com>
Date: Mon Mar 17 15:40:53 2008 -0700
msi: Fix a few test failures on win9x.
---
dlls/msi/tests/suminfo.c | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/dlls/msi/tests/suminfo.c b/dlls/msi/tests/suminfo.c
index 6ef98f7..3afd0d5 100644
--- a/dlls/msi/tests/suminfo.c
+++ b/dlls/msi/tests/suminfo.c
@@ -391,10 +391,11 @@ static void test_summary_binary(void)
type = 0;
r = MsiSummaryInfoGetProperty(hsuminfo, PID_LASTPRINTED, &type, NULL, NULL, sval, &sz);
ok(r == ERROR_SUCCESS, "MsiSummaryInfoGetProperty failed\n");
- ok(!strcmp(sval, ""), "Expected empty string, got %s\n", sval);
+ ok(!lstrcmpA(sval, "") || !lstrcmpA(sval, "7"),
+ "Expected empty string or \"7\", got \"%s\"\n", sval);
todo_wine {
ok(type == VT_LPSTR, "Expected VT_LPSTR, got %d\n", type);
- ok(sz == 0, "Expected 0, got %d\n", sz);
+ ok(sz == 0 || sz == 1, "Expected 0 or 1, got %d\n", sz);
}
ival = -1;
More information about the wine-cvs
mailing list