mirror of
https://github.com/osmarks/ngircd.git
synced 2025-01-31 17:49:11 +00:00
78 lines
900 B
Plaintext
78 lines
900 B
Plaintext
# $Id: stress-B.e,v 1.3 2005/12/30 22:12:28 alex Exp $
|
|
|
|
send "user user . . :User\r"
|
|
expect {
|
|
timeout { exit 1 }
|
|
" 376"
|
|
}
|
|
|
|
sleep 2
|
|
|
|
send "oper TestOp 123\r"
|
|
expect {
|
|
timeout { exit 1 }
|
|
"MODE test* :+o"
|
|
}
|
|
expect {
|
|
timeout { exit 1 }
|
|
" 381 test"
|
|
}
|
|
|
|
sleep 2
|
|
|
|
send "join #channel\r"
|
|
expect {
|
|
timeout { exit 1 }
|
|
" 353 * = #channel "
|
|
}
|
|
expect {
|
|
timeout { exit 1 }
|
|
" 366 * #channel :"
|
|
}
|
|
|
|
send "mode #channel\r"
|
|
expect {
|
|
timeout { exit 1 }
|
|
" 324 test* #channel"
|
|
}
|
|
|
|
send "join #channel2\r"
|
|
expect {
|
|
timeout { exit 1 }
|
|
" 353 * = #channel2 "
|
|
}
|
|
expect {
|
|
timeout { exit 1 }
|
|
" 366 * #channel2 :"
|
|
}
|
|
|
|
send "names\r"
|
|
expect {
|
|
timeout { exit 1 }
|
|
" 366 "
|
|
}
|
|
|
|
sleep 3
|
|
|
|
send "part #channel2\r"
|
|
expect {
|
|
timeout { exit 1 }
|
|
" PART #channel2 "
|
|
}
|
|
|
|
send "part #channel\r"
|
|
expect {
|
|
timeout { exit 1 }
|
|
" PART #channel "
|
|
}
|
|
|
|
sleep 1
|
|
|
|
send "quit\r"
|
|
expect {
|
|
timeout { exit 1 }
|
|
"Connection closed"
|
|
}
|
|
|
|
# -eof-
|