/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar

« back to all changes in this revision

Viewing changes to bzrlib/tests/per_branch/test_permissions.py

  • Committer: John Arbash Meinel
  • Date: 2009-12-10 17:16:19 UTC
  • mfrom: (4884 +trunk)
  • mto: This revision was merged to the branch mainline in revision 4889.
  • Revision ID: john@arbash-meinel.com-20091210171619-ehdcxjbl8afhq9g1
Bring in bzr.dev 4884

Show diffs side-by-side

added added

removed removed

Lines of Context:
91
91
                                          ' permission logic')
92
92
        if sys.platform == 'win32':
93
93
            raise tests.TestNotApplicable('chmod has no effect on win32')
94
 
        elif sys.platform == 'darwin':
95
 
            # OS X creates temp dirs with the 'wheel' group, which users are
96
 
            # not likely to be in, and this prevents us from setting the sgid
97
 
            # bit
 
94
        elif sys.platform == 'darwin' or sys.platform.startswith('freebsd'):
 
95
            # OS X (and FreeBSD) create temp dirs with the 'wheel' group, which
 
96
            # users are not likely to be in, and this prevents us from setting
 
97
            # the sgid bit
98
98
            os.chown(self.test_dir, os.getuid(), os.getgid())
99
99
        # also, these are BzrBranch format specific things..
100
100
        t = self.make_branch_and_tree('.')