Robert van Herk mijnspamboxje@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.