summaryrefslogtreecommitdiff
path: root/rdiff-backup
diff options
context:
space:
mode:
authorbescoto <bescoto@2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109>2003-02-09 06:44:55 +0000
committerbescoto <bescoto@2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109>2003-02-09 06:44:55 +0000
commite18d568c6fdfa1a73fea01362d5bdf31aaa0d5b5 (patch)
treeeb71af3d0bd415c69016ade338478ade58754fe6 /rdiff-backup
parent9c984019aa77fe840bfbd1d71001b7b524eb0a99 (diff)
downloadrdiff-backup-e18d568c6fdfa1a73fea01362d5bdf31aaa0d5b5.tar.gz
Added test for C.sync()
git-svn-id: http://svn.savannah.nongnu.org/svn/rdiff-backup/trunk@276 2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109
Diffstat (limited to 'rdiff-backup')
-rw-r--r--rdiff-backup/testing/ctest.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/rdiff-backup/testing/ctest.py b/rdiff-backup/testing/ctest.py
index 9b591fe..16a7882 100644
--- a/rdiff-backup/testing/ctest.py
+++ b/rdiff-backup/testing/ctest.py
@@ -37,5 +37,9 @@ class CTest(unittest.TestCase):
for l in 0L, 1L, 4000000000L, 34234L, 234234234L:
assert C.str2long(C.long2str(l)) == l
+ def test_sync(self):
+ """Test running C.sync"""
+ C.sync()
+
if __name__ == "__main__": unittest.main()