kernel32/tests: Add tests to verify USERPROFILE and environment variables from registry are present and correct
ggeldorp at vmware.com
Sun Dec 19 10:47:42 CST 2010
Since tests get run from a service on TestBot VMs, not all environment
variables were set up correctly on all VMs. Most notably, %USERPROFILE%
was pointing to the user profile directory of the default user instead of
the user as which the tests are being run. The most visible result of this
was msi:install failures on the NT4 VMs with message "Per-user icon file
isn't where it's expected".
This was of course a problem in TestBot, not in Wine or the Wine tests.
The problem has now been fixed in TestBot, but it would still be good to
have tests which explicitly verify that %USERPROFILE% is set correctly.
While I was at it, I also added tests to verify that permanent environment
variables set via the registry are also present and correct.
dlls/kernel32/tests/environ.c | 109
1 files changed, 109 insertions(+), 0 deletions(-)
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 5405 bytes
Desc: not available
More information about the wine-patches