mirror of
https://github.com/borgbackup/borg.git
synced 2025-03-15 00:21:56 +00:00
Add one more test to PatternTestCase.
This commit is contained in:
parent
9c5e3d4ddc
commit
db9632532c
1 changed files with 1 additions and 0 deletions
|
@ -66,6 +66,7 @@ class PatternTestCase(AtticTestCase):
|
|||
self.assert_equal(self.evaluate(['/'], ['/home/']),
|
||||
['/etc/passwd', '/etc/hosts', '/home', '/var/log/messages', '/var/log/dmesg'])
|
||||
self.assert_equal(self.evaluate(['/home/u'], []), [])
|
||||
self.assert_equal(self.evaluate(['/', '/home', '/etc/hosts'], ['/']), [])
|
||||
self.assert_equal(self.evaluate(['/home/'], ['/home/user2']),
|
||||
['/home', '/home/user/.profile', '/home/user/.bashrc'])
|
||||
self.assert_equal(self.evaluate(['/'], ['*.profile', '/var/log']),
|
||||
|
|
Loading…
Add table
Reference in a new issue