This commit is contained in:
Bastian Kleineidam 2011-10-19 09:27:45 +02:00
parent abc807e956
commit 7485bf8044
2 changed files with 4 additions and 4 deletions

View File

@ -45,7 +45,7 @@ class TestArchives (ArchiveTest):
self.program = 'tar' self.program = 'tar'
self.archive_commands('t.tar.lzma') self.archive_commands('t.tar.lzma')
# XXX even though clzip would support extracting .lz files, the # even though clzip would support extracting .lz files, the
# file(1) --uncompress command does not use it for achive detection # file(1) --uncompress command does not use it for achive detection
@needs_program('lzip') @needs_program('lzip')
@needs_codec('tar', 'lzip') @needs_codec('tar', 'lzip')
@ -374,7 +374,7 @@ class TestArchives (ArchiveTest):
@needs_program('zoo') @needs_program('zoo')
def test_zoo (self): def test_zoo (self):
self.program = 'zoo' self.program = 'zoo'
# XXX test failure # XXX test failure - zoo cannot read its own files back :-(
#self.archive_commands('t.zoo', singlefile=True) #self.archive_commands('t.zoo', singlefile=True)
@needs_program('xdms') @needs_program('xdms')

View File

@ -44,14 +44,14 @@ class TestArchives (ArchiveTest):
self.archive_commands('t.tar.bz2.foo', format="tar", encoding="bzip2") self.archive_commands('t.tar.bz2.foo', format="tar", encoding="bzip2")
self.archive_commands('t.tbz2.foo', format="tar", encoding="bzip2") self.archive_commands('t.tbz2.foo', format="tar", encoding="bzip2")
# file(1) does not recognize .lzma files # file(1) does not recognize .lzma files (at least not with --uncompress)
#@needs_program('file') #@needs_program('file')
#@needs_codec('tar', 'lzma') #@needs_codec('tar', 'lzma')
#def test_tar_lzma (self): #def test_tar_lzma (self):
# self.program = 'tar' # self.program = 'tar'
# self.archive_commands('t.tar.lzma.foo', format="tar", encoding="lzma") # self.archive_commands('t.tar.lzma.foo', format="tar", encoding="lzma")
# XXX even though clzip would support extracting .lz files, the # even though clzip would support extracting .lz files, the
# file(1) --uncompress command does not use it for achive detection # file(1) --uncompress command does not use it for achive detection
@needs_program('lzip') @needs_program('lzip')
@needs_program('file') @needs_program('file')