]> arthur.barton.de Git - ngircd.git/blobdiff - src/testsuite/opless-channel-test.e
Test suite: wait for ERROR message on QUIT
[ngircd.git] / src / testsuite / opless-channel-test.e
index 35d109e9be4d903e0a886c7d81ca434e4c67ea2d..cd4f9a0bc067f9714d0c7b54ab3aa523e13a2a45 100644 (file)
@@ -1,4 +1,7 @@
-spawn telnet localhost 6789
+# ngIRCd test suite
+# Op-less channel test
+
+spawn telnet 127.0.0.1 6789
 expect {
        timeout { exit 1 }
        "Connected"
@@ -26,7 +29,5 @@ expect {
 send "quit\r"
 expect {
        timeout { exit 1 }
-       "Connection closed"
+       "ERROR :Closing connection"
 }
-
-# -eof-