msi: Fix a few test failures on win9x.

This commit is contained in:
James Hawkins 2008-03-17 15:40:53 -07:00 committed by Alexandre Julliard
parent afb575d599
commit ecc948ab48
1 changed files with 3 additions and 2 deletions

View File

@ -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;