http://bugs.winehq.org/show_bug.cgi?id=14334
--- Comment #10 from Dmitry Timoshkov dmitry@codeweavers.com 2008-09-10 06:09:17 --- (In reply to comment #9)
Anyway, what I really wanted to ask is how I go about testing my fix. How do you test the server ? Indirectly by testing the dll API ? That would be advapi32 in this case ? Do I need to be looking a chapter 5 of the Wine Developer's Guide ?
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.
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?