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."
|
echo -n "waiting for $SECONDS seconds."
|
||||||
|
|
||||||
COUNT=0
|
for COUNT in $(seq 1 $SECONDS) ; do
|
||||||
while test $COUNT -lt $SECONDS ; do
|
|
||||||
sleep 1
|
sleep 1
|
||||||
echo -n "."
|
echo -n "."
|
||||||
COUNT=$(($COUNT + 1))
|
|
||||||
done
|
done
|
||||||
echo " done"
|
echo " done"
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user