added exit code 2 for go 1.5 support

This commit is contained in:
Blake Kostner committed 2016-06-22 21:59:56 -07:00
1 parent aa4e225455
commit f939532461
1 file changed
+1 -1
+1 -1
View File
@@ -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: