summaryrefslogtreecommitdiff
path: root/rdiff-backup/testing
diff options
context:
space:
mode:
authorbescoto <bescoto@2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109>2005-03-26 17:10:57 +0000
committerbescoto <bescoto@2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109>2005-03-26 17:10:57 +0000
commit390f0eb37f3972adb1ff272acd28ea2d09c596da (patch)
tree9179f25208766b15213a424cea53e2e874dd80ef /rdiff-backup/testing
parent62b94cab6043f6c55d8069c9af6c6423246e0375 (diff)
downloadrdiff-backup-390f0eb37f3972adb1ff272acd28ea2d09c596da.tar.gz
Added Robert Shaw's --exclude-fifo, --include-symbolic-links,
etc. options. git-svn-id: http://svn.savannah.nongnu.org/svn/rdiff-backup/trunk@563 2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109
Diffstat (limited to 'rdiff-backup/testing')
-rw-r--r--rdiff-backup/testing/selectiontest.py8
1 files changed, 8 insertions, 0 deletions
diff --git a/rdiff-backup/testing/selectiontest.py b/rdiff-backup/testing/selectiontest.py
index 2e0cd78..228d5b2 100644
--- a/rdiff-backup/testing/selectiontest.py
+++ b/rdiff-backup/testing/selectiontest.py
@@ -239,6 +239,14 @@ testfiles/select/1/1
assert sf2(fifo) == 0
assert sf2(sym) == 0
+ sf3 = self.Select.symlinks_get_sf(0)
+ assert sf3(dir) == None
+ assert sf3(reg) == None
+ assert sf3(dev) == None
+ assert sf3(sock) == None
+ assert sf3(fifo) == None
+ assert sf3(sym) == 0
+
def testRoot(self):
"""testRoot - / may be a counterexample to several of these.."""
root = rpath.RPath(Globals.local_connection, "/")