/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_transport.py

  • Committer: Neil Santos
  • Date: 2010-03-05 05:30:19 UTC
  • mto: (5080.1.1 integration)
  • mto: This revision was merged to the branch mainline in revision 5081.
  • Revision ID: neil_santos@users.sourceforge.net-20100305053019-shzuqnhliw67q1nm
Renamed link() methods to hardlink(), as per mbp's suggestion

Show diffs side-by-side

added added

removed removed

Lines of Context:
1083
1083
        subdir.stat('./file')
1084
1084
        subdir.stat('.')
1085
1085
 
1086
 
    def test_link(self):
 
1086
    def test_hardlink(self):
1087
1087
        from stat import ST_NLINK
1088
1088
 
1089
1089
        t = self.get_transport()
1094
1094
        self.build_tree([source_name], transport=t)
1095
1095
 
1096
1096
        try:
1097
 
            t.link(source_name, link_name)
 
1097
            t.hardlink(source_name, link_name)
1098
1098
 
1099
1099
            self.failUnless(t.has(source_name))
1100
1100
            self.failUnless(t.has(link_name))