diff --git a/doc/changelog.txt b/doc/changelog.txt index 3ae6cd7..e206ccb 100644 --- a/doc/changelog.txt +++ b/doc/changelog.txt @@ -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 diff --git a/patoolib/programs/zpaq.py b/patoolib/programs/zpaq.py index 4634f46..795cf5b 100644 --- a/patoolib/programs/zpaq.py +++ b/patoolib/programs/zpaq.py @@ -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']