diff options
author | bescoto <bescoto@2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109> | 2005-08-09 05:35:47 +0000 |
---|---|---|
committer | bescoto <bescoto@2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109> | 2005-08-09 05:35:47 +0000 |
commit | f0ec078e6acbe86342ed6066ae886ceac3c5d855 (patch) | |
tree | 0f886caa9494ac10393c7d3b0f71e330a2045337 /rdiff-backup/testing | |
parent | 54f02ea7da4223001b22e2f0b8c9427f1cdadd1b (diff) | |
download | rdiff-backup-f0ec078e6acbe86342ed6066ae886ceac3c5d855.tar.gz |
Fixed selection bug reported by Daniel Richard G. and added test to
selectiontest.py to check for it.
git-svn-id: http://svn.savannah.nongnu.org/svn/rdiff-backup/trunk@602 2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109
Diffstat (limited to 'rdiff-backup/testing')
-rw-r--r-- | rdiff-backup/testing/selectiontest.py | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/rdiff-backup/testing/selectiontest.py b/rdiff-backup/testing/selectiontest.py index 228d5b2..3151bf9 100644 --- a/rdiff-backup/testing/selectiontest.py +++ b/rdiff-backup/testing/selectiontest.py @@ -413,6 +413,14 @@ testfiles/select**/2 ("--exclude", "**")], [(), ('1',), ('1', '1'), ('1', '2')]) + def testGlob3(self): + """Test for bug when **is in front""" + self.ParseTest([("--include", "**NOTEXIST"), + ("--exclude", "**NOTEXISTEITHER"), + ("--include", "testfiles/select/efools"), + ("--exclude", "**")], + [(), ('efools',), ('efools', 'ping')]) + def testAlternateRoot(self): """Test select with different root""" self.root = rpath.RPath(Globals.local_connection, "testfiles/select/1") |