mirror of
https://github.com/aptly-dev/aptly.git
synced 2026-06-04 05:10:40 +00:00
added exit code 2 for go 1.5 support
This commit is contained in:
@@ -47,7 +47,7 @@ class Serve1Test(BaseTest):
|
||||
proc.send_signal(signal.SIGINT)
|
||||
proc.wait()
|
||||
|
||||
if proc.returncode != -2:
|
||||
if proc.returncode != -2 and proc.returncode != 2:
|
||||
raise Exception("exit code %d != %d (output: %s)" % (proc.returncode, -2, output))
|
||||
self.output = output
|
||||
except Exception, e:
|
||||
|
||||
Reference in New Issue
Block a user