rdiff-backup-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Rdiff-backup-commits] Changes to rdiff-backup/testing/selectiontest.py


From: Ben Escoto
Subject: [Rdiff-backup-commits] Changes to rdiff-backup/testing/selectiontest.py
Date: Tue, 09 Aug 2005 01:35:48 -0400

Index: rdiff-backup/testing/selectiontest.py
diff -u rdiff-backup/testing/selectiontest.py:1.14 
rdiff-backup/testing/selectiontest.py:1.15
--- rdiff-backup/testing/selectiontest.py:1.14  Sat Mar 26 17:10:57 2005
+++ rdiff-backup/testing/selectiontest.py       Tue Aug  9 05:35:47 2005
@@ -413,6 +413,14 @@
                                                ("--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")




reply via email to

[Prev in Thread] Current Thread [Next in Thread]