'Verify that file inode/device/nlinks/uid/gid stats are numbers in
a POSIX environment'

def test_statinfoBitsAreNumbers(self):

    numbers = (int, long)
    c = self.path.child('file1')
    for p in (self.path, c):
        self.assertIsInstance(p.getInodeNumber(), numbers)
        self.assertIsInstance(p.getDevice(), numbers)
        self.assertIsInstance(p.getNumberOfHardLinks(), numbers)
        self.assertIsInstance(p.getUserID(), numbers)
        self.assertIsInstance(p.getGroupID(), numbers)
    self.assertEqual(self.path.getUserID(), c.getUserID())
    self.assertEqual(self.path.getGroupID(), c.getGroupID())
