From: Alexander Barton Date: Fri, 13 Sep 2002 06:04:49 +0000 (+0000) Subject: - ps wird nun (hoffentlich portabler) jeweils mit "ax" aufgerufen. X-Git-Tag: rel-0-5-0-pre1~19 X-Git-Url: https://arthur.barton.de/cgi-bin/gitweb.cgi?p=ngircd-alex.git;a=commitdiff_plain;h=e7b09536bf90f9d59ef9d3057633bd72912ae245 - ps wird nun (hoffentlich portabler) jeweils mit "ax" aufgerufen. --- diff --git a/src/testsuite/start-server.sh b/src/testsuite/start-server.sh index dae47970..9413ba56 100755 --- a/src/testsuite/start-server.sh +++ b/src/testsuite/start-server.sh @@ -1,6 +1,6 @@ #!/bin/sh # ngIRCd Test Suite -# $Id: start-server.sh,v 1.3 2002/09/12 02:27:30 alex Exp $ +# $Id: start-server.sh,v 1.4 2002/09/13 06:04:49 alex Exp $ echo " starting server ..." @@ -11,7 +11,7 @@ echo "This is an ngIRCd Test Server" > ngircd-test.motd ./ngircd-TEST -np -f ${srcdir}/ngircd-test.conf > ngircd-test.log 2>&1 & sleep 1 -ps a > procs.tmp +ps ax > procs.tmp pid=`cat procs.tmp | grep ngircd-TEST | awk "{ print \\\$1 }"` kill -0 $pid > /dev/null 2>&1 diff --git a/src/testsuite/stop-server.sh b/src/testsuite/stop-server.sh index 7cacc83e..b649c9c9 100755 --- a/src/testsuite/stop-server.sh +++ b/src/testsuite/stop-server.sh @@ -1,10 +1,10 @@ #!/bin/sh # ngIRCd Test Suite -# $Id: stop-server.sh,v 1.2 2002/09/12 02:27:47 alex Exp $ +# $Id: stop-server.sh,v 1.3 2002/09/13 06:04:49 alex Exp $ echo " stopping server ..." -ps a > procs.tmp +ps ax > procs.tmp pid=`cat procs.tmp | grep ngircd-TEST | awk "{ print \\\$1 }"` kill $pid > /dev/null 2>&1