tests: ceph-helpers.sh use expr instead of (( ))

Because (( timer++ )) is mistaken by set -e to not be a successful
command, use expr instead.

Signed-off-by: Loic Dachary <ldachary@redhat.com>
This commit is contained in:
Loic Dachary 2015-05-31 16:06:24 +02:00
parent d2172b0e89
commit 64944d4105

View File

@ -990,7 +990,7 @@ function wait_for_clean() {
num_active_clean=$cur_active_clean
fi
sleep 1
(( timer++ ))
timer=$(expr $timer + 1)
done
return 0
}