Merge pull request #32422 from eradman/env_test

Do not assume temporary files have the user's gid
This commit is contained in:
Nicole Thomas 2016-04-08 10:16:50 -06:00
commit 6a88b5ef29

View File

@ -91,7 +91,6 @@ class TestVerify(TestCase):
self.assertTrue(os.path.exists(var_dir))
dir_stat = os.stat(var_dir)
self.assertEqual(dir_stat.st_uid, os.getuid())
self.assertEqual(dir_stat.st_gid, os.getgid())
self.assertEqual(dir_stat.st_mode & stat.S_IRWXU, stat.S_IRWXU)
self.assertEqual(dir_stat.st_mode & stat.S_IRWXG, 40)
self.assertEqual(dir_stat.st_mode & stat.S_IRWXO, 5)