mirror of
https://github.com/osmarks/ngircd.git
synced 2025-08-06 13:53:57 +00:00
Test suite: add some "remote checks" to whois-test.e
This commit is contained in:
parent
757f3497bc
commit
47b99c69cc
@ -58,6 +58,18 @@ expect {
|
|||||||
"318 nick unknown :"
|
"318 nick unknown :"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
send "whois ngircd.test.server2 nick\r"
|
||||||
|
expect {
|
||||||
|
timeout { exit 1 }
|
||||||
|
":ngircd.test.server2 311 nick nick ~user localhost* \* :Real Name\r"
|
||||||
|
}
|
||||||
|
|
||||||
|
send "whois nosuchserver unknown\r"
|
||||||
|
expect {
|
||||||
|
timeout { exit 1 }
|
||||||
|
"402 nick nosuchserver :"
|
||||||
|
}
|
||||||
|
|
||||||
send "quit\r"
|
send "quit\r"
|
||||||
expect {
|
expect {
|
||||||
timeout { exit 1 }
|
timeout { exit 1 }
|
||||||
|
Loading…
x
Reference in New Issue
Block a user