From 17e0d1031e54a74ae7a7c515dd7f5a8b41b5b4bd Mon Sep 17 00:00:00 2001 From: Alexey Sokolov Date: Mon, 14 Mar 2016 21:20:40 +0000 Subject: [PATCH] Revert broken test of shell module... --- test/integration/main.cpp | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/test/integration/main.cpp b/test/integration/main.cpp index f3090d87..a31711b2 100644 --- a/test/integration/main.cpp +++ b/test/integration/main.cpp @@ -1714,20 +1714,6 @@ TEST_F(ZNCTest, ShellModule) { Z; client.ReadUntil("PRIVMSG nick :znc$"); Z; - - // https://github.com/znc/znc/issues/1248 - auto client2 = LoginClient(); - client2.Write("znc loadmod notify_connect"); - client.Write("PRIVMSG *shell :yes"); - client.ReadUntil(":y"); - Z; - client.Close(); - client2.ReadUntil("detached"); - // This can be racy, if no "y" appears between this two lines. I can take - // this risk though. To be extra safe, sleep 1 additional second. - // TODO: replace "yes" with socat (or netcat) connecting to a socket opened - // by this test. - sleep(1); } TEST_F(ZNCTest, WatchModule) {