diff options
Diffstat (limited to 'rdiff-backup/rdiff_backup')
-rw-r--r-- | rdiff-backup/rdiff_backup/fs_abilities.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/rdiff-backup/rdiff_backup/fs_abilities.py b/rdiff-backup/rdiff_backup/fs_abilities.py index e2285e7..3248b19 100644 --- a/rdiff-backup/rdiff_backup/fs_abilities.py +++ b/rdiff-backup/rdiff_backup/fs_abilities.py @@ -200,7 +200,9 @@ rdiff-backup-data/chars_to_quote. def set_hardlinks(self, testdir): """Set self.hardlinks to true iff hard linked files can be made""" hl_source = testdir.append("hardlinked_file1") - hl_dest = testdir.append("hardlinked_file2") + hl_dir = testdir.append("hl") + hl_dir.mkdir() + hl_dest = hl_dir.append("hardlinked_file2") hl_source.touch() try: hl_dest.hardlink(hl_source.path) |