From 92275d6f2df762a868625f66cdfb1294d1e88b18 Mon Sep 17 00:00:00 2001 From: bescoto Date: Mon, 28 Mar 2005 14:52:46 +0000 Subject: Some final changes for 0.13.5 git-svn-id: http://svn.savannah.nongnu.org/svn/rdiff-backup/trunk@566 2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109 --- rdiff-backup/CHANGELOG | 2 +- rdiff-backup/rdiff_backup/rpath.py | 3 +-- rdiff-backup/testing/rpathtest.py | 4 ++-- 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): -- cgit v1.2.1