X-Git-Url: https://arthur.barton.de/cgi-bin/gitweb.cgi?p=ngircd-alex.git;a=blobdiff_plain;f=src%2Ftestsuite%2Fstart-server.sh;fp=src%2Ftestsuite%2Fstart-server.sh;h=11b8121b4fa7e0c5ee23e23f69bd44136964063b;hp=0000000000000000000000000000000000000000;hb=c4d78a346942afdaf6bd19f8cad88d6678eaa608;hpb=dd4535b7f14bef69039efde600f5d2f4540351cd diff --git a/src/testsuite/start-server.sh b/src/testsuite/start-server.sh new file mode 100755 index 00000000..11b8121b --- /dev/null +++ b/src/testsuite/start-server.sh @@ -0,0 +1,15 @@ +#!/bin/sh +# ngIRCd Test Suite +# $Id: start-server.sh,v 1.1 2002/09/09 10:16:24 alex Exp $ + +echo " starting server ..." + +echo "This is an ngIRCd Test Server" > ngircd-test.motd + +../ngircd/ngircd -np -f ngircd-test.conf > ngircd-test.log 2>&1 & +sleep 1 + +pid=`ps a | grep ngircd-test | head -n 1 | cut -d ' ' -f 1` +kill -0 $pid > /dev/null 2>&1 + +# -eof-