From ff82c2a100ecb0a69bdab9a8a4154c22b6f8abd9 Mon Sep 17 00:00:00 2001 From: Bastian Kleineidam Date: Tue, 23 Feb 2010 19:30:58 +0100 Subject: [PATCH] Test .tgz and .taz files. --- tests/data/t.taz | Bin 0 -> 285 bytes tests/data/t.tgz | Bin 0 -> 151 bytes tests/test_archives.py | 4 ++++ 3 files changed, 4 insertions(+) create mode 100644 tests/data/t.taz create mode 100644 tests/data/t.tgz diff --git a/tests/data/t.taz b/tests/data/t.taz new file mode 100644 index 0000000000000000000000000000000000000000..bb8e4ec1ec4f377182b4682c802a0945f0b28cb9 GIT binary patch literal 285 zcmV+&0pk82ose{102oNHpuvL(6DnNDu%SbQFe1XZQ3D15i7_Zz#HjJ2#E%jI#E3Ct z#tj-XWT>QZF$N49GHw6>QRAV_n>cgo1W;!VoiK7hfB-Ni3>!OX-0VD9^k~whP@_tn zO0}w0hXLuhpo53b)vsU)ezZYjW5kRVJ;Fe17No=(B1xJ=DTAbpmN8($1z|C)-@iS7 z1|8ZIsnV&1pZ;CUxUplaG-N1vOu4e<%a}83-pskP=g*)+iylq7wCU5RQ>$Lhy0z=q zuw%=fO}n=3+qiS<-p#wW@87_K3m;Crxbfr2lPh1&yt(t|(4$MAPQAMI>)5kv-_E_e j_wV4tiyu$Ey!rF!)2m<4zPRU{PvwQF&QHL`P{FZ0vsh={_OV^ z<9u?k+i%wC%?r<;zS3T)yy~5Ep|SQP({O2(uWuK3%J3V$3!Zd#hpq4K=jHFe*=y~J zIBq%XUj)~>r=kDr-pAj4_HXMf?^C|Pv41Q79}Tx0#7SgMk46@NPsL literal 0 HcmV?d00001 diff --git a/tests/test_archives.py b/tests/test_archives.py index 28833a5..9ebccea 100644 --- a/tests/test_archives.py +++ b/tests/test_archives.py @@ -26,11 +26,13 @@ class TestArchives (ArchiveTest): def test_tar_gz (self): self.program = 'tar' self.archive_commands('t.tar.gz') + self.archive_commands('t.tgz') @needs_codec('tar', 'compress') def test_tar_z (self): self.program = 'tar' self.archive_commands('t.tar.Z') + self.archive_commands('t.taz') @needs_codec('tar', 'bzip2') def test_tar_bz2 (self): @@ -57,11 +59,13 @@ class TestArchives (ArchiveTest): def test_star_gz (self): self.program = 'star' self.archive_commands('t.tar.gz') + self.archive_commands('t.tgz') @needs_codec('tar', 'compress') def test_star_z (self): self.program = 'star' self.archive_commands('t.tar.Z') + self.archive_commands('t.taz') @needs_codec('tar', 'bzip2') def test_star_bz2 (self):