]> arthur.barton.de Git - ngircd-alex.git/commitdiff
- ps wird nun (hoffentlich portabler) jeweils mit "ax" aufgerufen.
authorAlexander Barton <alex@barton.de>
Fri, 13 Sep 2002 06:04:49 +0000 (06:04 +0000)
committerAlexander Barton <alex@barton.de>
Fri, 13 Sep 2002 06:04:49 +0000 (06:04 +0000)
src/testsuite/start-server.sh
src/testsuite/stop-server.sh

index dae47970fc679dd4c929057b2be6c927710d8bc8..9413ba569060ecd106854ff9bc5d7c38bda6e284 100755 (executable)
@@ -1,6 +1,6 @@
 #!/bin/sh
 # ngIRCd Test Suite
 #!/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 ..."
 
 
 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
 
 ./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
 
 pid=`cat procs.tmp | grep ngircd-TEST | awk "{ print \\\$1 }"`
 kill -0 $pid > /dev/null 2>&1
 
index 7cacc83e4e456e910726a2ab74faf44da4562ec0..b649c9c9d0ec5ff1d2f07af17b3aaec1d93b20c1 100755 (executable)
@@ -1,10 +1,10 @@
 #!/bin/sh
 # ngIRCd Test Suite
 #!/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 ..."
 
 
 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
 
 pid=`cat procs.tmp | grep ngircd-TEST | awk "{ print \\\$1 }"`
 kill $pid > /dev/null 2>&1