-# main loop ...
-loop=0
-while [ ${loop} -lt $LOOPS ]; do
- no=0
- loop=`expr ${loop} + 1`
- while [ ${no} -lt $CLIENTS ]; do
- expect tests/${no}.e > logs/stress-${no}.log 2> /dev/null &
- no=`expr ${no} + 1`
- done
- if [ $LOOPS -gt 1 ]; then
- echo " loop $loop/$LOOPS: started $no clients."
- echo -n " loop $loop/$LOOPS: waiting for clients to complete: "
- else
- echo " started $no clients."
- echo -n " waiting for clients to complete: "
- fi
+no=0
+while [ ${no} -lt $CLIENTS ]; do
+ expect tests/${no}.e > logs/stress-${no}.log 2> /dev/null &
+
+ no=`expr ${no} + 1`
+ echo " started client $no/$CLIENTS."