http://bugs.winehq.org/show_bug.cgi?id=14334
--- Comment #11 from Forester pbronline-wine@yahoo.co.uk 2008-09-16 13:44:34 --- (In reply to comment #10)
Yes, the server code is tested indirectly by calling appropriate Win32 APIs. I'd write a test which calls GetTempPath(), creates a file there, then calls GetFileSecurity() on both - temp directory and a temp file, and examines returned data. Since the temp directory is supposed to be world writable that should emulate the case of this bug.
I've hit another snag. I built advapi32_crosstest.exe using the cross compiler and have run it in a Windows VM. It says:
CreateWellKnownSid is not available
and skips all the interesting tests.
The VM has a new installation of W2K SP2. Is this telling me I need to install SP4 ?
Is it ethical to install Windows from an old OEM disk on a new computer even in a virtual machine ?
Does the license explicitly forbid that?
No. But how do I affix the COA to a VM ?