1
0
mirror of https://github.com/osmarks/ngircd.git synced 2025-12-03 05:08:06 +00:00

- Test-Suite fuer den ngIRCd begonnen.

This commit is contained in:
Alexander Barton
2002-09-09 10:16:24 +00:00
parent dd4535b7f1
commit c4d78a3469
8 changed files with 153 additions and 0 deletions

15
src/testsuite/start-server.sh Executable file
View File

@@ -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-