mirror of
https://github.com/osmarks/ngircd.git
synced 2025-12-22 05:28:35 +00:00
Modified expect script to work with servers having IDENT support.
This commit is contained in:
@@ -1,4 +1,4 @@
|
|||||||
# $Id: stress-B.e,v 1.2 2005/08/12 21:38:52 alex Exp $
|
# $Id: stress-B.e,v 1.3 2005/12/30 22:12:28 alex Exp $
|
||||||
|
|
||||||
send "user user . . :User\r"
|
send "user user . . :User\r"
|
||||||
expect {
|
expect {
|
||||||
@@ -15,7 +15,7 @@ expect {
|
|||||||
}
|
}
|
||||||
expect {
|
expect {
|
||||||
timeout { exit 1 }
|
timeout { exit 1 }
|
||||||
"381 test*"
|
" 381 test"
|
||||||
}
|
}
|
||||||
|
|
||||||
sleep 2
|
sleep 2
|
||||||
@@ -23,11 +23,11 @@ sleep 2
|
|||||||
send "join #channel\r"
|
send "join #channel\r"
|
||||||
expect {
|
expect {
|
||||||
timeout { exit 1 }
|
timeout { exit 1 }
|
||||||
":test*!~user@* JOIN :#channel"
|
" 353 * = #channel "
|
||||||
}
|
}
|
||||||
expect {
|
expect {
|
||||||
timeout { exit 1 }
|
timeout { exit 1 }
|
||||||
"366"
|
" 366 * #channel :"
|
||||||
}
|
}
|
||||||
|
|
||||||
send "mode #channel\r"
|
send "mode #channel\r"
|
||||||
@@ -39,11 +39,11 @@ expect {
|
|||||||
send "join #channel2\r"
|
send "join #channel2\r"
|
||||||
expect {
|
expect {
|
||||||
timeout { exit 1 }
|
timeout { exit 1 }
|
||||||
":test*!~user@* JOIN :#channel2"
|
" 353 * = #channel2 "
|
||||||
}
|
}
|
||||||
expect {
|
expect {
|
||||||
timeout { exit 1 }
|
timeout { exit 1 }
|
||||||
"366"
|
" 366 * #channel2 :"
|
||||||
}
|
}
|
||||||
|
|
||||||
send "names\r"
|
send "names\r"
|
||||||
@@ -57,15 +57,17 @@ sleep 3
|
|||||||
send "part #channel2\r"
|
send "part #channel2\r"
|
||||||
expect {
|
expect {
|
||||||
timeout { exit 1 }
|
timeout { exit 1 }
|
||||||
":test*!~user@* PART #channel2"
|
" PART #channel2 "
|
||||||
}
|
}
|
||||||
|
|
||||||
send "part #channel\r"
|
send "part #channel\r"
|
||||||
expect {
|
expect {
|
||||||
timeout { exit 1 }
|
timeout { exit 1 }
|
||||||
":test*!~user@* PART #channel"
|
" PART #channel "
|
||||||
}
|
}
|
||||||
|
|
||||||
|
sleep 1
|
||||||
|
|
||||||
send "quit\r"
|
send "quit\r"
|
||||||
expect {
|
expect {
|
||||||
timeout { exit 1 }
|
timeout { exit 1 }
|
||||||
|
|||||||
Reference in New Issue
Block a user