tests: fix infinite loop "waiting for 3 seconds..." in bash
Michael
This commit is contained in:
parent
79e994dd97
commit
0539be08b4
@ -144,11 +144,9 @@ wait_for_some_seconds() {
|
||||
|
||||
echo -n "waiting for $SECONDS seconds."
|
||||
|
||||
COUNT=0
|
||||
while test $COUNT -lt $SECONDS ; do
|
||||
for COUNT in $(seq 1 $SECONDS) ; do
|
||||
sleep 1
|
||||
echo -n "."
|
||||
COUNT=$(($COUNT + 1))
|
||||
done
|
||||
echo " done"
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user