summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--rdiff-backup/CHANGELOG2
-rw-r--r--rdiff-backup/rdiff_backup/rpath.py3
-rw-r--r--rdiff-backup/testing/rpathtest.py4
3 files changed, 4 insertions, 5 deletions
diff --git a/rdiff-backup/CHANGELOG b/rdiff-backup/CHANGELOG
index 79de2f6..57a6ec2 100644
--- a/rdiff-backup/CHANGELOG
+++ b/rdiff-backup/CHANGELOG
@@ -1,4 +1,4 @@
-New in v0.13.5 (2005/??/??)
+New in v0.13.5 (2005/03/28)
---------------------------
Added error-correcting fsync suggestion by Antoine Perdaens.
diff --git a/rdiff-backup/rdiff_backup/rpath.py b/rdiff-backup/rdiff_backup/rpath.py
index d2547bf..de89026 100644
--- a/rdiff-backup/rdiff_backup/rpath.py
+++ b/rdiff-backup/rdiff_backup/rpath.py
@@ -197,8 +197,7 @@ def cmp_attribs(rp1, rp2):
if Globals.change_ownership and rp1.getuidgid() != rp2.getuidgid():
result = None
elif rp1.getperms() != rp2.getperms(): result = None
- # Don't compare ctime for now, add later
- #elif rp1.getctime() != rp2.getctime(): result = None
+ elif rp1.getctime() != rp2.getctime(): result = None
elif rp1.issym() and rp2.issym(): # Don't check times for some types
result = 1
elif rp1.isblkdev() and rp2.isblkdev(): result = 1
diff --git a/rdiff-backup/testing/rpathtest.py b/rdiff-backup/testing/rpathtest.py
index c9fb783..6d7dee2 100644
--- a/rdiff-backup/testing/rpathtest.py
+++ b/rdiff-backup/testing/rpathtest.py
@@ -438,9 +438,9 @@ class FileAttributes(FileCopying):
def testCopyRaise(self):
"""Should raise exception for non-existent files"""
- self.assertRaises(RPathException, rpath.copy_attribs,
+ self.assertRaises(AssertionError, rpath.copy_attribs,
self.hl1, self.nothing)
- self.assertRaises(RPathException, rpath.copy_attribs,
+ self.assertRaises(AssertionError, rpath.copy_attribs,
self.nothing, self.nowrite)
class CheckPath(unittest.TestCase):