Test suite: add more checks to whois-test.e

This commit is contained in:
Alexander Barton 2012-10-15 21:39:08 +02:00
parent 73229249d8
commit b1a5ade88f
1 changed files with 14 additions and 0 deletions

View File

@ -19,6 +19,10 @@ expect {
timeout { exit 1 }
"311 nick nick ~user localhost* \* :Real Name\r"
}
expect {
timeout { exit 1 }
"318 nick nick :"
}
send "whois *\r"
expect {
@ -44,6 +48,16 @@ expect {
"311 nick nick ~user localhost* \* :Real Name\r"
}
send "whois unknown\r"
expect {
timeout { exit 1 }
"401 nick unknown :"
}
expect {
timeout { exit 1 }
"318 nick unknown :"
}
send "quit\r"
expect {
timeout { exit 1 }