mirror of
https://github.com/checkpoint-restore/criu
synced 2025-08-31 14:25:49 +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
|
||||
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
|
||||
|
Reference in New Issue
Block a user