summaryrefslogtreecommitdiff
path: root/ngircd/src/testsuite/channel-test.e
diff options
context:
space:
mode:
authorMistivia <i@mistivia.com>2025-11-02 15:29:28 +0800
committerMistivia <i@mistivia.com>2025-11-02 15:29:28 +0800
commit9f42c2d5f911cb4e215d7873221e642ce7df4d61 (patch)
tree6dac90a889a7402a9556d3d1bcc5cb53cdb9f123 /ngircd/src/testsuite/channel-test.e
parentfb2d9de539b660a261af19b1cbcceb7ee7980cb1 (diff)
deprecate webircdateway and ngircd
Diffstat (limited to 'ngircd/src/testsuite/channel-test.e')
-rw-r--r--ngircd/src/testsuite/channel-test.e107
1 files changed, 0 insertions, 107 deletions
diff --git a/ngircd/src/testsuite/channel-test.e b/ngircd/src/testsuite/channel-test.e
deleted file mode 100644
index 5e0afab..0000000
--- a/ngircd/src/testsuite/channel-test.e
+++ /dev/null
@@ -1,107 +0,0 @@
-# ngIRCd test suite
-# Channel test
-
-spawn telnet 127.0.0.1 6789
-expect {
- timeout { exit 1 }
- "Connected"
-}
-
-send "nick nick\r"
-send "user user . . :User\r"
-expect {
- timeout { exit 1 }
- "376"
-}
-
-send "join #channel\r"
-expect {
- timeout { exit 1 }
- "@* JOIN :#channel"
-}
-expect {
- timeout { exit 1 }
- "366"
-}
-
-send "topic #channel :Test-Topic\r"
-expect {
- timeout { exit 1 }
- "@* TOPIC #channel :Test-Topic"
-}
-
-send "who #channel\r"
-expect {
- timeout { exit 1 }
- "352 nick #channel"
-}
-expect {
- timeout { exit 1 }
- "* nick H@ :0 User"
-}
-expect {
- timeout { exit 1 }
- "315 nick #channel"
-}
-
-send "names #channel\r"
-expect {
- timeout { exit 1 }
- "353 nick = #channel :@nick"
-}
-expect {
- timeout { exit 1 }
- "366 nick #channel"
-}
-
-send "list\r"
-expect {
- timeout { exit 1 }
- "322 nick #channel 1 :Test-Topic"
-}
-expect {
- timeout { exit 1 }
- "323 nick :End of LIST"
-}
-
-send "part #channel :bye bye\r"
-expect {
- timeout { exit 1 }
- "@* PART #channel :bye bye"
-}
-
-send "join #channel\r"
-expect {
- timeout { exit 1 }
- "@* JOIN :#channel"
-}
-expect {
- timeout { exit 1 }
- "366"
-}
-
-send "join #channel2\r"
-expect {
- timeout { exit 1 }
- "@* JOIN :#channel2"
-}
-expect {
- timeout { exit 1 }
- "366"
-}
-
-send "join 0\r"
-expect {
- timeout { exit 1 }
- "@* PART #channel2 :"
-}
-expect {
- timeout { exit 1 }
- "@* PART #channel :"
-}
-
-send "quit\r"
-expect {
- timeout { exit 1 }
- "ERROR :Closing connection"
-}