~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/test_transform.py

  • Committer: Vincent Ladeuil
  • Date: 2009-04-06 11:41:40 UTC
  • mto: (4241.10.1 bzr.1.14)
  • mto: This revision was merged to the branch mainline in revision 4267.
  • Revision ID: v.ladeuil+lp@free.fr-20090406114140-198qzpk26q3ll8or
Fix test_case_insensitive_build_tree_inventory failure on OSX.

* bzrlib/tests/test_transform.py:
(TestBuildTree.test_case_insensitive_build_tree_inventory): This
should have fail earlier, but it fails only since
bzr.dev@4216 (with _cicp_canonical_relpath activated for
OSX). Anyway, this test requires a true case sensitive file
system.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1841
1841
        self.assertTrue(source.is_executable('file1-id'))
1842
1842
 
1843
1843
    def test_case_insensitive_build_tree_inventory(self):
 
1844
        if (not tests.CaseInsensitiveFilesystemFeature.available()
 
1845
            or not tests.CaseInsCasePresFilenameFeature.available()):
 
1846
            raise tests.UnavailableFeature('Fully case sensitive filesystem')
1844
1847
        source = self.make_branch_and_tree('source')
1845
1848
        self.build_tree(['source/file', 'source/FILE'])
1846
1849
        source.add(['file', 'FILE'], ['lower-id', 'upper-id'])