Index of /~bbrazil/code/regressirc/src
Name Last modified Size Description
Parent Directory -
README 30-Jun-2005 17:54 1.2K
SCRIPT-FORMAT 30-Jun-2005 17:40 5.7K
hybserv/ 28-Jun-2005 03:21 -
regress.pl 30-Jun-2005 17:40 8.2K
regressirc.vim 30-Jun-2005 17:53 1.8K
$Id: README,v 1.1 2005/06/30 16:53:57 bbrazil Exp $
RegressIRC 0.0.1 Copyright Brian Brazil <bbrazil'Netosc.tcd.ie> 2005
This a perl script to perform automated tests against IRC programs. It sends
commands to an IRC server and waits for a response according to a script. It
supports multiple connections at once.
The script format is documented in SCRIPT-FORMAT.
Sample scripts (which are still in development) for Hybserv are in hybserv/ To
run do a 'regress.pl hybserv/header hybserv/nickserv'. If it leaves a bit of a
mess do a 'regress.pl hybserv/header hybserv/nickserv-cleanup'. These scritps
assume a quiet IRC server/services. You'll probably need to alter 'header' to
suit your system.
This code is still under development, script syntax and pretty much anything
else may change in future versions. Use in production is not advised.
I've thrown together a vim syntax file for the script format. To use install in
~/.vim/syntax/ There's no auto-detection rules so you have to put a
'vim:syntax=regressirc' in your script to use it.
Requirements:
- Perl
- Net::IRC perl module (libnet-irc-perl on Debian)
This code is licenced under the terms of Version 2 of the GNU General Public
Licence.