From 1543635abfa589deb85b9ddf349d156b44e4dbdf Mon Sep 17 00:00:00 2001 From: Uli Schlachter Date: Tue, 28 Feb 2017 12:42:45 +0100 Subject: [PATCH] integration tests: Improve message when ZNC is missing Previously, "more or less unrelated" things would fail. After this change, also a message is printing that gives a hint on what went wrong. Signed-off-by: Uli Schlachter --- test/integration/main.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/test/integration/main.cpp b/test/integration/main.cpp index 4a725a75..0d7d6696 100644 --- a/test/integration/main.cpp +++ b/test/integration/main.cpp @@ -141,6 +141,8 @@ class Process : public IO { m_proc.setProcessEnvironment(env); setup(&m_proc); m_proc.start(cmd, args); + EXPECT_TRUE(m_proc.waitForStarted()) + << "Failed to start ZNC, did you install it?"; } ~Process() override { if (m_kill) m_proc.terminate();