Lines Matching refs:gid
238 tarinfo.uid = tarinfo.gid = 100
921 kwargs["gid"] = 100
1160 self.assertEqual(tarinfo.gid, 123)
2017 t.gid = 124
2026 self.assertEqual(info['gid'], 124)
2041 t.gid = 8**8+1 # too big
2049 self.assertEqual(info['gid'], 0)
2055 + b'16 gid=16777217\n20 size=10000000000\n' \
2881 # directory. Assign various .uid/.gid values to them
2887 for name, uid, gid, typ, contents in items:
2890 t.gid = gid
2963 # this test requires that uid=0 and gid=0 really be named 'root'. that's
2965 # will look them up using pwd and grp to find their uid and gid, which we
2968 'uid=0,gid=0 must be named "root"')
3018 'uid', 'gid', 'uname', 'gname'):
3109 with self.extract_with_none('gid'):
3121 with self.extract_with_none('uid', 'gid', 'uname', 'gname'):
3157 for attr_name in ('mtime', 'mode', 'uid', 'gid',
3170 for attr_names in ({'mtime'}, {'mode'}, {'uid'}, {'gid'},
3172 {'uid', 'uname'}, {'gid', 'gname'}):
3211 elif attr_names == {'gid'} and expected.endswith((b'/100')):
3222 elif attr_names == {'gname', 'gid'} and expected.endswith(