@Test (timeout = 30000)
public void testAbsoluteGlob() throws Exception {

  PathData[] items = PathData.expandAsGlob(testDir+"/d1/f1*", conf);
  assertEquals(
      sortedString(testDir+"/d1/f1", testDir+"/d1/f1.1"),
      sortedString(items)
  );
  
  String absolutePathNoDriveLetter = testDir+"/d1/f1";
  if (Shell.WINDOWS) {
    // testDir is an absolute path with a drive letter on Windows, i.e.
    // c:/some/path
    // and for the test we want something like the following
    // /some/path
    absolutePathNoDriveLetter = absolutePathNoDriveLetter.substring(2);
  }
  items = PathData.expandAsGlob(absolutePathNoDriveLetter, conf);
  assertEquals(
      sortedString(absolutePathNoDriveLetter),
      sortedString(items)
  );
  items = PathData.expandAsGlob(".", conf);
  assertEquals(
      sortedString("."),
      sortedString(items)
  );
}