Module: wine Branch: master Commit: a9ebec9849438833f1e471373ceba23595a561fb URL: http://source.winehq.org/git/wine.git/?a=commit;h=a9ebec9849438833f1e471373c...
Author: James Hawkins jhawkins@codeweavers.com Date: Thu Mar 20 00:05:32 2008 -0700
msi: win95 returns ERROR_BAD_PATHNAME.
---
dlls/msi/tests/msi.c | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/dlls/msi/tests/msi.c b/dlls/msi/tests/msi.c index 5da8673..62219fd 100644 --- a/dlls/msi/tests/msi.c +++ b/dlls/msi/tests/msi.c @@ -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);