summary refs log tree commit diff
path: root/src/testsuite
AgeCommit message (Collapse)Author
2009-03-07testsuite: add more predefined channels to server configFlorian Westphal
make sure it creates & and +, and accepts channel names without a special character (ngircd should treat 'Name = chan' as 'Name = #chan').
2008-12-03Testsuite start-server.sh: return correct exit code.Alexander Barton
src/testsuite/start-server.sh returns 0 when no errors occurred and the daemon has been startet and 1 on errors. Always returning 0 is wrong ...
2008-12-03Make testsuite (getpid.sh) work on OpenSolaris (i386/pc/solaris2.11).Alexander Barton
2008-11-19New configuration option "NoIdent" to disable IDENT lookupsAlexander Barton
The new configuration option "NoIdent" in ngircd.conf can be used to disable IDENT lookups even when the ngIRCd daemon is compiled with IDENT lookups enabled.
2008-11-13Test suite: start two servers and test server-server linksAlexander Barton
I changed the test suite to start two test servers (on port 6789 and 6790), so server-server links can be tested as well for which I included the new test script "server-link-test.e". In addition the documentation of the test suite (src/testsuite/README) has been updated and is more complete now.
2008-07-27GIT: added src/testsuite/message-test to ignore list.Alexander Barton
2008-07-27message-test: Disable two tests using "localhost" as host nameAlexander Barton
Some operating systems, for example OpenBSD and OpenSolaris, use "localhost.<domain>" instead of just "localhost" for 127.0.0.1, so the "message-test" using "localhost" failed on such systems. Don't have an idee how to make this work on all platforms ... :-/ So I simply disabled the two affected tests to make the testsuite run on OpenBSD and OpenSolaris again.
2008-07-27Added "message-test" to Makefile, so it is distrubuted and run.Alexander Barton
2008-07-27Cleaned up PRIVMSG and NOTICE patches.Brandon Beresini
2008-07-27Cumulative Message PatchBrandon Beresini
2008-07-21Fixes to misc-test: accept "localhost.<domain>" as well as "localhost"Alexander Barton
Some operating systems, for example OpenBSD, use "localhost.<domain>" instead of "localhost", so the "who-test" expecting "localhost" failed on such systems. (Please see 149859c5fecc..., which fixes this for the who-test already)
2008-05-15Add tests for MOTD, VERSION, TIME, USERHOSTBrandon Beresini
The misc-test.e file is also somewhat reorganized and commented here. Patch from Brandon Beresini, Bryan Caldwell and Dana Dahlstrom.
2008-05-11GIT: ignore symbolic links to tests in testsuite directoryAlexander Barton
Added symbolic links to new tests (invite-test, join-test, and kick-test) to .gitignore file.
2008-05-11Fixes to who-test: accept "localhost.<domain>" as well as "localhost"Alexander Barton
Some operating systems, for example OpenBSD, use "localhost.<domain>" instead of "localhost", so the "who-test" expecting "localhost" failed on such systems.
2008-05-09Removed space after # so that Cygwin's version of expect recognizes comments.Brandon Beresini
2008-05-09Fix secret channel information leakAli Shemiran
/who on a secret channel that the user is not a member of now returns proper RPL_ENDOFWHO_MSG instead of nothing.
2008-05-05Add invite-test.e to test suite.Florian Westphal
2008-05-05Tests for the INVITE command.Dana Dahlstrom
2008-05-05tests for JOIN and various repliesDana Dahlstrom
Brandon Beresini sent me a patch yesterday adding tests for JOIN under various circumstances, which I believe he worked on with Bryan Caldwell and Ali Shemiran. I made a few modifications; the result is below.
2008-05-05Allow KICK to handle comma-delimited lists (of channels, nicks).Bryan Caldwell
includes test cases. [fw@strlen.de: - move code around to avoid duplication - use const where possible - integrate test case]
2008-05-05Fixes to who-test: accept any ident, escape some '*' flags.Dana Dahlstrom
This prevents who-test.e from failing when ngircd is performing ident lookups and an ident server is running.
2008-05-01Prevent GIT to complain about opless-channel-test linkAlexander Barton
2008-05-01Add support for modeless channelsAli Shemiran
Add support for modeless channels (+channels). [fw@strlen.de: - integrate test cases - don't support +channels when compiled with --strict-rfc - do not set +o mode for channel creator - force +nt mode when channel is created ]
2008-04-29Testsuite: remove erroneous ConfUID setting in config file.Florian Westphal
The config file for ngircds test suite contained obsolete ConfUID/ConfGID settings, causing ngircd to needlesly complain when started as non-root (which is hopefully the _normal_ case...)
2008-04-09Moved .cvsignore files to .gitignoreAlexander Barton
Since we are using GIT starting from now, I converted all the .cvsignore files to .gitignore files.
2008-02-26Removed the SQUIT test for now, actually we don't support it yet.Alexander Barton
2008-02-26Implemented IRC commands INFO, USERS (dummy), and SUMMON (dummy).Alexander Barton
2008-02-26Include flags in RPL_WHOREPLY messages.Dana Dahlstrom
RPL_WHOREPLY messages generated by IRC_WHO don't include flags (*,@,+) that should appear according to this description: http://www.mishscript.de/reference/rawhelp3.htm#raw352 Other IRC servers do include the flags. Modify who-test.e to expose missing flags, modify ngircd-test.conf to accommodate who-test.e, and fix irc-info.c to correct these problems.
2008-02-26Don't send trailing space in MODE messagesDana Dahlstrom
Under some circumstances ngIRCd currently issues a channel MODE message with a trailing space after the last parameter, which isn't permitted by the grammar in RFC 2812 section 2.3.1: http://tools.ietf.org/html/rfc2812#section-2.3.1 The following patch modifies mode-test.e to expose this, and modifies irc-mode.c to correct it.
2008-02-26Make IRC_WHO also search username/servername/hostname.Florian Westphal
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.
2008-02-26Implement RFC 2812 handling of "0" argument to JOINDana Dahlstrom
The students in my software-engineering class are writing IRC clients in Java, and I'm running ngIRCd as a sandbox for them to play in. We noticed ngIRCd doesn't obey the "JOIN 0" command specified in RFC 2812: JOIN 0 ; Leave all currently joined channels. http://tools.ietf.org/html/rfc2812#section-3.2.1 I believe the following patch addresses this. Cheers! [fw@strlen.de: put it into a seperate function]
2007-11-18Adjust test suite to be usable on HP/UX 11.11 :-)Alexander Barton
2006-12-28Added .cvsignore files to hide generated files from CVS.Alexander Barton
2006-08-05Added support for Solaris 11.Alexander Barton
2005-12-30Added test if the stress-test expect script itself completes without errors.Alexander Barton
2005-12-30Modified expect script to work with servers having IDENT support.Alexander Barton
2005-08-12Made test script run a longer time.Alexander Barton
2005-08-12Set timeout.Alexander Barton
2005-08-12Detect source directory correctly.Alexander Barton
2004-09-08Added functions.inc to EXTRA_DIST files.Alexander Barton
2004-09-06Fixed echo without newline for systems not understanding "echo -n"; addedAlexander Barton
new file "functions.inc" for functions usable by all test scripts.
2004-09-06Reverted extension of the "make all" target in the test-suite.Alexander Barton
2004-09-06Fixed wrong exit code check of "kill -0".Alexander Barton
2004-09-04Enhanced messages and exit codes.Alexander Barton
2004-09-04Added all test scripts to target "all".Alexander Barton
2004-09-04Changed text "test scripts" to "processes": some versions of expect(1)Alexander Barton
fork child processes ...
2004-09-04Removed counting of test processes; don't check running processes by default.Alexander Barton
2004-09-04Added detection of flags for ps(1).Alexander Barton
2004-09-04Added README, test-loop.sh and wait-tests.sh to EXTRA_DIST files.Alexander Barton
2004-09-04Made stress-server.sh to use wait-tests.sh to limit number of parallel tests.Alexander Barton