// Test that the same path ending with the separator results in the
// same list being returned.
VirtualFile dir1abs = new VirtualFile(
PathUtilTest.joinAbs("mydir", ""), store);
assertFalse(dir1.getName().equals(dir1abs.getName()));
String[] childrenAbs = dir1abs.list();
assertEquals(1, childrenAbs.length);
assertEquals(children[0], childrenAbs[0]);
// The deleteAll below shouldn't delete "mydirectory" and "file2.txt"..
assertFalse(dir1.delete());
assertTrue(dir1.deleteAll());