msi/tests: Make tests pass for Windows Installer 3.0 [1/3]
Ge van Geldorp
ge at gse.nl
Sun Jan 18 17:37:56 CST 2009
Windows Installer 3.0 seems to check parameter consistency earlier,
causing it to return ERROR_INVALID_PARAMETER more often than later
versions. In particular, it doesn't like it when you pass a NULL buffer
but a non-zero size which is what we did in a lot of tests. Changed to
pass a buffer and then check that the buffer is not modified.
Changelog:
msi/tests: Windows Installer 3.0 often returns ERROR_INVALID_PARAMETER
---
dlls/msi/tests/install.c | 64 +++++++++++++--------
dlls/msi/tests/source.c | 147
++++++++++++++++++++++++++++++----------------
2 files changed, 136 insertions(+), 75 deletions(-)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 7257ae3c726c04bd44d0267af30414ea43e3dcb0.diff
Type: text/x-patch
Size: 20665 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20090119/4561e179/attachment.bin
More information about the wine-patches
mailing list