[Bug 13538] New: netapi/access test doesn't delete testuser home directories after the test

wine-bugs at winehq.org wine-bugs at winehq.org
Fri May 30 03:43:33 CDT 2008


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 at winehq.org
        ReportedBy: Paul.Vriens.Wine at gmail.com
                CC: kai.blin at 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).


-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
Do not reply to this email, post in Bugzilla using the
above URL to reply.
------- You are receiving this mail because: -------
You are watching all bug changes.



More information about the wine-bugs mailing list