Use correct program name when checking star(1) program.
This commit is contained in:
parent
aafeea7d94
commit
6f5427fb50
|
@ -60,35 +60,35 @@ class TestArchives (ArchiveTest):
|
||||||
self.program = 'star'
|
self.program = 'star'
|
||||||
self.archive_commands('t.tar')
|
self.archive_commands('t.tar')
|
||||||
|
|
||||||
@needs_codec('tar', 'gzip')
|
@needs_codec('star', 'gzip')
|
||||||
def test_star_gz (self):
|
def test_star_gz (self):
|
||||||
self.program = 'star'
|
self.program = 'star'
|
||||||
self.archive_commands('t.tar.gz')
|
self.archive_commands('t.tar.gz')
|
||||||
self.archive_commands('t.tgz')
|
self.archive_commands('t.tgz')
|
||||||
|
|
||||||
@needs_codec('tar', 'compress')
|
@needs_codec('star', 'compress')
|
||||||
def test_star_z (self):
|
def test_star_z (self):
|
||||||
self.program = 'star'
|
self.program = 'star'
|
||||||
self.archive_commands('t.tar.Z')
|
self.archive_commands('t.tar.Z')
|
||||||
self.archive_commands('t.taz')
|
self.archive_commands('t.taz')
|
||||||
|
|
||||||
@needs_codec('tar', 'bzip2')
|
@needs_codec('star', 'bzip2')
|
||||||
def test_star_bz2 (self):
|
def test_star_bz2 (self):
|
||||||
self.program = 'star'
|
self.program = 'star'
|
||||||
self.archive_commands('t.tar.bz2')
|
self.archive_commands('t.tar.bz2')
|
||||||
self.archive_commands('t.tbz2')
|
self.archive_commands('t.tbz2')
|
||||||
|
|
||||||
@needs_codec('tar', 'lzma')
|
@needs_codec('star', 'lzma')
|
||||||
def test_star_lzma (self):
|
def test_star_lzma (self):
|
||||||
self.program = 'star'
|
self.program = 'star'
|
||||||
self.archive_commands('t.tar.lzma')
|
self.archive_commands('t.tar.lzma')
|
||||||
|
|
||||||
@needs_codec('tar', 'lzip')
|
@needs_codec('star', 'lzip')
|
||||||
def test_star_lzip (self):
|
def test_star_lzip (self):
|
||||||
self.program = 'star'
|
self.program = 'star'
|
||||||
self.archive_commands('t.tar.lz')
|
self.archive_commands('t.tar.lz')
|
||||||
|
|
||||||
@needs_codec('tar', 'xz')
|
@needs_codec('star', 'xz')
|
||||||
def test_star_xz (self):
|
def test_star_xz (self):
|
||||||
self.program = 'star'
|
self.program = 'star'
|
||||||
self.archive_commands('t.tar.xz')
|
self.archive_commands('t.tar.xz')
|
||||||
|
|
|
@ -70,21 +70,21 @@ class TestArchives (ArchiveTest):
|
||||||
self.archive_commands('t.tar.foo', format="tar")
|
self.archive_commands('t.tar.foo', format="tar")
|
||||||
|
|
||||||
@needs_program('file')
|
@needs_program('file')
|
||||||
@needs_codec('tar', 'gzip')
|
@needs_codec('star', 'gzip')
|
||||||
def test_star_gz (self):
|
def test_star_gz (self):
|
||||||
self.program = 'star'
|
self.program = 'star'
|
||||||
self.archive_commands('t.tar.gz.foo', format="tar", encoding="gzip")
|
self.archive_commands('t.tar.gz.foo', format="tar", encoding="gzip")
|
||||||
self.archive_commands('t.tgz.foo', format="tar", encoding="gzip")
|
self.archive_commands('t.tgz.foo', format="tar", encoding="gzip")
|
||||||
|
|
||||||
@needs_program('file')
|
@needs_program('file')
|
||||||
@needs_codec('tar', 'compress')
|
@needs_codec('star', 'compress')
|
||||||
def test_star_z (self):
|
def test_star_z (self):
|
||||||
self.program = 'star'
|
self.program = 'star'
|
||||||
self.archive_commands('t.tar.Z.foo', format="tar", encoding="compress")
|
self.archive_commands('t.tar.Z.foo', format="tar", encoding="compress")
|
||||||
self.archive_commands('t.taz.foo', format="tar", encoding="compress")
|
self.archive_commands('t.taz.foo', format="tar", encoding="compress")
|
||||||
|
|
||||||
@needs_program('file')
|
@needs_program('file')
|
||||||
@needs_codec('tar', 'bzip2')
|
@needs_codec('star', 'bzip2')
|
||||||
def test_star_bz2 (self):
|
def test_star_bz2 (self):
|
||||||
self.program = 'star'
|
self.program = 'star'
|
||||||
self.archive_commands('t.tar.bz2.foo', format="tar", encoding="bzip2")
|
self.archive_commands('t.tar.bz2.foo', format="tar", encoding="bzip2")
|
||||||
|
@ -92,19 +92,19 @@ class TestArchives (ArchiveTest):
|
||||||
|
|
||||||
# file(1) does not recognize .lzma files
|
# file(1) does not recognize .lzma files
|
||||||
#@needs_program('file')
|
#@needs_program('file')
|
||||||
#@needs_codec('tar', 'lzma')
|
#@needs_codec('star', 'lzma')
|
||||||
#def test_star_lzma (self):
|
#def test_star_lzma (self):
|
||||||
# self.program = 'star'
|
# self.program = 'star'
|
||||||
# self.archive_commands('t.tar.lzma.foo', format="tar", encoding="lzma")
|
# self.archive_commands('t.tar.lzma.foo', format="tar", encoding="lzma")
|
||||||
|
|
||||||
@needs_program('file')
|
@needs_program('file')
|
||||||
@needs_codec('tar', 'lzip')
|
@needs_codec('star', 'lzip')
|
||||||
def test_star_lzip (self):
|
def test_star_lzip (self):
|
||||||
self.program = 'star'
|
self.program = 'star'
|
||||||
self.archive_commands('t.tar.lz.foo', format="tar", encoding="lzip")
|
self.archive_commands('t.tar.lz.foo', format="tar", encoding="lzip")
|
||||||
|
|
||||||
@needs_program('file')
|
@needs_program('file')
|
||||||
@needs_codec('tar', 'xz')
|
@needs_codec('star', 'xz')
|
||||||
def test_star_xz (self):
|
def test_star_xz (self):
|
||||||
self.program = 'star'
|
self.program = 'star'
|
||||||
self.archive_commands('t.tar.xz.foo', format="tar", encoding="xz")
|
self.archive_commands('t.tar.xz.foo', format="tar", encoding="xz")
|
||||||
|
|
Loading…
Reference in New Issue