]> granicus.if.org Git - zziplib/commitdiff
testcase - with disk_close we have EXIT_OK #40
authorGuido Draheim <guidod@gmx.de>
Wed, 14 Mar 2018 06:51:44 +0000 (07:51 +0100)
committerGuido Draheim <guidod@gmx.de>
Wed, 14 Mar 2018 06:51:44 +0000 (07:51 +0100)
test/zziptests.py

index ee24f6c562b24813e490320e2d80cd6b39d93c8c..360d98bccb25620787eb0b06e315bd2f6f4c918d 100644 (file)
@@ -3394,14 +3394,14 @@ class ZZipTest(unittest.TestCase):
     self.assertLess(len(errors(run.errors)), 1)
     #
     run = shell("cd {tmpdir} && ../{exe} {filename} ".format(**locals()),
-        returncodes = [120])
+        returncodes = [0])
     self.assertLess(len(run.output), 1500)
     self.assertLess(len(errors(run.errors)), 10)
     # self.assertEqual(os.path.getsize(tmpdir+"/test"), 3)
     self.assertFalse(os.path.exists(tmpdir+"/test"))
     #
     run = shell("cd {tmpdir} && ../{exe} -p {filename} ".format(**locals()),
-        returncodes = [120])
+        returncodes = [0])
     self.rm_testdir()
 
   def test_91000_zzshowme_check_sfx(self):