]> arthur.barton.de Git - ngircd-alex.git/commitdiff
Added support for looping and other enhancements.
authorAlexander Barton <alex@barton.de>
Sat, 4 Sep 2004 14:23:09 +0000 (14:23 +0000)
committerAlexander Barton <alex@barton.de>
Sat, 4 Sep 2004 14:23:09 +0000 (14:23 +0000)
src/testsuite/stress-server.sh

index 6a91d2ceecce22043abec9fabe285b00bc5d7b8f..4f94809a6e84fb5952de91474cccbf2ffb0ea9a6 100755 (executable)
@@ -9,7 +9,7 @@
 # (at your option) any later version.
 # Please read the file COPYING, README and AUTHORS for more information.
 #
-# $Id: stress-server.sh,v 1.9 2004/09/04 13:58:31 alex Exp $
+# $Id: stress-server.sh,v 1.10 2004/09/04 14:23:09 alex Exp $
 #
 
 # detect source directory
@@ -60,10 +60,10 @@ while [ ${loop} -lt $LOOPS ]; do
   done
   if [ $LOOPS -gt 1 ]; then
     echo "      loop $loop/$LOOPS: started $no clients."
-    echo -n "      loop $loop/$LOOPS: waiting for clients to complete: "
+    echo -n "      loop $loop/$LOOPS: waiting for clients to complete: ."
   else
     echo "      started $no clients."
-    echo -n "      waiting for clients to complete: "
+    echo -n "      waiting for clients to complete: ."
   fi
 
   res=3
@@ -74,7 +74,7 @@ while [ ${loop} -lt $LOOPS ]; do
     [ $res -ne 99 ] && break
 
     # there are still clients connected. Wait ...
-    sleep 1
+    sleep 3
     echo -n "."
   done