test_e2e.sh: remove unnecessary $ on arithmetic variables
Fixes SC2004. Part of #891.
This commit is contained in:
parent
791aecfc17
commit
e7a8600806
|
|
@ -50,12 +50,12 @@ function wait_for_file_exists() {
|
||||||
local file=$1
|
local file=$1
|
||||||
local ticks=$(($2*10)) # 100ms per tick
|
local ticks=$(($2*10)) # 100ms per tick
|
||||||
|
|
||||||
while (( $ticks > 0 )); do
|
while (( ticks > 0 )); do
|
||||||
if [[ -f "$file" ]]; then
|
if [[ -f "$file" ]]; then
|
||||||
break
|
break
|
||||||
fi
|
fi
|
||||||
sleep 0.1
|
sleep 0.1
|
||||||
ticks=$(($ticks-1))
|
ticks=$((ticks-1))
|
||||||
done
|
done
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue