Permalink
Browse files

Add conf files to be used for automated testing.

  • Loading branch information...
1 parent 1be74e6 commit b89f5f48458a0c354b683ee081f9f0772be1352f @jillest jillest committed Aug 9, 2008
Showing with 284 additions and 0 deletions.
  1. +92 −0 testsuite/ircd.conf.1
  2. +92 −0 testsuite/ircd.conf.2
  3. +92 −0 testsuite/ircd.conf.3
  4. +8 −0 testsuite/startall.sh
View
@@ -0,0 +1,92 @@
+loadmodule "extensions/extb_account.so";
+loadmodule "extensions/extb_channel.so";
+loadmodule "extensions/extb_oper.so";
+loadmodule "extensions/extb_realname.so";
+loadmodule "extensions/extb_server.so";
+#loadmodule "extensions/ip_cloaking.so";
+loadmodule "extensions/sno_farconnect.so";
+loadmodule "extensions/sno_globalkline.so";
+#loadmodule "extensions/sno_globaloper.so";
+
+serverinfo {
+ name = "testsuite1.";
+ sid = "1TT";
+ description = "Testsuite";
+ network_name = "Testsuite";
+ network_desc = "Testing";
+ hub = yes;
+ vhost = "127.0.0.1";
+};
+
+admin {
+ name = "Here";
+ description = "Charybdis testsuite server";
+ email = "root@localhost";
+};
+
+class "users" {
+ ping_time = 5 minutes;
+ number_per_ip = 100;
+ max_number = 200;
+ sendq = 100kb;
+};
+
+class "server" {
+ ping_time = 5 minutes;
+ connectfreq = 5 minutes;
+ max_number = 3;
+ sendq = 5 megabytes;
+};
+
+listen { host = "127.0.0.1"; port = 7601; };
+
+auth { user = "*@127.0.0.0/8"; class = "users"; };
+
+operator "oper" {
+ user = "*@127.0.0.0/8";
+ password = "oper";
+ flags = global_kill, remote, kline, unkline, nick_changes,
+ die, rehash, admin, xline, operwall, oper_spy, ~encrypted;
+};
+
+connect "testsuite2." {
+ host = "127.0.0.1";
+ port = 7602;
+ send_password = "testsuite";
+ accept_password = "testsuite";
+ hub_mask = "*";
+ class = "server";
+ flags = topicburst;
+};
+
+connect "testsuite3." {
+ host = "127.0.0.1";
+ port = 7603;
+ send_password = "testsuite";
+ accept_password = "testsuite";
+ hub_mask = "*";
+ class = "server";
+ flags = topicburst;
+};
+
+shared {
+ oper = "*@*", "*";
+ flags = all;
+};
+
+alias "NickServ" {
+ target = "NickServ";
+};
+alias "ChanServ" {
+ target = "ChanServ";
+};
+alias "OperServ" {
+ target = "OperServ";
+};
+alias "MemoServ" {
+ target = "MemoServ";
+};
+
+service {
+ name = "services.";
+};
View
@@ -0,0 +1,92 @@
+loadmodule "extensions/extb_account.so";
+loadmodule "extensions/extb_channel.so";
+loadmodule "extensions/extb_oper.so";
+loadmodule "extensions/extb_realname.so";
+loadmodule "extensions/extb_server.so";
+#loadmodule "extensions/ip_cloaking.so";
+loadmodule "extensions/sno_farconnect.so";
+loadmodule "extensions/sno_globalkline.so";
+#loadmodule "extensions/sno_globaloper.so";
+
+serverinfo {
+ name = "testsuite2.";
+ sid = "2TT";
+ description = "Testsuite";
+ network_name = "Testsuite";
+ network_desc = "Testing";
+ hub = yes;
+ vhost = "127.0.0.1";
+};
+
+admin {
+ name = "Here";
+ description = "Charybdis testsuite server";
+ email = "root@localhost";
+};
+
+class "users" {
+ ping_time = 5 minutes;
+ number_per_ip = 100;
+ max_number = 200;
+ sendq = 100kb;
+};
+
+class "server" {
+ ping_time = 5 minutes;
+ connectfreq = 5 minutes;
+ max_number = 3;
+ sendq = 5 megabytes;
+};
+
+listen { host = "127.0.0.1"; port = 7602; };
+
+auth { user = "*@127.0.0.0/8"; class = "users"; };
+
+operator "oper" {
+ user = "*@127.0.0.0/8";
+ password = "oper";
+ flags = global_kill, remote, kline, unkline, nick_changes,
+ die, rehash, admin, xline, operwall, oper_spy, ~encrypted;
+};
+
+connect "testsuite1." {
+ host = "127.0.0.1";
+ port = 7601;
+ send_password = "testsuite";
+ accept_password = "testsuite";
+ hub_mask = "*";
+ class = "server";
+ flags = topicburst;
+};
+
+connect "testsuite3." {
+ host = "127.0.0.1";
+ port = 7603;
+ send_password = "testsuite";
+ accept_password = "testsuite";
+ hub_mask = "*";
+ class = "server";
+ flags = topicburst;
+};
+
+shared {
+ oper = "*@*", "*";
+ flags = all;
+};
+
+alias "NickServ" {
+ target = "NickServ";
+};
+alias "ChanServ" {
+ target = "ChanServ";
+};
+alias "OperServ" {
+ target = "OperServ";
+};
+alias "MemoServ" {
+ target = "MemoServ";
+};
+
+service {
+ name = "services.";
+};
View
@@ -0,0 +1,92 @@
+loadmodule "extensions/extb_account.so";
+loadmodule "extensions/extb_channel.so";
+loadmodule "extensions/extb_oper.so";
+loadmodule "extensions/extb_realname.so";
+loadmodule "extensions/extb_server.so";
+#loadmodule "extensions/ip_cloaking.so";
+loadmodule "extensions/sno_farconnect.so";
+loadmodule "extensions/sno_globalkline.so";
+#loadmodule "extensions/sno_globaloper.so";
+
+serverinfo {
+ name = "testsuite3.";
+ sid = "3TT";
+ description = "Testsuite";
+ network_name = "Testsuite";
+ network_desc = "Testing";
+ hub = yes;
+ vhost = "127.0.0.1";
+};
+
+admin {
+ name = "Here";
+ description = "Charybdis testsuite server";
+ email = "root@localhost";
+};
+
+class "users" {
+ ping_time = 5 minutes;
+ number_per_ip = 100;
+ max_number = 200;
+ sendq = 100kb;
+};
+
+class "server" {
+ ping_time = 5 minutes;
+ connectfreq = 5 minutes;
+ max_number = 3;
+ sendq = 5 megabytes;
+};
+
+listen { host = "127.0.0.1"; port = 7603; };
+
+auth { user = "*@127.0.0.0/8"; class = "users"; };
+
+operator "oper" {
+ user = "*@127.0.0.0/8";
+ password = "oper";
+ flags = global_kill, remote, kline, unkline, nick_changes,
+ die, rehash, admin, xline, operwall, oper_spy, ~encrypted;
+};
+
+connect "testsuite1." {
+ host = "127.0.0.1";
+ port = 7601;
+ send_password = "testsuite";
+ accept_password = "testsuite";
+ hub_mask = "*";
+ class = "server";
+ flags = topicburst;
+};
+
+connect "testsuite2." {
+ host = "127.0.0.1";
+ port = 7602;
+ send_password = "testsuite";
+ accept_password = "testsuite";
+ hub_mask = "*";
+ class = "server";
+ flags = topicburst;
+};
+
+shared {
+ oper = "*@*", "*";
+ flags = all;
+};
+
+alias "NickServ" {
+ target = "NickServ";
+};
+alias "ChanServ" {
+ target = "ChanServ";
+};
+alias "OperServ" {
+ target = "OperServ";
+};
+alias "MemoServ" {
+ target = "MemoServ";
+};
+
+service {
+ name = "services.";
+};
View
@@ -0,0 +1,8 @@
+#!/bin/sh
+testdir=`pwd`
+prefix=`sed -n -e 's/^#define IRCD_PREFIX "\(.*\)"/\1/p' "$testdir/../include/setup.h"`
+[ -d $prefix ] || { echo Unable to find installation prefix; exit 1; }
+
+$prefix/bin/ircd -configfile $testdir/ircd.conf.1 -pidfile $testdir/ircd.pid.1
+$prefix/bin/ircd -configfile $testdir/ircd.conf.2 -pidfile $testdir/ircd.pid.2
+$prefix/bin/ircd -configfile $testdir/ircd.conf.3 -pidfile $testdir/ircd.pid.3

0 comments on commit b89f5f4

Please sign in to comment.