]> arthur.barton.de Git - ngircd-alex.git/blob - src/testsuite/stress-B.e
Fixed spelling mistake :-)
[ngircd-alex.git] / src / testsuite / stress-B.e
1 # $Id: stress-B.e,v 1.1 2002/09/09 22:56:07 alex Exp $
2
3 send "user user . . :User\r"
4 expect {
5         timeout { exit 1 }
6         "376"
7 }
8
9 send "oper TestOp 123\r"
10 expect {
11         timeout { exit 1 }
12         "MODE test* :+o"
13 }
14 expect {
15         timeout { exit 1 }
16         "381 test*"
17 }
18
19 send "join #channel\r"
20 expect {
21         timeout { exit 1 }
22         ":test*!~user@* JOIN :#channel"
23 }
24 expect {
25         timeout { exit 1 }
26         "366"
27 }
28
29 send "mode #channel\r"
30 expect {
31         timeout { exit 1 }
32         "324 test* #channel"
33 }
34
35 send "join #channel2\r"
36 expect {
37         timeout { exit 1 }
38         ":test*!~user@* JOIN :#channel2"
39 }
40 expect {
41         timeout { exit 1 }
42         "366"
43 }
44
45 send "names\r"
46 expect {
47         timeout { exit 1 }
48         "366"
49 }
50
51 send "part #channel2\r"
52 expect {
53         timeout { exit 1 }
54         ":test*!~user@* PART #channel2"
55 }
56
57 send "part #channel\r"
58 expect {
59         timeout { exit 1 }
60         ":test*!~user@* PART #channel"
61 }
62
63 send "quit\r"
64 expect {
65         timeout { exit 1 }
66         "Connection closed"
67 }
68
69 # -eof-