msi: win95 returns ERROR_BAD_PATHNAME.

This commit is contained in:
James Hawkins 2008-03-20 00:05:32 -07:00 committed by Alexandre Julliard
parent e94b065df3
commit a9ebec9849
1 changed files with 2 additions and 1 deletions

View File

@ -304,7 +304,8 @@ static void test_MsiGetFileHash(void)
/* szFilePath is empty */
r = pMsiGetFileHashA("", 0, &hash);
ok(r == ERROR_PATH_NOT_FOUND, "Expected ERROR_PATH_NOT_FOUND, got %d\n", r);
ok(r == ERROR_PATH_NOT_FOUND || r == ERROR_BAD_PATHNAME,
"Expected ERROR_PATH_NOT_FOUND or ERROR_BAD_PATHNAME, got %d\n", r);
/* szFilePath is nonexistent */
r = pMsiGetFileHashA(name, 0, &hash);