msi: fixed MsiGetFileHashW for empty files (try 2)
Alexandre Julliard
julliard at winehq.org
Wed Apr 4 12:15:10 CDT 2012
Robert van Herk <mijnspamboxje at hotmail.com> writes:
> @@ -493,6 +493,45 @@ static void test_MsiGetFileHash(void)
> }
> }
>
> +static void test_MsiGetFileHashForEmptyFile(void) {
> + char path[MAX_PATH];
> + MSIFILEHASHINFO hi;
> + char file[MAX_PATH];
> + UINT res;
> +
> + /* Create empty temp file */
> + GetTempPath(
> + MAX_PATH,
> + path
> + );
You should add that to the existing MsiGetFileHash tests, there's no
need for a separate function.
--
Alexandre Julliard
julliard at winehq.org
More information about the wine-devel
mailing list