test_e2e.sh: remove unnecessary $ on arithmetic variables

Fixes SC2004. Part of #891.
This commit is contained in:
Raúl Benencia 2024-06-23 10:27:10 -07:00 committed by Tim Hockin
parent 791aecfc17
commit e7a8600806
1 changed files with 2 additions and 2 deletions

View File

@ -50,12 +50,12 @@ function wait_for_file_exists() {
local file=$1
local ticks=$(($2*10)) # 100ms per tick
while (( $ticks > 0 )); do
while (( ticks > 0 )); do
if [[ -f "$file" ]]; then
break
fi
sleep 0.1
ticks=$(($ticks-1))
ticks=$((ticks-1))
done
}