fix archiver test to not expect backup of the UF_NODUMP file

This commit is contained in:
Thomas Waldmann 2015-08-12 16:41:30 +02:00
parent 2194d9837e
commit 0481424128
1 changed files with 2 additions and 1 deletions

View File

@ -187,7 +187,8 @@ class ArchiverTestCase(ArchiverTestCaseBase):
with changedir('output'):
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 + '::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')
info_output = self.cmd('info', self.repository_location + '::test')
self.assert_in('Number of files: 4', info_output)