fix unit tests

This commit is contained in:
Blake Kostner
2016-06-22 21:00:51 -07:00
parent 65541a1df2
commit aa4e225455
12 changed files with 33 additions and 33 deletions
+2 -2
View File
@@ -47,8 +47,8 @@ class Serve1Test(BaseTest):
proc.send_signal(signal.SIGINT)
proc.wait()
if proc.returncode != 2:
raise Exception("exit code %d != %d (output: %s)" % (proc.returncode, 2, output))
if proc.returncode != -2:
raise Exception("exit code %d != %d (output: %s)" % (proc.returncode, -2, output))
self.output = output
except Exception, e:
raise Exception("Running command %s failed: %s" % (self.runCmd, str(e)))