kernel32/tests: Fix actctx tests on Vista+

Ge van Geldorp ggeldorp at vmware.com
Mon Sep 14 09:51:08 CDT 2009


Vista and higher seem to cache the presence/absence of external .manifest
files. When starting "kernel32_test.exe actctx" Windows appears to record
that no kernel32_test.exe.manifest file is present. As part of the test,
we create that manifest file and launch "kernel32_test.exe actctx
manifest1" to do some tests with an external .manifest file. However,
Windows simply doesn't seem to load the .manifest in the child process.

If I start from a clean snapshot, manually create the .manifest file and
then run the child test ("kernel32_test.exe actctx manifest1") the child
test runs fine. After removing the .manifest file and running the parent
test ("kernel32_test.exe actctx") the child will still load the .manifest
correctly.

Changing the last modified date of the executable appears to prevent the
cache from being used.

Changelog:
  kernel32/tests: Fix actctx tests on Vista+

---
 dlls/kernel32/tests/actctx.c |   30 ++++++++++++++++++++++-------- 1
files changed, 22 insertions(+), 8 deletions(-)




-------------- next part --------------
A non-text attachment was scrubbed...
Name: 7fbb1ef6e138d80df8c14e0b2e4c1525fc22e8f6.diff
Type: text/x-patch
Size: 3672 bytes
Desc: not available
URL: <http://www.winehq.org/pipermail/wine-patches/attachments/20090914/741ebf8f/attachment-0001.bin>


More information about the wine-patches mailing list