Commit decf115f authored by Pavel Emelyanov's avatar Pavel Emelyanov

zdtm: Wait for test finish with increasing intervals

This makes tests that finish some time run smoother -- no tons of Waiting... messages
on the screen
Signed-off-by: 's avatarPavel Emelyanov <xemul@parallels.com>
parent 7ea40df4
......@@ -197,10 +197,12 @@ run_test()
echo Check results $PID
stop_test $tdir $tname
sltime=1
for i in `seq 50`; do
test -f $test.out && break
echo Waiting...
sleep 0.1
sleep 0.$sltime
[ $sltime -le 9 ] && ((sltime++))
done
cat $test.out
cat $test.out | grep PASS || return 2
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment