Closed catap closed 2 years ago
ready for a pull request?
@gdraheim I can convert patch to pull request, but it doesn't solve an issue. For example as soon as my patch is applied, the lines:
self.assertLess(len(run.output), 90)
self.assertLess(len(errors(run.errors)), 900)
self.assertIn('file #1: bad zipfile offset (local header sig): 127', run.errors)
#self.assertEqual(os.path.getsize(tmpdir+"/test"), 3)
self.assertFalse(os.path.exists(tmpdir+"/test"))
should be also adjusted.
I not sure how to write self.assertIn(A or B, someString)
but... let me try something, maybe it won't be soo ugly
@gdraheim here it is. A bit ugly, but I haven't got any idea how to make it better.
If a system has installed
zip
andunzip
from MacPorts, tests are faild.The log:
The patch that adds the first wrong exit codes: