commit e7b09536bf90f9d59ef9d3057633bd72912ae245 from: Alexander Barton date: Fri Sep 13 06:04:49 2002 UTC - ps wird nun (hoffentlich portabler) jeweils mit "ax" aufgerufen. commit - a0b06ecbd4fef6998a67d3ac4ebd42483c4bd8d8 commit + e7b09536bf90f9d59ef9d3057633bd72912ae245 blob - dae47970fc679dd4c929057b2be6c927710d8bc8 blob + 9413ba569060ecd106854ff9bc5d7c38bda6e284 --- src/testsuite/start-server.sh +++ 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.mot ./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 blob - 7cacc83e4e456e910726a2ab74faf44da4562ec0 blob + b649c9c9d0ec5ff1d2f07af17b3aaec1d93b20c1 --- src/testsuite/stop-server.sh +++ 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