'Test directory listing in sleuthkit.'

def testTSKListDirectory(self):

    path = os.path.join(self.base_path, u'test_img.dd')
    ps2 = rdf_paths.PathSpec(path=u'\u5165\u4e61\u968f\u4fd7    \u6d77\u5916\u6625\u8282\u522b\u6837\u8fc7\u6cd5', pathtype=rdf_paths.PathSpec.PathType.TSK)
    ps = rdf_paths.PathSpec(path=path, pathtype=rdf_paths.PathSpec.PathType.OS)
    ps.Append(ps2)
    directory = vfs.VFSOpen(ps)
    self.CheckDirectoryListing(directory, u'\u5165\u4e61\u968f\u4fd7.txt')
