'Ensure we can enumerate file systems successfully.'

def testFileSystemEnumeration64Bit(self):

    path = os.path.join(self.base_path, 'osx_fsdata')
    results = self.osx.client_utils_osx.ParseFileSystemsStruct(self.osx.client_utils_osx.StatFS64Struct, 7, open(path, 'rb').read())
    self.assertEqual(len(results), 7)
    self.assertEqual(results[0].f_fstypename, 'hfs')
    self.assertEqual(results[0].f_mntonname, '/')
    self.assertEqual(results[0].f_mntfromname, '/dev/disk0s2')
    self.assertEqual(results[2].f_fstypename, 'autofs')
    self.assertEqual(results[2].f_mntonname, '/auto')
    self.assertEqual(results[2].f_mntfromname, 'map    auto.auto')
