Fix ZPAQ archive testing

This commit is contained in:
Bastian Kleineidam 2015-12-07 11:08:19 +01:00
parent a733ca1150
commit e44b17a47a
2 changed files with 3 additions and 3 deletions

View File

@ -2,6 +2,7 @@
* Fix ZPAQ archive creation.
Patch by vitlav
* Fix ZPAQ archive testing.
* Add more search paths for rar libraries.
Patch by vitlav
Closes: GH bug #30

View File

@ -34,7 +34,6 @@ def create_zpaq(archive, compression, cmd, verbosity, interactive, filenames):
cmdlist.extend(['-method', '4'])
return cmdlist
# zpaq has no separate test mode, so use listing instead
test_zpaq = list_zpaq
def test_zpaq(archive, compression, cmd, verbosity, interactive):
"""Test a ZPAQ archive."""
return [cmd, 'x', archive, '-test']