]>
jfr.im git - irc/quakenet/snircd.git/blob - ircd/test/run-tests.sh
7 cp ${srcdir}/ircd
-t1.conf ircd
-t1.conf
8 cp ${srcdir}/ircd
-t2.conf ircd
-t2.conf
9 echo "Testing one-shot ircd invocations."
11 ${ircdir}/ircd
-x 6 -k -d .
-f ircd
-t1.conf
-c user@
127.0.0.1
13 ${ircdir}/ircd
-d .
-f ircd
-t1.conf
14 ${ircdir}/ircd
-d .
-f ircd
-t2.conf
16 # stats-1 is out of alphabetical order to avoid triggering IPcheck.
17 for script in channel
-1 client
-1 commands
-1 feature
-1 gline
-1 stats
-1 jupe
-1 kill-block-1 ; do
18 echo "Running test $script."
19 ${srcdir}/test-driver.pl
-D ${srcdir}/${script}.cmd
2> ${script}.log
21 echo "Sending signals to server."
22 cp ${srcdir}/ircd
-t1-2.conf ircd
-t1.conf
23 kill -HUP `cat ircd-t1.pid`
25 kill -INT `cat ircd-t1.pid`
26 # A long sleep is necessary to make the server flush its IPcheck entries.
28 kill -TERM `cat ircd-t1.pid` `cat ircd-t2.pid`
30 ${ircdir}/ircd
-?
|| true