]> arthur.barton.de Git - ngircd-alex.git/blobdiff - src/testsuite/stress-B.e
- EXTRA_DIST ergaenzt, clean-Target erweitert.
[ngircd-alex.git] / src / testsuite / stress-B.e
diff --git a/src/testsuite/stress-B.e b/src/testsuite/stress-B.e
new file mode 100644 (file)
index 0000000..117e152
--- /dev/null
@@ -0,0 +1,69 @@
+# $Id: stress-B.e,v 1.1 2002/09/09 22:56:07 alex Exp $
+
+send "user user . . :User\r"
+expect {
+       timeout { exit 1 }
+       "376"
+}
+
+send "oper TestOp 123\r"
+expect {
+       timeout { exit 1 }
+       "MODE test* :+o"
+}
+expect {
+       timeout { exit 1 }
+       "381 test*"
+}
+
+send "join #channel\r"
+expect {
+       timeout { exit 1 }
+       ":test*!~user@* JOIN :#channel"
+}
+expect {
+       timeout { exit 1 }
+       "366"
+}
+
+send "mode #channel\r"
+expect {
+       timeout { exit 1 }
+       "324 test* #channel"
+}
+
+send "join #channel2\r"
+expect {
+       timeout { exit 1 }
+       ":test*!~user@* JOIN :#channel2"
+}
+expect {
+       timeout { exit 1 }
+       "366"
+}
+
+send "names\r"
+expect {
+       timeout { exit 1 }
+       "366"
+}
+
+send "part #channel2\r"
+expect {
+       timeout { exit 1 }
+       ":test*!~user@* PART #channel2"
+}
+
+send "part #channel\r"
+expect {
+       timeout { exit 1 }
+       ":test*!~user@* PART #channel"
+}
+
+send "quit\r"
+expect {
+       timeout { exit 1 }
+       "Connection closed"
+}
+
+# -eof-