diff options
| author | Alexander Barton <alex@barton.de> | 2002-09-09 22:56:07 +0000 |
|---|---|---|
| committer | Alexander Barton <alex@barton.de> | 2002-09-09 22:56:07 +0000 |
| commit | fc6f64742cf58203c5e14481498e592d21899f02 (patch) | |
| tree | 6025c0c52ffe4bb0f6ab63be8b91216bcd5b312f /src/testsuite/stress-B.e | |
| parent | d040fa2a7da818d84171fa1a5e3c5d2c2fca92a1 (diff) | |
| download | ngircd-fc6f64742cf58203c5e14481498e592d21899f02.tar.gz ngircd-fc6f64742cf58203c5e14481498e592d21899f02.zip | |
- EXTRA_DIST ergaenzt, clean-Target erweitert.
- neues Script "stress-server.sh" integriert.
Diffstat (limited to 'src/testsuite/stress-B.e')
| -rw-r--r-- | src/testsuite/stress-B.e | 69 |
1 files changed, 69 insertions, 0 deletions
diff --git a/src/testsuite/stress-B.e b/src/testsuite/stress-B.e new file mode 100644 index 00000000..117e1524 --- /dev/null +++ b/src/testsuite/stress-B.e @@ -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- |