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