~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/blackbox/test_upgrade.py

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2010-03-24 07:27:44 UTC
  • mfrom: (5094.3.2 integration)
  • Revision ID: pqm@pqm.ubuntu.com-20100324072744-2fod6mq1jqijs7c0
(mbp, for parthm) inherit permissions on \~/.bazaar etc

Show diffs side-by-side

added added

removed removed

Lines of Context:
151
151
 
152
152
    def test_upgrade_permission_check(self):
153
153
        """'backup.bzr' should retain permissions of .bzr. Bug #262450"""
154
 
        self.requireFeature(features.PosixPermissionsFeature)
 
154
        self.requireFeature(features.posix_permissions_feature)
155
155
        old_perms = stat.S_IRUSR | stat.S_IWUSR | stat.S_IXUSR
156
156
        backup_dir = 'backup.bzr.~1~'
157
157
        self.run_bzr('init --format=1.6')