about summary refs log tree commit diff
path: root/src/testsuite/who-test.e
diff options
context:
space:
mode:
authorAli Shemiran <ashemira@ucsd.edu>2008-05-09 21:47:31 +0200
committerFlorian Westphal <fw@strlen.de>2008-05-09 21:47:31 +0200
commit12cd554af1709c44f35024d7d2fc368fb22f133d (patch)
tree5548f1efa59192570ed2a9c3dada5f63133c070e /src/testsuite/who-test.e
parent5cf5ba31eb0cae6c28d5754f6e62956f83582b06 (diff)
downloadngircd-12cd554af1709c44f35024d7d2fc368fb22f133d.tar.gz
ngircd-12cd554af1709c44f35024d7d2fc368fb22f133d.zip
Fix secret channel information leak
/who on a secret channel that the user is not a member of
now returns proper RPL_ENDOFWHO_MSG instead of nothing.
Diffstat (limited to 'src/testsuite/who-test.e')
-rw-r--r--src/testsuite/who-test.e10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/testsuite/who-test.e b/src/testsuite/who-test.e
index aafa7956..2e148447 100644
--- a/src/testsuite/who-test.e
+++ b/src/testsuite/who-test.e
@@ -152,6 +152,16 @@ expect {
 	timeout { exit 1 }
 	":ngircd.test.server 352 nick \* * localhost ngircd.test.server nick H\* :0 Real Name"
 }
+expect {
+	timeout { exit 1 }
+	"315"
+}
+
+send "who #SecretChannel\r"
+expect {
+	timeout { exit 1 }
+	"315"
+}
 
 send "quit\r"
 expect {