'Test that we can guess a pathspec from a path.'

def testGuessPathSpec(self):

    path = os.path.join(self.base_path, 'test_img.dd', 'home/image2.img', 'home/a.txt')
    pathspec = rdf_paths.PathSpec(path=path, pathtype=rdf_paths.PathSpec.PathType.OS)
    fd = vfs.VFSOpen(pathspec)
    self.assertEqual(fd.read(3), 'yay')
