On Android application runs with its CWD set to / and so the path
test modified in this commit expects to find a path of the //one form
which is not what the combine operation returns.
Assert.AreEqual ("one", path);
path = UnixPath.Combine (current, "one");
Assert.AreEqual ("one", path);
path = UnixPath.Combine (current, "one");
- expected = current + DSC + "one";
+ expected = (current == "/" ? String.Empty : current) + DSC + "one";
Assert.AreEqual (expected, path);
path = UnixPath.Combine ("one", current);
Assert.AreEqual (expected, path);
path = UnixPath.Combine ("one", current);