[Mono-bugs] [Bug 676798] New: Directory.GetDirectories with slash returns incorrect list

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Thu Mar 3 14:14:21 EST 2011



           Summary: Directory.GetDirectories with slash returns incorrect
    Classification: Mono
           Product: Mono: Class Libraries
           Version: 2.10.x
          Platform: Other
        OS/Version: Windows 7
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: System
        AssignedTo: mono-bugs at lists.ximian.com
        ReportedBy: lesnikowski at gmail.com
         QAContact: mono-bugs at lists.ximian.com
          Found By: Development
           Blocker: No

public void Method_Condition_Result()
        string[] directories = Directory.GetDirectories(@"./tmp/");

        //Expected: "./tmp/folder"
        //But was:  ".\\folder"
        Assert.AreEqual(@"./tmp/folder", directories[0]);
        Directory.Delete(@".\tmp\", true);

Actual Results:

Expected Results:

How often does this happen? 
Every time.

Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.

More information about the mono-bugs mailing list