mirror of
https://github.com/borgbackup/borg.git
synced 2025-02-23 22:51:35 +00:00
fix archiver test to not expect backup of the UF_NODUMP file
This commit is contained in:
parent
2194d9837e
commit
0481424128
1 changed files with 2 additions and 1 deletions
|
@ -187,7 +187,8 @@ def test_basic_functionality(self):
|
||||||
with changedir('output'):
|
with changedir('output'):
|
||||||
self.cmd('extract', self.repository_location + '::test')
|
self.cmd('extract', self.repository_location + '::test')
|
||||||
self.assert_equal(len(self.cmd('list', self.repository_location).splitlines()), 2)
|
self.assert_equal(len(self.cmd('list', self.repository_location).splitlines()), 2)
|
||||||
self.assert_equal(len(self.cmd('list', self.repository_location + '::test').splitlines()), 11)
|
file_count = 10 if has_lchflags else 11 # one file is UF_NODUMP
|
||||||
|
self.assert_equal(len(self.cmd('list', self.repository_location + '::test').splitlines()), file_count)
|
||||||
self.assert_dirs_equal('input', 'output/input')
|
self.assert_dirs_equal('input', 'output/input')
|
||||||
info_output = self.cmd('info', self.repository_location + '::test')
|
info_output = self.cmd('info', self.repository_location + '::test')
|
||||||
self.assert_in('Number of files: 4', info_output)
|
self.assert_in('Number of files: 4', info_output)
|
||||||
|
|
Loading…
Reference in a new issue