Test .tgz and .taz files.

This commit is contained in:
Bastian Kleineidam 2010-02-23 19:30:58 +01:00
parent a59ae7c03b
commit ff82c2a100
3 changed files with 4 additions and 0 deletions

BIN
tests/data/t.taz Normal file

Binary file not shown.

BIN
tests/data/t.tgz Normal file

Binary file not shown.

View File

@ -26,11 +26,13 @@ class TestArchives (ArchiveTest):
def test_tar_gz (self): def test_tar_gz (self):
self.program = 'tar' self.program = 'tar'
self.archive_commands('t.tar.gz') self.archive_commands('t.tar.gz')
self.archive_commands('t.tgz')
@needs_codec('tar', 'compress') @needs_codec('tar', 'compress')
def test_tar_z (self): def test_tar_z (self):
self.program = 'tar' self.program = 'tar'
self.archive_commands('t.tar.Z') self.archive_commands('t.tar.Z')
self.archive_commands('t.taz')
@needs_codec('tar', 'bzip2') @needs_codec('tar', 'bzip2')
def test_tar_bz2 (self): def test_tar_bz2 (self):
@ -57,11 +59,13 @@ class TestArchives (ArchiveTest):
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')
@needs_codec('tar', 'compress') @needs_codec('tar', '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')
@needs_codec('tar', 'bzip2') @needs_codec('tar', 'bzip2')
def test_star_bz2 (self): def test_star_bz2 (self):