http://bugs.winehq.org/show_bug.cgi?id=13538
Summary: netapi/access test doesn't delete testuser home directories after the test Product: Wine Version: CVS/GIT Platform: PC OS/Version: Windows XP Status: UNCONFIRMED Severity: minor Priority: P5 Component: testcases AssignedTo: wine-bugs@winehq.org ReportedBy: Paul.Vriens.Wine@gmail.com CC: kai.blin@gmail.com
On XP and up (W2K3 and Vista) the netapi/access tests leaves user directories behind.
Every new winetest run (or manual netapi/access test run) will create a testuser. The NetUserDel function is used to remove this testuser from the system. As of XP, NetUserDel doesn't seem to delete the user's home directory.
The tests won't fail when a new test is run but you will end up with several home directories. For example (on my XP box):
C:\Documents and Settings\testuser C:\Documents and Settings\testuser.XP
I guess the delete_test_user function should be changed to:
- find out the created home directory - delete the user account - delete the home directory if it exists
The home directories can be deleted without a problem btw.
We also need to make sure that older testuser directories get deleted (will be a one time thingy probably).