From db550a3aa05262af02e29a45014cc83d442252d3 Mon Sep 17 00:00:00 2001 From: Alexey Sokolov Date: Tue, 20 Oct 2015 08:12:34 +0100 Subject: [PATCH] Add one more small test. --- test/Integration.cpp | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/test/Integration.cpp b/test/Integration.cpp index 7fef7644..110d4d97 100644 --- a/test/Integration.cpp +++ b/test/Integration.cpp @@ -201,6 +201,16 @@ TEST_F(ZNCTest, Connect) { client.Write("NICK nick"); client.Write("USER u x x x"); client.ReadUntil("Welcome");Z; + client.Close(); + + client = ConnectClient();Z; + client.Write("NICK nick"); + client.Write("USER user x x x"); + client.ReadUntil("Configure your client to send a server password"); + client.Close(); + + ircd.Write(":server 001 nick :Hello"); + ircd.ReadUntil("WHO");Z; } TEST_F(ZNCTest, Channel) {