Module: ngircd.git Branch: master Commit: 47b99c69cc411ec35078917ab6d9d7278ed2a1da URL: http://ngircd.barton.de/cgi-bin/gitweb.cgi?p=ngircd.git&a=commit;h=47b99...
Author: Alexander Barton alex@barton.de Date: Sun Nov 4 19:50:02 2012 +0100
Test suite: add some "remote checks" to whois-test.e
---
src/testsuite/whois-test.e | 12 ++++++++++++ 1 file changed, 12 insertions(+)
diff --git a/src/testsuite/whois-test.e b/src/testsuite/whois-test.e index 3c393e8..fdb21bc 100644 --- a/src/testsuite/whois-test.e +++ b/src/testsuite/whois-test.e @@ -58,6 +58,18 @@ expect { "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" expect { timeout { exit 1 }