mirror of
https://github.com/aptly-dev/aptly.git
synced 2026-07-26 13:47: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.send_signal(signal.SIGINT)
|
||||||
proc.wait()
|
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))
|
raise Exception("exit code %d != %d (output: %s)" % (proc.returncode, -2, output))
|
||||||
self.output = output
|
self.output = output
|
||||||
except Exception, e:
|
except Exception, e:
|
||||||
|
|||||||
Reference in New Issue
Block a user