summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tests/end_to_end/__main__.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/end_to_end/__main__.py b/tests/end_to_end/__main__.py
index 2efbf24..0eba231 100644
--- a/tests/end_to_end/__main__.py
+++ b/tests/end_to_end/__main__.py
@@ -438,6 +438,10 @@ if __name__ == '__main__':
asyncio.get_event_loop().run_until_complete(irc.start())
while True:
res = asyncio.get_event_loop().run_until_complete(irc.process.stderr.readline())
+ print(res)
+ if not res:
+ print("IRC server failed to start, exiting")
+ sys.exit(1)
if b"now running in foreground mode" in res:
break
print("irc server started.")