mirror of
https://github.com/checkpoint-restore/criu
synced 2025-09-03 15:55:53 +00:00
zdtm: make zdtm.sh faster in two times
It requered 1m19s for executing all tests. Now it requires 38s. Signed-off-by: Andrey Vagin <avagin@openvz.org> Signed-off-by: Pavel Emelyanov <xemul@parallels.com>
This commit is contained in:
committed by
Pavel Emelyanov
parent
486da8827e
commit
8abf475d59
@@ -180,7 +180,7 @@ run_test()
|
|||||||
while :; do
|
while :; do
|
||||||
killall -9 $tname &> /dev/null || break
|
killall -9 $tname &> /dev/null || break
|
||||||
echo Waiting...
|
echo Waiting...
|
||||||
sleep 1
|
sleep 0.1
|
||||||
done
|
done
|
||||||
|
|
||||||
echo Restore $PID
|
echo Restore $PID
|
||||||
@@ -195,7 +195,7 @@ run_test()
|
|||||||
for i in `seq 50`; do
|
for i in `seq 50`; do
|
||||||
test -f $test.out && break
|
test -f $test.out && break
|
||||||
echo Waiting...
|
echo Waiting...
|
||||||
sleep 1
|
sleep 0.1
|
||||||
done
|
done
|
||||||
cat $test.out
|
cat $test.out
|
||||||
cat $test.out | grep PASS || return 2
|
cat $test.out | grep PASS || return 2
|
||||||
|
Reference in New Issue
Block a user