tools: Fixed broken test.
- This was missed when changing from unzip to zipinfo.
This commit is contained in:
parent
8ea5c5fd11
commit
3609b31b29
3 changed files with 6 additions and 8 deletions
|
|
@ -1,6 +0,0 @@
|
||||||
Archive: ./input/hi.zip
|
|
||||||
Length Date Time Name
|
|
||||||
--------- ---------- ----- ----
|
|
||||||
27 2016-02-09 21:50 hi.py
|
|
||||||
--------- -------
|
|
||||||
27 1 file
|
|
||||||
4
tests/golden-files/results/zipinfo-hi_zip
Normal file
4
tests/golden-files/results/zipinfo-hi_zip
Normal file
|
|
@ -0,0 +1,4 @@
|
||||||
|
Archive: ./input/hi.zip
|
||||||
|
Zip file size: 187 bytes, number of entries: 1
|
||||||
|
-rw-rw-r-- 3.0 unx 27 tx stor 16-Feb-09 21:50 hi.py
|
||||||
|
1 file, 27 bytes uncompressed, 27 bytes compressed: 0.0%
|
||||||
|
|
@ -182,8 +182,8 @@ class ToolsTestCase(unittest.TestCase):
|
||||||
def test_readelf(self):
|
def test_readelf(self):
|
||||||
self._test_tool(tools.readelf, [("Mcrt1.o", tools.Status.normal)])
|
self._test_tool(tools.readelf, [("Mcrt1.o", tools.Status.normal)])
|
||||||
|
|
||||||
def test_unzip(self):
|
def test_zipinfo(self):
|
||||||
self._test_tool(tools.unzip, [("hi.zip", tools.Status.normal)])
|
self._test_tool(tools.zipinfo, [("hi.zip", tools.Status.normal)])
|
||||||
|
|
||||||
def test_tar_gz(self):
|
def test_tar_gz(self):
|
||||||
self._test_tool(tools.tar_gz, [("hi.tar.gz", tools.Status.normal),
|
self._test_tool(tools.tar_gz, [("hi.tar.gz", tools.Status.normal),
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue