mirror of
https://github.com/borgbackup/borg.git
synced 2024-12-26 09:47:58 +00:00
archiver: add test for debug info
This commit is contained in:
parent
38d601619e
commit
5d60669c50
1 changed files with 5 additions and 0 deletions
|
@ -2621,6 +2621,11 @@ def test_debug_refcount_obj(self):
|
|||
output = self.cmd('debug', 'refcount-obj', self.repository_location, '124', 'xyza').strip()
|
||||
assert output == 'object id 124 is invalid.\nobject id xyza is invalid.'
|
||||
|
||||
def test_debug_info(self):
|
||||
output = self.cmd('debug', 'info')
|
||||
assert 'CRC implementation' in output
|
||||
assert 'Python' in output
|
||||
|
||||
requires_gnutar = pytest.mark.skipif(not have_gnutar(), reason='GNU tar must be installed for this test.')
|
||||
requires_gzip = pytest.mark.skipif(not shutil.which('gzip'), reason='gzip must be installed for this test.')
|
||||
|
||||
|
|
Loading…
Reference in a new issue