2
0
mirror of https://github.com/checkpoint-restore/criu synced 2025-08-30 05:48:05 +00:00

zdtm: Fix sleep time unwanted overflow

After sleep 0.9 there occurs sleep 0.10 which is not what
we want. Stop incrementing on 0.9

Signed-off-by: Pavel Emelyanov <xemul@parallels.com>
This commit is contained in:
Pavel Emelyanov 2012-10-26 14:58:34 +04:00
parent 3d3e312b38
commit df553964df

View File

@ -287,7 +287,7 @@ EOF
test -f $test.out && break
echo Waiting...
sleep 0.$sltime
[ $sltime -le 9 ] && sltime=$((sltime+1))
[ $sltime -lt 9 ] && sltime=$((sltime+1))
done
cat $test.out
cat $test.out | grep PASS || return 2