Commit 8abf475d authored by Andrey Vagin's avatar Andrey Vagin Committed by Pavel Emelyanov

zdtm: make zdtm.sh faster in two times

It requered 1m19s for executing all tests.
Now it requires 38s.
Signed-off-by: 's avatarAndrey Vagin <avagin@openvz.org>
Signed-off-by: 's avatarPavel Emelyanov <xemul@parallels.com>
parent 486da882
......@@ -180,7 +180,7 @@ run_test()
while :; do
killall -9 $tname &> /dev/null || break
echo Waiting...
sleep 1
sleep 0.1
done
echo Restore $PID
......@@ -195,7 +195,7 @@ run_test()
for i in `seq 50`; do
test -f $test.out && break
echo Waiting...
sleep 1
sleep 0.1
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