repo: ngircd action: commit revision: path_from: revision_from: e7b09536bf90f9d59ef9d3057633bd72912ae245: path_to: revision_to:
commit e7b09536bf90f9d59ef9d3057633bd72912ae245 Author: Alexander BartonDate: Fri Sep 13 06:04:49 2002 +0000 - ps wird nun (hoffentlich portabler) jeweils mit "ax" aufgerufen. diff --git a/src/testsuite/start-server.sh b/src/testsuite/start-server.sh
--- 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
--- 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
-----END OF PAGE-----