about summary refs log tree commit diff
path: root/src/testsuite/Makefile.am
diff options
context:
space:
mode:
authorFlorian Westphal <fw@strlen.de>2008-02-11 11:06:31 +0000
committerFlorian Westphal <fw@strlen.de>2008-02-26 23:49:33 +0100
commit4d152b771e17c23823af995f86912d1550f4c244 (patch)
treea96e59afae7c91b64a9422b53473fc6ca79f8a77 /src/testsuite/Makefile.am
parentc634303765c20083c8f554f4d4084526d3e58fef (diff)
downloadngircd-4d152b771e17c23823af995f86912d1550f4c244.tar.gz
ngircd-4d152b771e17c23823af995f86912d1550f4c244.zip
Make IRC_WHO also search username/servername/hostname.
Dana Dahlstrom reported that IRC_WHO did not follow
RFC 2812, Section 3.6.1. Specifically:

- IRC_WHO did not send "G" flag instead if "H" if client was away
- did not search username/servername/hostname etc. if argument
  was not a channel.

Fix all of the above and tidy things up a bit.
Also add IRC_WHO test script contributed by Dana.
Diffstat (limited to 'src/testsuite/Makefile.am')
-rw-r--r--src/testsuite/Makefile.am8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/testsuite/Makefile.am b/src/testsuite/Makefile.am
index d02e4e19..58a617ee 100644
--- a/src/testsuite/Makefile.am
+++ b/src/testsuite/Makefile.am
@@ -9,7 +9,7 @@
 # Naehere Informationen entnehmen Sie bitter der Datei COPYING. Eine Liste
 # der an ngIRCd beteiligten Autoren finden Sie in der Datei AUTHORS.
 #
-# $Id: Makefile.am,v 1.15 2007/11/18 15:07:16 alex Exp $
+# $Id: Makefile.am,v 1.16 2008/02/11 11:06:32 fw Exp $
 #
 
 AUTOMAKE_OPTIONS = ../portab/ansi2knr
@@ -21,6 +21,7 @@ EXTRA_DIST = \
 	start-server.sh stop-server.sh tests.sh stress-server.sh \
 	test-loop.sh wait-tests.sh \
 	connect-test.e channel-test.e mode-test.e \
+	who-away-test.e
 	stress-A.e stress-B.e check-idle.e \
 	ngircd-test.conf
 
@@ -47,6 +48,10 @@ channel-test: tests.sh
 	rm -f channel-test
 	ln -s $(srcdir)/tests.sh channel-test
 
+who-away-test: tests.sh
+	rm -f who-away-test
+	ln -s $(srcdir)/tests.sh who-away-test
+
 mode-test: tests.sh
 	rm -f mode-test
 	ln -s $(srcdir)/tests.sh mode-test
@@ -54,6 +59,7 @@ mode-test: tests.sh
 TESTS = start-server.sh \
 	connect-test \
 	channel-test \
+	who-away-test \
 	mode-test \
 	stress-server.sh \
 	stop-server.sh