Blob


1 # $Id: stress-B.e,v 1.1 2002/09/09 22:56:07 alex Exp $
3 send "user user . . :User\r"
4 expect {
5 timeout { exit 1 }
6 "376"
7 }
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 }
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 }
29 send "mode #channel\r"
30 expect {
31 timeout { exit 1 }
32 "324 test* #channel"
33 }
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 }
45 send "names\r"
46 expect {
47 timeout { exit 1 }
48 "366"
49 }
51 send "part #channel2\r"
52 expect {
53 timeout { exit 1 }
54 ":test*!~user@* PART #channel2"
55 }
57 send "part #channel\r"
58 expect {
59 timeout { exit 1 }
60 ":test*!~user@* PART #channel"
61 }
63 send "quit\r"
64 expect {
65 timeout { exit 1 }
66 "Connection closed"
67 }
69 # -eof-