Added support for LZH (.lha, .lzh) archives.
This commit is contained in:
parent
1e733a2158
commit
f6720231dd
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
@ -278,3 +278,8 @@ class TestArchives (ArchiveTest):
|
||||||
self.archive_test('t.xz')
|
self.archive_test('t.xz')
|
||||||
self.archive_extract('t.xz')
|
self.archive_extract('t.xz')
|
||||||
self.archive_create('t.xz', singlefile=True)
|
self.archive_create('t.xz', singlefile=True)
|
||||||
|
|
||||||
|
@needs_program('lha')
|
||||||
|
def test_lha (self):
|
||||||
|
self.program = 'lha'
|
||||||
|
self.archive_commands('t.lha')
|
||||||
|
|
|
@ -320,3 +320,9 @@ class TestArchives (ArchiveTest):
|
||||||
self.archive_test('t.xz.foo')
|
self.archive_test('t.xz.foo')
|
||||||
self.archive_extract('t.xz.foo')
|
self.archive_extract('t.xz.foo')
|
||||||
self.archive_create('t.xz.foo', format="xz", singlefile=True)
|
self.archive_create('t.xz.foo', format="xz", singlefile=True)
|
||||||
|
|
||||||
|
@needs_program('file')
|
||||||
|
@needs_program('lha')
|
||||||
|
def test_lha (self):
|
||||||
|
self.program = 'lha'
|
||||||
|
self.archive_commands('t.lha.foo', format="lzh")
|
||||||
|
|
Loading…
Reference in New Issue