-# $Id: channel-test.e,v 1.4 2008/02/05 13:31:51 fw Exp $
+# ngIRCd test suite
+# Channel test
spawn telnet localhost 6789
expect {
timeout { exit 1 }
"Connection closed"
}
-
-# -eof-
-# $Id: check-idle.e,v 1.2 2004/09/04 14:22:13 alex Exp $
+# ngIRCd test suite
+# Idle test
spawn telnet localhost 6789
expect {
}
exit $r
-
-# -eof-
-# $Id: connect-test.e,v 1.1 2002/09/09 10:16:24 alex Exp $
+# ngIRCd test suite
+# Server connect test
spawn telnet localhost 6789
expect {
timeout { exit 1 }
"Connection closed"
}
-
-# -eof-
+# ngIRCd test suite
+# INVITE test
+
spawn telnet localhost 6789
expect {
timeout { exit 1 }
timeout { exit 1 }
"Connection closed"
}
-
-# -eof-
+# ngIRCd test suite
+# JOIN test
+
spawn telnet localhost 6789
expect {
timeout { exit 1 }
timeout { exit 1 }
"Connection closed"
}
-
-# -eof-
+# ngIRCd test suite
+# KICK test
+
spawn telnet localhost 6789
expect {
timeout { exit 1 }
timeout { exit 1 }
"Connection closed"
}
-
-# -eof-
+# ngIRCd test suite
+# PRIVMSG and NOTICE test
+
spawn telnet localhost 6789
expect {
timeout { exit 1 }
"401"
}
-#cannot test host mask since localhost has no '.' as RFC requires
-
send "quit\r"
expect {
timeout { exit 1 }
"Connection closed"
}
-
-# -eof-
-# $Id: misc-test.e,v 1.2 2008/02/17 13:51:00 alex Exp $
+# ngIRCd test suite
+# Misc test
spawn telnet localhost 6789
expect {
timeout { exit 1 }
"ERROR"
}
-
-# -eof-
-# $Id: mode-test.e,v 1.7 2008/02/16 11:27:49 fw Exp $
+# ngIRCd test suite
+# MODE test
spawn telnet localhost 6789
expect {
timeout { exit 1 }
"Connection closed"
}
-
-# -eof-
+# ngIRCd test suite
+# Op-less channel test
+
spawn telnet localhost 6789
expect {
timeout { exit 1 }
timeout { exit 1 }
"Connection closed"
}
-
-# -eof-
timeout { exit 1 }
"ERROR"
}
-
-# -eof-
-# $Id: stress-A.e,v 1.2 2005/08/12 21:35:12 alex Exp $
+# ngIRCd test suite
+# "Stress" header
set timeout 30
timeout { exit 1 }
"Connected"
}
-
-# -eof-
-# $Id: stress-B.e,v 1.3 2005/12/30 22:12:28 alex Exp $
+# ngIRCd test suite
+# "Stress" body
send "user user . . :User\r"
expect {
timeout { exit 1 }
"Connection closed"
}
-
-# -eof-
+# ngIRCd test suite
+# WHO test
+
spawn telnet localhost 6789
expect {
timeout { exit 1 }
timeout { exit 1 }
"Connection closed"
}
-
-# -eof-
timeout { exit 1 }
"ERROR"
}
-
-# -eof-