Commit ecc948ab authored by James Hawkins's avatar James Hawkins Committed by Alexandre Julliard

msi: Fix a few test failures on win9x.

parent afb575d5
...@@ -391,10 +391,11 @@ static void test_summary_binary(void) ...@@ -391,10 +391,11 @@ static void test_summary_binary(void)
type = 0; type = 0;
r = MsiSummaryInfoGetProperty(hsuminfo, PID_LASTPRINTED, &type, NULL, NULL, sval, &sz); r = MsiSummaryInfoGetProperty(hsuminfo, PID_LASTPRINTED, &type, NULL, NULL, sval, &sz);
ok(r == ERROR_SUCCESS, "MsiSummaryInfoGetProperty failed\n"); 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 { todo_wine {
ok(type == VT_LPSTR, "Expected VT_LPSTR, got %d\n", type); 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; ival = -1;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment